From 50cf694b04bb3bc327887aed5a996a96da45e0c6 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Thu, 14 Nov 2013 14:24:56 +0100 Subject: startcenter: Motif image now works too. Change-Id: Ieecd2e8ee010b06b64a792e0fcad744c66c5f79e --- sfx2/source/dialog/backingwindow.cxx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'sfx2/source/dialog') 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("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); -- cgit