diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-10-11 20:34:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-10-11 22:38:42 +0200 |
commit | 06e9c32d8be8192cd2b6c840aa639622ca0ff44e (patch) | |
tree | 3fcdc16182b1851efb55babd15c609e31a170bd8 /include/vcl/tabpage.hxx | |
parent | 1020191c9772c869a9ac4d83264d35e54e8694c9 (diff) |
Revert "Permit scrollable AWT tab pages a la scrolled Dialog"
UITest_sort failing
https://gerrit.libreoffice.org/c/core/+/103942
Jenkins Verified-1 Patch Set 7: Verified-1
where UITest_sort failed
Jenkins Verified+1 Patch Set 7: Verified+1
but that's just an android build which doesn't run any tests
This reverts commit b3f2530aa2767ba43cd4702422fc3ed0d37821d6.
Change-Id: I9414e5d7cc5873848f95dab65f03836ccb2ff0c6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104194
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/tabpage.hxx')
-rw-r--r-- | include/vcl/tabpage.hxx | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/include/vcl/tabpage.hxx b/include/vcl/tabpage.hxx index a357ec50f55e..bd308a96a355 100644 --- a/include/vcl/tabpage.hxx +++ b/include/vcl/tabpage.hxx @@ -24,9 +24,6 @@ #include <vcl/window.hxx> #include <vcl/IContext.hxx> -class ScrollBar; -class ScrollBarBox; - class VCL_DLLPUBLIC TabPage : public vcl::Window , public vcl::IContext @@ -35,24 +32,10 @@ private: using Window::ImplInit; SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle ); SAL_DLLPRIVATE void ImplInitSettings(); - void lcl_Scroll( long nX, long nY ); - DECL_LINK( ScrollBarHdl, ScrollBar*, void ); - - VclPtr<ScrollBar> m_pVScroll; - VclPtr<ScrollBar> m_pHScroll; - VclPtr<ScrollBarBox> m_aScrollBarBox; - Size maScrollArea; - bool mbHasHoriBar; - bool mbHasVertBar; - Point mnScrollPos; - long mnScrWidth; - enum ScrollBarVisibility { None, Vert, Hori, Both }; - ScrollBarVisibility maScrollVis; public: explicit TabPage( vcl::Window* pParent, WinBits nStyle = 0 ); virtual ~TabPage() override; - virtual void dispose() override; virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) override; virtual void Draw( OutputDevice* pDev, const Point& rPos, DrawFlags nFlags ) override; @@ -65,16 +48,6 @@ public: virtual void SetPosPixel(const Point& rNewPos) override; virtual void SetSizePixel(const Size& rNewSize) override; virtual Size GetOptimalSize() const override; - - // for scrollable tabpage - virtual void Resize() override; - - void SetScrollWidth( long nWidth ); - void SetScrollHeight( long nHeight ); - void SetScrollLeft( long nLeft ); - void SetScrollTop( long Top ); - void setScrollVisibility( ScrollBarVisibility rState ); - void ResetScrollBars(); }; #endif // INCLUDED_VCL_TABPAGE_HXX |