diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-04-08 11:14:22 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-04-08 11:14:22 +0200 |
commit | 6afa02e3d6e6324b8d3e2ddd91fbb81c583aab83 (patch) | |
tree | 0422b12d1ae0a5620fcd87404d4adac819f2e6ba /sfx2/workben/custompanel/ctp_panel.hxx | |
parent | ec769a41ff0ce34d345eea50d0a779c076f0b227 (diff) |
slidecopy: remember the tool panel's visibility states, and restore the next time
Diffstat (limited to 'sfx2/workben/custompanel/ctp_panel.hxx')
-rw-r--r-- | sfx2/workben/custompanel/ctp_panel.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sfx2/workben/custompanel/ctp_panel.hxx b/sfx2/workben/custompanel/ctp_panel.hxx index 75283d686250..5975af2badc1 100644 --- a/sfx2/workben/custompanel/ctp_panel.hxx +++ b/sfx2/workben/custompanel/ctp_panel.hxx @@ -58,7 +58,8 @@ namespace sd { namespace colortoolpanel public: SingleColorPanel( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& i_rContext, - const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& i_rParentWindow + const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& i_rParentWindow, + const ::sal_Int32 i_nPanelColor ); // XToolPanel @@ -79,6 +80,7 @@ namespace sd { namespace colortoolpanel private: ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > m_xWindow; + const sal_Int32 m_nPanelColor; }; //================================================================================================================== @@ -93,7 +95,8 @@ namespace sd { namespace colortoolpanel PanelUIElement( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& i_rContext, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& i_rParentWindow, - const ::rtl::OUString& i_rResourceURL + const ::rtl::OUString& i_rResourceURL, + const ::sal_Int32 i_nPanelColor ); // XUIElement |