summaryrefslogtreecommitdiff
path: root/include/svtools/scrwin.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svtools/scrwin.hxx')
-rw-r--r--include/svtools/scrwin.hxx12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/svtools/scrwin.hxx b/include/svtools/scrwin.hxx
index b0832842756e..05ba486195a9 100644
--- a/include/svtools/scrwin.hxx
+++ b/include/svtools/scrwin.hxx
@@ -27,10 +27,6 @@
class DataChangedEvent;
-
-// - ScrollableWindow-Type -
-
-
enum class ScrollableWindowFlags
{
THUMBDRAGGING = 1,
@@ -38,15 +34,13 @@ enum class ScrollableWindowFlags
HCENTER = 4,
DEFAULT = THUMBDRAGGING | VCENTER | HCENTER,
};
+
namespace o3tl
{
template<> struct typed_flags<ScrollableWindowFlags> : is_typed_flags<ScrollableWindowFlags, 0x07> {};
}
-// - ScrollableWindow -
-
-
class SVT_DLLPUBLIC ScrollableWindow: public vcl::Window
{
private:
@@ -55,9 +49,9 @@ private:
long nLinePixH; // size of a line/column (pixel)
long nColumnPixW;
- VclPtr<ScrollBar> aVScroll; // the scrollbars
+ VclPtr<ScrollBar> aVScroll; // the scrollbars
VclPtr<ScrollBar> aHScroll;
- VclPtr<ScrollBarBox> aCornerWin; // window in the bottom right corner
+ VclPtr<ScrollBarBox> aCornerWin; // window in the bottom right corner
bool bScrolling:1, // user controlled scrolling
bHandleDragging:1, // scroll window while dragging
bHCenter:1,