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
d0ab8e0c
Kaydet (Commit)
d0ab8e0c
authored
Nis 28, 2015
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl edit: Delegate RenderContext to sub-methods, use Invalidate
Change-Id: Ifb1a54e852bc9011389cac758e6f0dfd6c84d464
üst
53ef550a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
edit.hxx
include/vcl/edit.hxx
+1
-1
edit.cxx
vcl/source/control/edit.cxx
+6
-6
No files found.
include/vcl/edit.hxx
Dosyayı görüntüle @
d0ab8e0c
...
...
@@ -105,7 +105,7 @@ private:
SAL_DLLPRIVATE
void
ImplInitEditData
();
SAL_DLLPRIVATE
void
ImplModified
();
SAL_DLLPRIVATE
OUString
ImplGetText
()
const
;
SAL_DLLPRIVATE
void
ImplRepaint
(
bool
bLayout
=
false
);
SAL_DLLPRIVATE
void
ImplRepaint
(
vcl
::
RenderContext
&
rRenderContext
,
bool
bLayout
=
false
);
SAL_DLLPRIVATE
void
ImplInvalidateOrRepaint
();
SAL_DLLPRIVATE
void
ImplDelete
(
const
Selection
&
rSelection
,
sal_uInt8
nDirection
,
sal_uInt8
nMode
);
SAL_DLLPRIVATE
void
ImplSetText
(
const
OUString
&
rStr
,
const
Selection
*
pNewSelection
=
0
);
...
...
vcl/source/control/edit.cxx
Dosyayı görüntüle @
d0ab8e0c
...
...
@@ -475,7 +475,7 @@ void Edit::ImplInvalidateOrRepaint()
Update
();
}
else
I
mplRepaint
();
I
nvalidate
();
}
long
Edit
::
ImplGetTextYPosition
()
const
...
...
@@ -487,7 +487,7 @@ long Edit::ImplGetTextYPosition() const
return
(
GetOutputSizePixel
().
Height
()
-
GetTextHeight
()
)
/
2
;
}
void
Edit
::
ImplRepaint
(
bool
bLayout
)
void
Edit
::
ImplRepaint
(
vcl
::
RenderContext
&
/*rRenderContext*/
,
bool
bLayout
)
{
if
(
!
IsReallyVisible
()
)
return
;
...
...
@@ -1758,13 +1758,13 @@ void Edit::KeyInput( const KeyEvent& rKEvt )
void
Edit
::
FillLayoutData
()
const
{
mpControlData
->
mpLayoutData
=
new
vcl
::
ControlLayoutData
();
const_cast
<
Edit
*>
(
this
)
->
I
mplRepaint
(
true
);
const_cast
<
Edit
*>
(
this
)
->
I
nvalidate
(
);
}
void
Edit
::
Paint
(
vcl
::
RenderContext
&
/*rRenderContext*/
,
const
Rectangle
&
)
void
Edit
::
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
)
{
if
(
!
mpSubEdit
)
ImplRepaint
();
if
(
!
mpSubEdit
)
ImplRepaint
(
rRenderContext
);
}
void
Edit
::
Resize
()
...
...
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