diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2014-11-03 14:48:58 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2014-11-03 22:37:28 +0200 |
commit | 67340db67598b80045412ff653d399782c32f21e (patch) | |
tree | efb01728c58f0dc825b836df6a44634651b7ab90 /include | |
parent | 4d447ebc44e6051fd0a208fcc0581e9d0c81d032 (diff) |
Related: fdo#84844 Prepare border color status update
The Sidebar button handles also the color of diagonal lines.
Change-Id: I26d75472a8c9ca482274797127994d4546b1b3e8
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/tbcontrl.hxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/svx/tbcontrl.hxx b/include/svx/tbcontrl.hxx index 0f9db2f09f7a..2f90a130b6b6 100644 --- a/include/svx/tbcontrl.hxx +++ b/include/svx/tbcontrl.hxx @@ -42,6 +42,7 @@ SvxColorToolBoxControl ---------------------- Item type: SvxColorItem + SvxLineItem SfxBoolItem XLineColorItem and XFillColorItem @@ -216,6 +217,19 @@ public: }; +class BorderColorStatus +{ + Color maColor; + Color maTLBRColor; + Color maBLTRColor; +public: + BorderColorStatus(); + ~BorderColorStatus(); + void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ); + Color GetColor(); +}; + + // class SvxColorToolBoxControl -------------------------------------- class SVX_DLLPUBLIC SvxColorToolBoxControl : public SfxToolBoxControl @@ -224,6 +238,7 @@ class SVX_DLLPUBLIC SvxColorToolBoxControl : public SfxToolBoxControl ::boost::scoped_ptr< ::svx::ToolboxButtonColorUpdater > pBtnUpdater; PaletteManager mPaletteManager; + BorderColorStatus maBorderColorStatus; bool bSidebarType; DECL_LINK( SelectedHdl, Color* ); public: |