summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorJean-Tiare LE BIGOT <admin@jtlebi.fr>2012-08-12 17:08:16 -0400
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-08-16 10:17:33 +0200
commit9658704fc4c691dfea7411eb36951ddc5154538a (patch)
treebc5f89b620951879bd7843ddd80cfd3ba487bef7 /basctl
parentb0db8fbdb58d40998ea6ba144c07c73becbed0f0 (diff)
Set ide sizer color to dark grey; was dark black
The color setting was picked from SplitWindow::Paint() for visual consistency with the sizers used in Impress for example. This commit also resurects presumably dead code. In fact GDB let me see that only the short path was taken. This has an impact on Calc's window splitters and on more visibly on the basic IDE which now looks much nicer :) EDITS: restricted this commit impact to IDE as a poc Change-Id: I9a051fd894feccff4bbc7db7efe1160cb2c3a2c6
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx
index fa2b0505fdea..3d2bfd842455 100644
--- a/basctl/source/basicide/baside2.cxx
+++ b/basctl/source/basicide/baside2.cxx
@@ -1397,6 +1397,15 @@ ModulWindowLayout::ModulWindowLayout( Window* pParent ) :
{
SetBackground(GetSettings().GetStyleSettings().GetWindowColor());
+ Color splitterColor(GetSettings().GetStyleSettings().GetShadowColor());
+
+ aLeftSplit.SetLineColor(splitterColor);
+ aLeftSplit.SetFillColor(splitterColor);
+ aBottomSplit.SetLineColor(splitterColor);
+ aBottomSplit.SetFillColor(splitterColor);
+ aVertSplit.SetLineColor(splitterColor);
+ aVertSplit.SetFillColor(splitterColor);
+
aLeftSplit.Show();
aBottomSplit.Show();
aVertSplit.Show();