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
00094cd1
Kaydet (Commit)
00094cd1
authored
May 12, 2015
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
refactor DialControl to use RenderContext
Change-Id: I9efaf6e4910606dd6b7f70420918d82c193cb244
üst
514e461f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
dialcontrol.cxx
svx/source/dialog/dialcontrol.cxx
+7
-7
No files found.
svx/source/dialog/dialcontrol.cxx
Dosyayı görüntüle @
00094cd1
...
...
@@ -34,14 +34,14 @@ namespace svx {
const
long
DIAL_OUTER_WIDTH
=
8
;
DialControlBmp
::
DialControlBmp
(
vcl
::
Window
&
rParent
)
:
VirtualDevice
(
rParent
,
0
,
0
),
mbEnabled
(
true
),
mrParent
(
rParent
),
DialControlBmp
::
DialControlBmp
(
vcl
::
Window
&
rParent
)
:
VirtualDevice
(
rParent
,
0
,
0
),
mbEnabled
(
true
),
mrParent
(
rParent
),
mnCenterX
(
0
),
mnCenterY
(
0
)
{
EnableRTL
(
false
);
EnableRTL
(
false
);
}
void
DialControlBmp
::
InitBitmap
(
const
vcl
::
Font
&
rFont
)
...
...
@@ -275,10 +275,10 @@ void DialControl::Resize()
InvalidateControl
();
}
void
DialControl
::
Paint
(
vcl
::
RenderContext
&
/*rRenderContext*/
,
const
Rectangle
&
)
void
DialControl
::
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
)
{
Point
aPos
;
DrawBitmapEx
(
aPos
,
mpImpl
->
mxBmpBuffered
->
GetBitmapEx
(
aPos
,
mpImpl
->
maWinSize
)
);
rRenderContext
.
DrawBitmapEx
(
aPos
,
mpImpl
->
mxBmpBuffered
->
GetBitmapEx
(
aPos
,
mpImpl
->
maWinSize
)
);
}
void
DialControl
::
StateChanged
(
StateChangedType
nStateChange
)
...
...
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