summaryrefslogtreecommitdiff
path: root/vcl/inc/vcl/salnativewidgets.hxx
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-01-08 17:29:30 +0100
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-01-08 17:29:30 +0100
commit381b25700787c4530dc28f548a38d224c074bd12 (patch)
treecb2e069df15c8fd1b315d6555589c8653419caf0 /vcl/inc/vcl/salnativewidgets.hxx
parent51d977e00c8481d89cb682a05536e88cdf2fffa4 (diff)
vcl109: #i33688# NWF slider implementation (mac)
Diffstat (limited to 'vcl/inc/vcl/salnativewidgets.hxx')
-rw-r--r--vcl/inc/vcl/salnativewidgets.hxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/vcl/inc/vcl/salnativewidgets.hxx b/vcl/inc/vcl/salnativewidgets.hxx
index c8fb0cb40d21..aedd706d12d9 100644
--- a/vcl/inc/vcl/salnativewidgets.hxx
+++ b/vcl/inc/vcl/salnativewidgets.hxx
@@ -98,6 +98,8 @@ typedef sal_uInt32 ControlType;
// all parts like slider, buttons
#define CTRL_SCROLLBAR 60
+#define CTRL_SLIDER 65
+
// Border around a group of related
// items, perhaps also displaying
// a label of identification
@@ -292,6 +294,20 @@ class VCL_DLLPUBLIC ScrollbarValue
inline ~ScrollbarValue() {};
};
+class VCL_DLLPUBLIC SliderValue
+{
+ public:
+ long mnMin;
+ long mnMax;
+ long mnCur;
+ Rectangle maThumbRect;
+ ControlState mnThumbState;
+
+ SliderValue() : mnMin( 0 ), mnMax( 0 ), mnCur( 0 ), mnThumbState( 0 )
+ {}
+ ~SliderValue() {}
+};
+
/* TabitemValue:
*
* Value container for tabitems.