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 GLS_EXPORT
GlsThumbWheel(
const GlsThumbWheel& thumbwheel,
const bool generateNames );
106 static GLSGEN_GLSTHUMBWHEEL_EXPORT
DisplayObject* CreateInstance();
120 virtual GLSGEN_GLSTHUMBWHEEL_EXPORT
void Draw(
void );
127 virtual void SetValue(
int spec, va_list& args );
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;
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:988
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