Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
c57a5f31
Kaydet (Commit)
c57a5f31
authored
Nis 28, 2015
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
delegate RenderContext, invalidate - ilstbox
Change-Id: I9d47e828a784bf6b120b4b1e9df332ea85690a19
üst
cdb1fa88
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
ilstbox.hxx
vcl/inc/ilstbox.hxx
+3
-3
ilstbox.cxx
vcl/source/control/ilstbox.cxx
+4
-5
No files found.
vcl/inc/ilstbox.hxx
Dosyayı görüntüle @
c57a5f31
...
@@ -244,14 +244,14 @@ protected:
...
@@ -244,14 +244,14 @@ protected:
virtual
void
MouseButtonDown
(
const
MouseEvent
&
rMEvt
)
SAL_OVERRIDE
;
virtual
void
MouseButtonDown
(
const
MouseEvent
&
rMEvt
)
SAL_OVERRIDE
;
virtual
void
MouseMove
(
const
MouseEvent
&
rMEvt
)
SAL_OVERRIDE
;
virtual
void
MouseMove
(
const
MouseEvent
&
rMEvt
)
SAL_OVERRIDE
;
virtual
void
Tracking
(
const
TrackingEvent
&
rTEvt
)
SAL_OVERRIDE
;
virtual
void
Tracking
(
const
TrackingEvent
&
rTEvt
)
SAL_OVERRIDE
;
virtual
void
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
)
SAL_OVERRIDE
;
virtual
void
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
)
SAL_OVERRIDE
;
virtual
void
Resize
()
SAL_OVERRIDE
;
virtual
void
Resize
()
SAL_OVERRIDE
;
virtual
void
GetFocus
()
SAL_OVERRIDE
;
virtual
void
GetFocus
()
SAL_OVERRIDE
;
virtual
void
LoseFocus
()
SAL_OVERRIDE
;
virtual
void
LoseFocus
()
SAL_OVERRIDE
;
bool
SelectEntries
(
sal_Int32
nSelect
,
LB_EVENT_TYPE
eLET
,
bool
bShift
=
false
,
bool
bCtrl
=
false
,
bool
bSelectPosChange
=
false
);
bool
SelectEntries
(
sal_Int32
nSelect
,
LB_EVENT_TYPE
eLET
,
bool
bShift
=
false
,
bool
bCtrl
=
false
,
bool
bSelectPosChange
=
false
);
void
ImplPaint
(
sal_Int32
nPos
,
bool
bErase
=
false
,
bool
bLayout
=
false
);
void
ImplPaint
(
sal_Int32
nPos
,
bool
bErase
=
false
,
bool
bLayout
=
false
);
void
ImplDoPaint
(
const
Rectangle
&
rRect
,
bool
bLayout
=
false
);
void
ImplDoPaint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
,
bool
bLayout
=
false
);
void
ImplCalcMetrics
();
void
ImplCalcMetrics
();
void
ImplUpdateEntryMetrics
(
ImplEntryType
&
rEntry
);
void
ImplUpdateEntryMetrics
(
ImplEntryType
&
rEntry
);
void
ImplCallSelect
();
void
ImplCallSelect
();
...
...
vcl/source/control/ilstbox.cxx
Dosyayı görüntüle @
c57a5f31
...
@@ -1880,11 +1880,10 @@ void ImplListBoxWindow::DrawEntry( sal_Int32 nPos, bool bDrawImage, bool bDrawTe
...
@@ -1880,11 +1880,10 @@ void ImplListBoxWindow::DrawEntry( sal_Int32 nPos, bool bDrawImage, bool bDrawTe
void
ImplListBoxWindow
::
FillLayoutData
()
const
void
ImplListBoxWindow
::
FillLayoutData
()
const
{
{
mpControlData
->
mpLayoutData
=
new
vcl
::
ControlLayoutData
();
mpControlData
->
mpLayoutData
=
new
vcl
::
ControlLayoutData
();
const_cast
<
ImplListBoxWindow
*>
(
this
)
->
const_cast
<
ImplListBoxWindow
*>
(
this
)
->
Invalidate
(
Rectangle
(
Point
(
0
,
0
),
GetOutputSize
()));
ImplDoPaint
(
Rectangle
(
Point
(
0
,
0
),
GetOutputSize
()
),
true
);
}
}
void
ImplListBoxWindow
::
ImplDoPaint
(
const
Rectangle
&
rRect
,
bool
bLayout
)
void
ImplListBoxWindow
::
ImplDoPaint
(
vcl
::
RenderContext
&
/*rRenderContext*/
,
const
Rectangle
&
rRect
,
bool
bLayout
)
{
{
sal_Int32
nCount
=
mpEntryList
->
GetEntryCount
();
sal_Int32
nCount
=
mpEntryList
->
GetEntryCount
();
...
@@ -1914,9 +1913,9 @@ void ImplListBoxWindow::ImplDoPaint( const Rectangle& rRect, bool bLayout )
...
@@ -1914,9 +1913,9 @@ void ImplListBoxWindow::ImplDoPaint( const Rectangle& rRect, bool bLayout )
ImplShowFocusRect
();
ImplShowFocusRect
();
}
}
void
ImplListBoxWindow
::
Paint
(
vcl
::
RenderContext
&
/*rRenderContext*/
,
const
Rectangle
&
rRect
)
void
ImplListBoxWindow
::
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
)
{
{
ImplDoPaint
(
rRect
);
ImplDoPaint
(
rRenderContext
,
rRect
);
}
}
sal_uInt16
ImplListBoxWindow
::
GetDisplayLineCount
()
const
sal_uInt16
ImplListBoxWindow
::
GetDisplayLineCount
()
const
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment