48 #if( defined( GLSGEN_EXPORT_GlsPushButton ) || defined( GLSGEN_IMPORT_GlsPushButton ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
49 && defined( _MSC_VER )
50 # if defined( GLSGEN_EXPORT_GlsPushButton ) || defined( GLS_EXPORT_GENERATED )
51 # define GLSGEN_GlsPushButton_EXPORT __declspec( dllexport )
53 # define GLSGEN_GlsPushButton_EXPORT __declspec( dllimport )
56 # define GLSGEN_GlsPushButton_EXPORT
60 #define LIB_BASE_NAME "gls_push_button"
68 GLS_GLSBUTTON_CHANGE_CALLBACK = GLS_LAST_INITIALIZER + 1,
70 GLS_GLSBUTTON_WHICH_OBJ_POS_UP,
71 GLS_GLSBUTTON_WHICH_OBJ_POS_DOWN,
73 GLS_GLSBUTTON_EMIT_STATE_CHANGE_EVENT
87 virtual void SetValue(
int spec, va_list& args );
90 int _whichObjectPosUp;
91 int _whichObjectPosDown;
93 bool _emitStateChangeEvent;
96 unsigned int _currentCursor;
98 friend class GlsPushButtonEditor;
103 GLSGEN_GlsPushButton_EXPORT
GlsPushButton(
bool generateInstance =
false );
105 GLSGEN_GlsPushButton_EXPORT GlsPushButton(
const GlsPushButton& that,
const bool generateNames );
110 static GLSGEN_GlsPushButton_EXPORT
DisplayObject* CreateInstance();
118 virtual GLSGEN_GlsPushButton_EXPORT
void Draw(
void );
145 virtual GLSGEN_GlsPushButton_EXPORT
void Toggle(
bool toggle );
150 virtual GLSGEN_GlsPushButton_EXPORT
bool Toggle(
void )
const;
154 const Vector& logicalCoords,
156 const Vector& directionVector,
174 virtual void State(
const int& state );
184 const Vector& logicalCoords,
185 float scale,
const Vector& directionVector,
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:276
Definition: gls_glo_file.h:982
Macros and helper code to determine what subset of C++11/14/17 is available.
Definition: bmpimage.h:46