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
e497141d
Kaydet (Commit)
e497141d
authored
May 20, 2015
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sidebar Panel - setup background in ApplySettings
Change-Id: I89ea754dbbb64e535ca719af4e7d949ac117df0a
üst
5f8b294b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
Panel.cxx
sfx2/source/sidebar/Panel.cxx
+6
-3
Panel.hxx
sfx2/source/sidebar/Panel.hxx
+1
-0
No files found.
sfx2/source/sidebar/Panel.cxx
Dosyayı görüntüle @
e497141d
...
...
@@ -58,8 +58,6 @@ Panel::Panel(const PanelDescriptor& rPanelDescriptor,
,
maDeckLayoutTrigger
(
rDeckLayoutTrigger
)
,
maContextAccess
(
rContextAccess
)
{
SetBackground
(
Theme
::
GetPaint
(
Theme
::
Paint_PanelBackground
).
GetWallpaper
());
#ifdef DEBUG
SetText
(
OUString
(
"Panel"
));
#endif
...
...
@@ -70,6 +68,11 @@ Panel::~Panel()
disposeOnce
();
}
void
Panel
::
ApplySettings
(
vcl
::
RenderContext
&
rRenderContext
)
{
rRenderContext
.
SetBackground
(
Theme
::
GetPaint
(
Theme
::
Paint_PanelBackground
).
GetWallpaper
());
}
void
Panel
::
dispose
()
{
mxPanelComponent
=
NULL
;
...
...
@@ -155,7 +158,7 @@ void Panel::Activate()
void
Panel
::
DataChanged
(
const
DataChangedEvent
&
rEvent
)
{
(
void
)
rEvent
;
SetBackground
(
Theme
::
GetPaint
(
Theme
::
Paint_PanelBackground
).
GetWallpaper
()
);
Invalidate
(
);
}
Reference
<
awt
::
XWindow
>
Panel
::
GetElementWindow
()
...
...
sfx2/source/sidebar/Panel.hxx
Dosyayı görüntüle @
e497141d
...
...
@@ -58,6 +58,7 @@ public:
virtual
void
Resize
()
SAL_OVERRIDE
;
virtual
void
DataChanged
(
const
DataChangedEvent
&
rEvent
)
SAL_OVERRIDE
;
virtual
void
Activate
()
SAL_OVERRIDE
;
virtual
void
ApplySettings
(
vcl
::
RenderContext
&
rRenderContext
)
SAL_OVERRIDE
;
private
:
const
OUString
msPanelId
;
...
...
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