diff options
author | Winfried Donkers <osc@dci-electronics.nl> | 2012-03-11 09:05:02 +0100 |
---|---|---|
committer | Stefan Knorr (astron) <heinzlesspam@gmail.com> | 2012-03-21 11:44:36 +0100 |
commit | ae7c80640df922630060b82ffa91fd7db2e4d6d7 (patch) | |
tree | c8b35e0f80866df461b0f919480b381ffc48b03f /sw | |
parent | 4c40593e3e936e6a966410ab807df4b775fc2464 (diff) |
fdo#45671 set initial color for split buttons
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/docvw/edtwin.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx index bb2dabad32ae..5aabb0843b5e 100644 --- a/sw/source/ui/docvw/edtwin.cxx +++ b/sw/source/ui/docvw/edtwin.cxx @@ -176,6 +176,14 @@ QuickHelpData* SwEditWin::pQuickHlpData = 0; long SwEditWin::nDDStartPosY = 0; long SwEditWin::nDDStartPosX = 0; +/* Note: + The initial color shown on the button is set in /core/svx/source/tbxctrls/tbxcolorupdate.cxx + (ToolboxButtonColorUpdater::ToolboxButtonColorUpdater()) . + The initial color used by the button is set in /core/svx/source/tbxcntrls/tbcontrl.cxx + (SvxColorExtToolBoxControl::SvxColorExtToolBoxControl()) + and in case of writer for text(background)color also in /core/sw/source/ui/docvw/edtwin.cxx + (SwEditWin::aTextBackColor and SwEditWin::aTextBackColor) + */ Color SwEditWin::aTextBackColor(COL_YELLOW); Color SwEditWin::aTextColor(COL_RED); sal_Bool SwEditWin::bTransparentBackColor = sal_False; // background not transparent |