33#include "./PushButton.h"
39# pragma warning(disable : 4251)
40# pragma warning(disable : 4996)
267 void banPropertiesForAutoWindow();
323 void addThumbProperties(
void);
333 typedef std::pair<float,float> return_type;
334 typedef return_type safe_method_return_type;
335 typedef const std::pair<float,float>& pass_type;
338 static const String& getDataTypeName()
340 static String type(
"std::pair<float,float>");
345 static return_type fromString(
const String&
str)
EventArgs based class that is used for objects passed to input event handlers concerning mouse input.
Definition InputEvent.h:281
Helper class used to convert various data types to and from the format expected in Property strings.
Definition ForwardRefs.h:84
String class used within the GUI system.
Definition String.h:64
Base class for Thumb widget.
Definition Thumb.h:56
bool d_beingDragged
true if thumb is being dragged
Definition Thumb.h:315
bool isHorzFree(void) const
return whether the thumb is movable on the horizontal axis.
Definition Thumb.h:114
static const String EventNamespace
Namespace for global events.
Definition Thumb.h:58
virtual void onThumbPositionChanged(WindowEventArgs &e)
event triggered internally when the position of the thumb
void setVertFree(bool setting)
set whether thumb is movable on the vertical axis.
Definition Thumb.h:165
void setHorzFree(bool setting)
set whether thumb is movable on the horizontal axis.
Definition Thumb.h:178
virtual void onThumbTrackStarted(WindowEventArgs &e)
Handler triggered when the user begins to drag the thumb.
bool isVertFree(void) const
return whether the thumb is movable on the vertical axis.
Definition Thumb.h:104
std::pair< float, float > getVertRange(void) const
Return a std::pair that describes the current range set for the vertical movement.
static const String EventThumbTrackStarted
Definition Thumb.h:76
Thumb(const String &type, const String &name)
Constructor for Thumb objects.
Vector2f d_dragPoint
point where we are being dragged at.
Definition Thumb.h:316
virtual ~Thumb(void)
Destructor for Thumb objects.
float d_horzMax
horizontal range
Definition Thumb.h:312
bool d_hotTrack
true if events are to be sent real-time, else just when thumb is released
Definition Thumb.h:306
virtual void onThumbTrackEnded(WindowEventArgs &e)
Handler triggered when the thumb is released.
void setHotTracked(bool setting)
set whether the thumb uses hot-tracking.
Definition Thumb.h:152
void setHorzRange(const std::pair< float, float > &range)
set the movement range of the thumb for the horizontal axis.
virtual void onMouseButtonDown(MouseEventArgs &e)
Handler called when a mouse button has been depressed within this window's area.
virtual void onCaptureLost(WindowEventArgs &e)
Handler called when this window loses capture of mouse inputs.
void setVertRange(float min, float max)
set the movement range of the thumb for the vertical axis.
void setHorzRange(float min, float max)
set the movement range of the thumb for the horizontal axis.
bool d_horzFree
true if thumb is movable horizontally
Definition Thumb.h:308
bool isHotTracked(void) const
return whether hot-tracking is enabled or not.
Definition Thumb.h:94
static const String WidgetTypeName
Window factory name.
Definition Thumb.h:59
float d_vertMax
vertical range
Definition Thumb.h:311
bool d_vertFree
true if thumb is movable vertically
Definition Thumb.h:307
static const String EventThumbPositionChanged
Definition Thumb.h:70
std::pair< float, float > getHorzRange(void) const
Return a std::pair that describes the current range set for the horizontal movement.
void setVertRange(const std::pair< float, float > &range)
set the movement range of the thumb for the vertical axis.
static const String EventThumbTrackEnded
Definition Thumb.h:81
virtual void onMouseMove(MouseEventArgs &e)
Handler called when the mouse cursor has been moved within this window's area.
base class for properties able to do native set/get
Definition TypedProperty.h:50
EventArgs based class that is used for objects passed to handlers triggered for events concerning som...
Definition InputEvent.h:252
Main namespace for Crazy Eddie's GUI Library.
Definition arch_overview.dox:1