diff options
author | Jan Holesovsky <kendy@collabora.com> | 2013-11-14 14:24:56 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2013-11-14 14:25:57 +0100 |
commit | 50cf694b04bb3bc327887aed5a996a96da45e0c6 (patch) | |
tree | 664c1a4d5bafe5087540358cdae8e48f4db599da /sfx2/source/dialog | |
parent | a14dc51f9e8fc1fb4adac21722790a0a254ccd60 (diff) |
startcenter: Motif image now works too.
Change-Id: Ieecd2e8ee010b06b64a792e0fcad744c66c5f79e
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 8dc4663c6c03..50db1f7a8c3e 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -235,11 +235,18 @@ void BackingWindow::initControls() mpExtensionsButton->SetControlForeground(aButtonsText); mpAllButtonsBox->SetBackground(aButtonsBackground); - mpButtonsBox->SetBackground(aButtonsBackground); mpSmallButtonsBox->SetBackground(aButtonsBackground); mpHelpBox->SetBackground(aButtonsBackground); mpExtensionsBox->SetBackground(aButtonsBackground); + // motif image under the buttons + Wallpaper aWallpaper(get<FixedImage>("motif")->GetImage().GetBitmapEx()); + aWallpaper.SetStyle(WALLPAPER_BOTTOMRIGHT); + aWallpaper.SetColor(aButtonsBackground); + + mpButtonsBox->SetBackground(aWallpaper); + + // thin white rectangle aronud the Help and Extensions buttons mpThinBox1->SetBackground(aButtonsText); mpThinBox2->SetBackground(aButtonsText); |