31 #ifndef _CEGUIThumb_h_
32 #define _CEGUIThumb_h_
34 #include "CEGUIPushButton.h"
35 #include "CEGUIThumbProperties.h"
40 # pragma warning(push)
41 # pragma warning(disable : 4251)
126 std::pair<float, float> getVertRange(
void)
const;
137 std::pair<float, float> getHorzRange(
void)
const;
198 void setVertRange(
float min,
float max);
217 void setHorzRange(
float min,
float max);
234 virtual ~
Thumb(
void);
253 if (class_name==
"Thumb")
return true;
322 void addThumbProperties(
void);
327 #if defined(_MSC_VER)
328 # pragma warning(pop)
331 #endif // end of guard _CEGUIThumb_h_
static const String EventThumbPositionChanged
Definition: CEGUIThumb.h:71
bool d_vertFree
true if thumb is movable vertically
Definition: CEGUIThumb.h:296
virtual bool testClassName_impl(const String &class_name) const
Return whether this window was inherited from the given class name at some point in the inheritance h...
Definition: CEGUIThumb.h:251
Class used as a two dimensional vector (aka a Point)
Definition: CEGUIVector.h:45
Property to access the state the setting to free the thumb vertically.
Definition: CEGUIThumbProperties.h:85
bool isHotTracked(void) const
return whether hot-tracking is enabled or not.
Definition: CEGUIThumb.h:95
static const String EventNamespace
Namespace for global events.
Definition: CEGUIThumb.h:59
bool isVertFree(void) const
return whether the thumb is movable on the vertical axis.
Definition: CEGUIThumb.h:105
Property to access the state of the "hot-tracked" setting for the thumb.
Definition: CEGUIThumbProperties.h:59
void setHotTracked(bool setting)
set whether the thumb uses hot-tracking.
Definition: CEGUIThumb.h:153
Base class for Thumb widget.
Definition: CEGUIThumb.h:56
float d_horzMax
horizontal range
Definition: CEGUIThumb.h:301
void setVertFree(bool setting)
set whether thumb is movable on the vertical axis.
Definition: CEGUIThumb.h:166
Property to access the state the setting to free the thumb horizontally.
Definition: CEGUIThumbProperties.h:111
bool d_beingDragged
true if thumb is being dragged
Definition: CEGUIThumb.h:304
Property to access the horizontal movement range for the thumb.
Definition: CEGUIThumbProperties.h:163
bool isHorzFree(void) const
return whether the thumb is movable on the horizontal axis.
Definition: CEGUIThumb.h:115
Property to access the vertical movement range for the thumb.
Definition: CEGUIThumbProperties.h:137
void setHorzFree(bool setting)
set whether thumb is movable on the horizontal axis.
Definition: CEGUIThumb.h:179
static const String EventThumbTrackStarted
Definition: CEGUIThumb.h:77
bool d_horzFree
true if thumb is movable horizontally
Definition: CEGUIThumb.h:297
EventArgs based class that is used for objects passed to handlers triggered for events concerning som...
Definition: CEGUIInputEvent.h:245
bool d_hotTrack
true if events are to be sent real-time, else just when thumb is released
Definition: CEGUIThumb.h:295
static const String WidgetTypeName
Window factory name.
Definition: CEGUIThumb.h:60
EventArgs based class that is used for objects passed to input event handlers concerning mouse input...
Definition: CEGUIInputEvent.h:274
float d_vertMax
vertical range
Definition: CEGUIThumb.h:300
static const String EventThumbTrackEnded
Definition: CEGUIThumb.h:82
String class used within the GUI system.
Definition: CEGUIString.h:57
Point d_dragPoint
point where we are being dragged at.
Definition: CEGUIThumb.h:305