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 );
101 GLSGEN_GLSTHUMBWHEEL_EXPORT
GlsThumbWheel(
const GlsThumbWheel& thumbwheel,
const bool generateNames );
106 static GLSGEN_GLSTHUMBWHEEL_EXPORT
DisplayObject* CreateInstance();
108 virtual GLSGEN_GLSTHUMBWHEEL_EXPORT
void SetAvailableAttributes(
unsigned int value ) DISTI_METHOD_OVERRIDE;
120 virtual GLSGEN_GLSTHUMBWHEEL_EXPORT
void Draw(
void ) DISTI_METHOD_OVERRIDE;
127 virtual void SetValue(
int spec, va_list& args ) DISTI_METHOD_OVERRIDE;
136 GLSGEN_GLSTHUMBWHEEL_EXPORT
void DetentVal(
const int& val );
141 GLSGEN_GLSTHUMBWHEEL_EXPORT
int DetentVal();
146 GLSGEN_GLSTHUMBWHEEL_EXPORT
void IndexVal(
const int& val );
151 GLSGEN_GLSTHUMBWHEEL_EXPORT
int IndexVal();
175 const Vector& logicalCoords,
177 const Vector& directionVector,
183 bool _emitDetentValEvent;
184 bool _emitLimitEvent;
185 bool _emitReleaseEvent;
189 int _numberOfDetents;
191 bool _continuousDrag;
192 int _whichObjectThumbWheel;
193 int _whichObjectOdometer;
195 int _browserIndexThumbWheel;
196 int _browserIndexOdometer;
200 unsigned int _currentCursor;
206 virtual GLSGEN_GLSTHUMBWHEEL_EXPORT
void SetFromGloData(
GlsGloFileAttribute& data ) DISTI_METHOD_OVERRIDE;
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array) DISTI_METHOD_OVERRIDE
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:436
virtual DisplayObject * CloneObject(bool generateNames=false) DISTI_METHOD_OVERRIDE
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:471
InputOrientationEnum InputType(void)
InputOrientationEnum
Enumeration for Input Operators.
Definition: glsutil.h:262
The disti::GlsOdometer class.
virtual void CopyProperties(DisplayObject *src) DISTI_METHOD_OVERRIDE
int WhichObjectOdometer()
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL) DISTI_METHOD_OVERRIDE
Definition: gls_glo_file.h:988
virtual void PreDraw(const OpenGLMatrices &parentMatrices, Culler &culler) DISTI_METHOD_OVERRIDE
virtual void SetValue(int spec, va_list &args) DISTI_METHOD_OVERRIDE
virtual DisplayObject * Pick3D(const Vector &winLoc, const Vector &logicalCoords, float scale, const Vector &directionVector, Vector &collisionWinLoc, const OpenGLMatrices &drawnMatrices) DISTI_METHOD_OVERRIDE
virtual void Draw(void) DISTI_METHOD_OVERRIDE
virtual void SetAvailableAttributes(unsigned int value) DISTI_METHOD_OVERRIDE
GlsThumbWheel(bool generateInstance=false)
int WhichObjectThumbWheel()
Definition: gls_thumb_wheel.h:83
virtual DisplayObject * handle(DisplayEvent *ev) DISTI_METHOD_OVERRIDE
GL Studio helper functions.
Definition: bmpimage.h:46