diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2016-08-04 16:58:48 +0200 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2016-08-04 20:28:55 +0000 |
commit | d3c3dcb4d581544d9fabc3b4b9160cbc9443543d (patch) | |
tree | 4663280bce770d546ae5d27d36ae37310e5ffc0b /include | |
parent | 55a4fd60b1df233ad0b35ed302f4dd0e308d3551 (diff) |
GSoC: notebookbar, position of popup menu
Change-Id: Ia4491a8659c8e6532681f7fca83b432e311d79d6
Reviewed-on: https://gerrit.libreoffice.org/27881
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/tabctrl.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx index e162b19f6681..4c57793bdd90 100644 --- a/include/vcl/tabctrl.hxx +++ b/include/vcl/tabctrl.hxx @@ -179,7 +179,7 @@ public: virtual void SetSizePixel(const Size& rNewSize) override; virtual void SetPosSizePixel(const Point& rNewPos, const Size& rNewSize) override; - Size calculateRequisition() const; + virtual Size calculateRequisition() const; void setAllocation(const Size &rAllocation); void markLayoutDirty() @@ -207,6 +207,8 @@ public: virtual sal_uInt16 GetPageId( const Point& rPos ) const override; virtual void SelectTabPage( sal_uInt16 nPageId ) override; virtual void SetCurPageId( sal_uInt16 nPageId ) override; + virtual Size calculateRequisition() const override; + static sal_uInt16 GetHeaderHeight(); protected: virtual bool ImplPlaceTabs( long nWidth ) override; @@ -216,6 +218,7 @@ private: bool bLastContextWasSupported; vcl::EnumContext::Context eLastContext; Link<NotebookBar*,void> m_aIconClickHdl; + static sal_uInt16 m_nHeaderHeight; }; #endif // INCLUDED_VCL_TABCTRL_HXX |