diff options
author | Deepanshu Sharma <129deepanshusharma@gmail.com> | 2025-03-21 14:29:56 +0530 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2025-05-08 07:40:34 +0200 |
commit | 7bb189c3c2c3fb414484e81b9c6bd2f446784cb3 (patch) | |
tree | 98c9cac186b35f49b59d35f7171cc6c19c730d05 /include | |
parent | f285200efc1318df8d599c8ab3a2534cdaf19ae8 (diff) |
tdf#97228 change scrollbarvalue code from include/vcl to vcl/
Change-Id: I76268d39a8792c87a8fcad23dc3f393c4c596486
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183192
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/salnativewidgets.hxx | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx index 68fae745e757..903ddfccc29d 100644 --- a/include/vcl/salnativewidgets.hxx +++ b/include/vcl/salnativewidgets.hxx @@ -286,40 +286,6 @@ class VCL_DLLPUBLIC ImplControlValue void setNumericVal( tools::Long nNumeric ) { mNumber = nNumeric; } }; -/* ScrollbarValue: - * - * Value container for scrollbars. - */ -class SAL_DLLPUBLIC_RTTI ScrollbarValue final : public ImplControlValue -{ - public: - tools::Long mnMin; - tools::Long mnMax; - tools::Long mnCur; - tools::Long mnVisibleSize; - tools::Rectangle maThumbRect; - tools::Rectangle maButton1Rect; - tools::Rectangle maButton2Rect; - ControlState mnButton1State; - ControlState mnButton2State; - ControlState mnThumbState; - - ScrollbarValue() - : ImplControlValue( ControlType::Scrollbar, 0 ) - { - mnMin = 0; mnMax = 0; mnCur = 0; mnVisibleSize = 0; - mnButton1State = ControlState::NONE; mnButton2State = ControlState::NONE; - mnThumbState = ControlState::NONE; - }; - virtual ~ScrollbarValue() override; - virtual ScrollbarValue* clone() const override; - - ScrollbarValue(ScrollbarValue const &) = default; - ScrollbarValue(ScrollbarValue &&) = default; - ScrollbarValue & operator =(ScrollbarValue const &) = delete; // due to ImplControlValue - ScrollbarValue & operator =(ScrollbarValue &&) = delete; // due to ImplControlValue -}; - class SAL_DLLPUBLIC_RTTI SliderValue final : public ImplControlValue { public: |