summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/bastypes.cxx
diff options
context:
space:
mode:
authorTomcsik Bence <tomcsikbence@gmail.com>2012-03-11 21:40:02 +0100
committerAndras Timar <atimar@suse.com>2012-03-11 21:49:13 +0100
commit0e8eb19a53338c83dab7fe19e2f23bcaecd52077 (patch)
treed316dfd8f51a5368375139fc6a478c9ea6cdb86a /basctl/source/basicide/bastypes.cxx
parentf32fe9f5012e3ee184e1a1fca6814bee9105d8fb (diff)
Object Catalog pane in Basic IDE
Object Catalog was a floating window. It has been converted to a fixed pane on the right hand side of the editor window. While it is a BasicDockingWindow, at the moment it is not possible to undock, move, or resize it. Also, the Object Catalog toolbar button does not show the visibility status of the pane, ideally it should look pressed, when the Object Catalog pane is visible. Another missing feature is that the Object Catalog pane cannot be switched on together with the dialog editor.
Diffstat (limited to 'basctl/source/basicide/bastypes.cxx')
-rw-r--r--basctl/source/basicide/bastypes.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx
index 7cffc4b2cea7..f7221f43f40d 100644
--- a/basctl/source/basicide/bastypes.cxx
+++ b/basctl/source/basicide/bastypes.cxx
@@ -263,7 +263,13 @@ BasicDockingWindow::BasicDockingWindow( Window* pParent ) :
{
}
-
+BasicDockingWindow::BasicDockingWindow( Window* pParent, const ResId& rResId ) :
+ DockingWindow( pParent, rResId )
+{
+ SetStyle( WB_BORDER | WB_3DLOOK | WB_DOCKABLE | WB_MOVEABLE |
+ WB_SIZEABLE | WB_ROLLABLE |
+ WB_DOCKABLE | WB_CLIPCHILDREN );
+}
sal_Bool BasicDockingWindow::Docking( const Point& rPos, Rectangle& rRect )
{