40#ifndef INCLUDED_GLS_THUMBWHEEL_H
41#define INCLUDED_GLS_THUMBWHEEL_H
48#if( defined( GLSGEN_EXPORT_GLSTHUMBWHEEL ) || defined( GLSGEN_IMPORT_GLSTHUMBWHEEL ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
49 && defined( _MSC_VER )
50# if defined( GLSGEN_EXPORT_GLSTHUMBWHEEL ) || defined( GLS_EXPORT_GENERATED )
51# define GLSGEN_GLSTHUMBWHEEL_EXPORT __declspec( dllexport )
53# define GLSGEN_GLSTHUMBWHEEL_EXPORT __declspec( dllimport )
56# define GLSGEN_GLSTHUMBWHEEL_EXPORT
61#define LIB_BASE_NAME "gls_thumb_wheel"
71 GLS_GLSTHUMBWHEEL_INITIAL_VAL = GLS_LAST_INITIALIZER + 1,
72 GLS_GLSTHUMBWHEEL_EMIT_DETENT_VAL_EVENT,
73 GLS_GLSTHUMBWHEEL_EMIT_LIMIT_EVENT,
74 GLS_GLSTHUMBWHEEL_EMIT_RELEASE_EVENT,
75 GLS_GLSTHUMBWHEEL_NUMBER_OF_DETENTS,
76 GLS_GLSTHUMBWHEEL_CONTINUOUS_DRAG,
77 GLS_GLSTHUMBWHEEL_DETENT_VAL,
78 GLS_GLSTHUMBWHEEL_WHICH_OBJECT_THUMBWHEEL,
79 GLS_GLSTHUMBWHEEL_WHICH_OBJECT_ODOMETER,
80 GLS_GLSTHUMBWHEEL_SOUND_INDEX
86 friend class GlsThumbWheelEditor;
89 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
176 const
Vector& logicalCoords,
178 const
Vector& directionVector,
Definition: dynamic_array.h:79
Definition: gls_glo_file.h:1243
Definition: gls_thumb_wheel.h:85
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL) DISTI_METHOD_OVERRIDE
int _detentVal
range: 1 to _numberOfDetents (the detent of the thumbwheel)
Definition: gls_thumb_wheel.h:186
int WhichObjectThumbWheel()
bool _emitDetentValEvent
If true, events will be emitted whenever the detent value changes.
Definition: gls_thumb_wheel.h:183
virtual void SetAvailableAttributes(unsigned int value) DISTI_METHOD_OVERRIDE
virtual void Draw() DISTI_METHOD_OVERRIDE
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array) DISTI_METHOD_OVERRIDE
unsigned int _currentCursor
The current cursor used for interaction. Any other cursors are ignored while interacting.
Definition: gls_thumb_wheel.h:200
int _whichObjectThumbWheel
The object index in the group to be the thumbwheel.
Definition: gls_thumb_wheel.h:192
virtual DisplayObject * CloneObject(bool generateNames=false) DISTI_METHOD_OVERRIDE
int _initialVal
The initial detent state of the wheel.
Definition: gls_thumb_wheel.h:188
int _browserIndexOdometer
Need to keep track of browser Index for use in ShowProperties()
Definition: gls_thumb_wheel.h:196
virtual void PreDraw(const OpenGLMatrices &parentMatrices, Culler &culler) DISTI_METHOD_OVERRIDE
bool _initialized
If true, the object has been configured from its original state.
Definition: gls_thumb_wheel.h:198
virtual DisplayObject * handle(DisplayEvent *ev) DISTI_METHOD_OVERRIDE
virtual void SetValue(int spec, va_list &args) DISTI_METHOD_OVERRIDE
int _soundIndex
The index into the list of sounds.
Definition: gls_thumb_wheel.h:190
int _whichObjectOdometer
The object index in the group to be the odometer (if there is one).
Definition: gls_thumb_wheel.h:193
bool _mouseWasDown
Whether or not the mouse is down on this object.
Definition: gls_thumb_wheel.h:199
bool _continuousDrag
if true, the wheel will wrap around when limit is reached.
Definition: gls_thumb_wheel.h:191
int _indexVal
range: 0 to _numberOfDetents - 1 (the index of the odometer)
Definition: gls_thumb_wheel.h:187
int _numberOfDetents
The total number of detents of the wheel.
Definition: gls_thumb_wheel.h:189
static DisplayObject * CreateInstance()
bool _emitReleaseEvent
If true, an event will be emitted when the wheel is released.
Definition: gls_thumb_wheel.h:185
InputOrientationEnum InputType()
int WhichObjectOdometer()
virtual DisplayObject * Pick3D(const Vector &winLoc, const Vector &logicalCoords, float scale, const Vector &directionVector, Vector &collisionWinLoc, const OpenGLMatrices &drawnMatrices) DISTI_METHOD_OVERRIDE
virtual void CopyProperties(DisplayObject *src) DISTI_METHOD_OVERRIDE
int _browserIndexThumbWheel
Need to keep track of browser Index for use in ShowProperties()
Definition: gls_thumb_wheel.h:195
bool _emitLimitEvent
Whether or not to emit limit events - when start or end is reached.
Definition: gls_thumb_wheel.h:184
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:544
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:457
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:214
The disti::GlsOdometer class.
#define GLSGEN_GLSTHUMBWHEEL_EXPORT
Provides support for creating DLLs.
Definition: gls_thumb_wheel.h:56
GL Studio helper functions.
The disti::Group class. Implements groups of objects.
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47
InputOrientationEnum
Enumeration for Input Operators.
Definition: glsutil.h:271