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
7eb05144
Kaydet (Commit)
7eb05144
authored
May 13, 2015
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
refactor PopupControl to use RenderContext
Change-Id: I3587cbe8a4025869422106b68c946981da1c6cb9
üst
571e597b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
PopupControl.cxx
svx/source/sidebar/tools/PopupControl.cxx
+5
-5
No files found.
svx/source/sidebar/tools/PopupControl.cxx
Dosyayı görüntüle @
7eb05144
...
...
@@ -35,15 +35,15 @@ PopupControl::PopupControl (
SetBackground
(
Theme
::
GetWallpaper
(
Theme
::
Paint_DropDownBackground
));
}
void
PopupControl
::
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
r
Box
)
void
PopupControl
::
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
r
Rect
)
{
Control
::
Paint
(
rRenderContext
,
r
Box
);
Control
::
Paint
(
rRenderContext
,
r
Rect
);
// The background is taken care of by setting the background color
// in the constructor. Here we just paint the border.
SetFillColor
();
SetLineColor
(
Theme
::
GetColor
(
Theme
::
Color_DropDownBorder
));
DrawRect
(
Rectangle
(
Point
(
0
,
0
),
GetOutputSizePixel
()));
rRenderContext
.
SetFillColor
();
rRenderContext
.
SetLineColor
(
Theme
::
GetColor
(
Theme
::
Color_DropDownBorder
));
rRenderContext
.
DrawRect
(
Rectangle
(
Point
(
0
,
0
),
GetOutputSizePixel
()));
}
}
}
// end of namespace svx::sidebar
...
...
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