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;
88 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
95 GLSGEN_GLSTHUMBWHEEL_EXPORT
GlsThumbWheel(
bool generateInstance =
false );
100 static GLSGEN_GLSTHUMBWHEEL_EXPORT
DisplayObject* CreateInstance();
114 virtual GLSGEN_GLSTHUMBWHEEL_EXPORT
void Draw(
void );
121 virtual void SetValue(
int spec, va_list& args );
130 GLSGEN_GLSTHUMBWHEEL_EXPORT
void DetentVal(
const int& val );
135 GLSGEN_GLSTHUMBWHEEL_EXPORT
int DetentVal();
140 GLSGEN_GLSTHUMBWHEEL_EXPORT
void IndexVal(
const int& val );
145 GLSGEN_GLSTHUMBWHEEL_EXPORT
int IndexVal();
169 const Vector& logicalCoords,
171 const Vector& directionVector,
177 bool _emitDetentValEvent;
178 bool _emitLimitEvent;
179 bool _emitReleaseEvent;
183 int _numberOfDetents;
185 bool _continuousDrag;
186 int _whichObjectThumbWheel;
187 int _whichObjectOdometer;
189 int _browserIndexThumbWheel;
190 int _browserIndexOdometer;
194 unsigned int _currentCursor;
virtual void SetAvailableAttributes(unsigned int value)
virtual void CopyProperties(DisplayObject *src)
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:436
Definition: dynamic_array.h:66
The disti::Group class. Implements groups of objects.
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:296
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