diff options
author | Uray M. János <uray.janos@gmail.com> | 2012-09-07 10:01:42 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-09-07 11:55:30 +0200 |
commit | 19e7696b0f3e6771b630220379f00d306b44ec3d (patch) | |
tree | 5fe5e55aa5fd65695793699d51346e3ef183c344 /basctl/source/inc | |
parent | 1f831f5ac810f019b304e6d26c20fa54f8521828 (diff) |
Basic IDE: Filling space of non-docking windows
Now if we make e.g. the stack window floating, then the watch window
will occupy the whole width of the line (and vice versa, also for the
Dialog Editor with object catalog and property browser). If we put it
back again, than we get back the previous state of the strip.
Change-Id: I634614ff2e9d5f790ad759656a79a38d49c4afc4
Diffstat (limited to 'basctl/source/inc')
-rw-r--r-- | basctl/source/inc/bastypes.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx index 6d24dae1e6b9..d7d2e69d0196 100644 --- a/basctl/source/inc/bastypes.hxx +++ b/basctl/source/inc/bastypes.hxx @@ -82,6 +82,8 @@ public: DockingWindow (Layout* pParent); public: void ResizeIfDocking (Point const&, Size const&); + void ResizeIfDocking (Size const&); + Size GetDockingSize () const { return aDockingRect.GetSize(); } void SetLayoutWindow (Layout*); public: void Show (bool = true); @@ -228,9 +230,9 @@ public: virtual void OnNewDocument (); virtual char const* GetHid () const = 0; - virtual ItemType GetType () const = 0; // TODO + virtual ItemType GetType () const = 0; void InsertLibInfo () const; - bool Is (ScriptDocument const&, rtl::OUString const&, rtl::OUString const&, ItemType, bool bFindSuspended); // TODO + bool Is (ScriptDocument const&, rtl::OUString const&, rtl::OUString const&, ItemType, bool bFindSuspended); virtual bool HasActiveEditor () const; }; |