summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/PaneChildWindows.hxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-03-15 13:53:19 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-03-15 13:53:19 +0100
commitf391eb8768b00e1db5bdf8a510ba5cce3669f572 (patch)
tree69a6ee2680d8b18182f3282dab9d9a9dfce151cc /sd/source/ui/inc/PaneChildWindows.hxx
parent7cdace50a6ee115620429c5e7ac61d2c973817dc (diff)
slidecopy: initial version of a "Tool Panel"
At the moment, this implementation is parallel to the existing TaskPane implementation, but on the medium term, it is intended to replace it. No change in functionality is planned for the moment, just the panel selection is done via a tab bar, instead of the the "jumping drawers". Pending tasks (as known so far): - Accessibility. No implementation at all, yet. - showing/hiding tool panels from the "View" drop down menu - connection to the resource framework. At the moment, de/activating panels completely bypasses the resource framework. - alternative implementation of the PanelDeckLayouter which mimics the old design. To be activated by default, for the moment. - removal of the (old, by then) TaskPane implementation. Care needs to be taken that the framework API stays unchanged, i.e., the current ToolPanel resource must be renamed back to RightPane when RightPane is not occupied anymore by the old implementation. Same for other resource names.
Diffstat (limited to 'sd/source/ui/inc/PaneChildWindows.hxx')
-rw-r--r--sd/source/ui/inc/PaneChildWindows.hxx18
1 files changed, 16 insertions, 2 deletions
diff --git a/sd/source/ui/inc/PaneChildWindows.hxx b/sd/source/ui/inc/PaneChildWindows.hxx
index a3fb7f6f763b..0d8967f7f005 100644
--- a/sd/source/ui/inc/PaneChildWindows.hxx
+++ b/sd/source/ui/inc/PaneChildWindows.hxx
@@ -44,8 +44,8 @@ public:
USHORT nId,
SfxBindings* pBindings,
SfxChildWinInfo* pInfo,
- const ResId& rResId,
- const ::rtl::OUString& rsTitle,
+ const USHORT nDockWinTitleResId,
+ const USHORT nTitleBarResId,
SfxChildAlignment eAlignment);
virtual ~PaneChildWindow (void);
};
@@ -87,6 +87,20 @@ public:
};
+//======================================================================================================================
+//= ToolPanelChildWindow
+//======================================================================================================================
+class ToolPanelChildWindow : public PaneChildWindow
+{
+public:
+ ToolPanelChildWindow(
+ ::Window* i_pParentWindow,
+ USHORT i_nId,
+ SfxBindings* i_pBindings,
+ SfxChildWinInfo* i_pChildWindowInfo );
+
+ SFX_DECL_CHILDWINDOW( ToolPanelChildWindow );
+};
} // end of namespace ::sd