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
60 #define LIB_BASE_NAME "gls_thumb_wheel"
70 GLS_GLSTHUMBWHEEL_INITIAL_VAL = GLS_LAST_INITIALIZER + 1,
71 GLS_GLSTHUMBWHEEL_EMIT_DETENT_VAL_EVENT,
72 GLS_GLSTHUMBWHEEL_EMIT_LIMIT_EVENT,
73 GLS_GLSTHUMBWHEEL_EMIT_RELEASE_EVENT,
74 GLS_GLSTHUMBWHEEL_NUMBER_OF_DETENTS,
75 GLS_GLSTHUMBWHEEL_CONTINUOUS_DRAG,
76 GLS_GLSTHUMBWHEEL_DETENT_VAL,
77 GLS_GLSTHUMBWHEEL_WHICH_OBJECT_THUMBWHEEL,
78 GLS_GLSTHUMBWHEEL_WHICH_OBJECT_ODOMETER,
79 GLS_GLSTHUMBWHEEL_SOUND_INDEX
85 friend class GlsThumbWheelEditor;
93 GLSGEN_GLSTHUMBWHEEL_EXPORT
GlsThumbWheel(
bool generateInstance =
false );
98 static GLSGEN_GLSTHUMBWHEEL_EXPORT
DisplayObject* CreateInstance();
112 virtual GLSGEN_GLSTHUMBWHEEL_EXPORT
void Draw(
void );
119 virtual void SetValue(
int spec, va_list& args );
128 GLSGEN_GLSTHUMBWHEEL_EXPORT
void DetentVal(
const int& val );
133 GLSGEN_GLSTHUMBWHEEL_EXPORT
int DetentVal();
138 GLSGEN_GLSTHUMBWHEEL_EXPORT
void IndexVal(
const int& val );
143 GLSGEN_GLSTHUMBWHEEL_EXPORT
int IndexVal();
167 const Vector& logicalCoords,
169 const Vector& directionVector,
175 bool _emitDetentValEvent;
176 bool _emitLimitEvent;
177 bool _emitReleaseEvent;
181 int _numberOfDetents;
183 bool _continuousDrag;
184 int _whichObjectThumbWheel;
185 int _whichObjectOdometer;
187 int _browserIndexThumbWheel;
188 int _browserIndexOdometer;
192 unsigned int _currentCursor;
virtual void SetAvailableAttributes(unsigned int value)
virtual void CopyProperties(DisplayObject *src)
Definition: dynamic_array.h:62
The disti::Group class. Implements groups of objects.
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:301
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL)
virtual DisplayObject * Pick3D(const Vector &winLoc, const Vector &logicalCoords, float scale, const Vector &directionVector, Vector &collisionWinLoc, const OpenGLMatrices &drawnMatrices)
InputOrientationEnum InputType(void)
virtual DisplayObject * handle(DisplayEvent *ev)
InputOrientationEnum
Enumeration for Input Operators.
Definition: glsutil.h:262
The disti::GlsOdometer class.
int WhichObjectOdometer()
Definition: gls_glo_file.h:982
virtual void SetValue(int spec, va_list &args)
GlsThumbWheel(bool generateInstance=false)
int WhichObjectThumbWheel()
virtual void PreDraw(const OpenGLMatrices &parentMatrices, Culler &culler)
Definition: gls_thumb_wheel.h:83
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
virtual DisplayObject * CloneObject(bool generateNames=false)
GL Studio helper functions.
Definition: bmpimage.h:46