48 #if (defined(GLSGEN_EXPORT_GlsPushButton) || \
49 defined(GLSGEN_IMPORT_GlsPushButton) || \
50 defined(GLS_EXPORT_GENERATED) || \
51 defined(GLS_IMPORT_GENERATED)) \
53 # if defined(GLSGEN_EXPORT_GlsPushButton) || defined(GLS_EXPORT_GENERATED)
54 # define GLSGEN_GlsPushButton_EXPORT __declspec(dllexport)
56 # define GLSGEN_GlsPushButton_EXPORT __declspec(dllimport)
59 # define GLSGEN_GlsPushButton_EXPORT
63 # define LIB_BASE_NAME "gls_push_button"
71 GLS_GLSBUTTON_CHANGE_CALLBACK = GLS_LAST_INITIALIZER+1,
73 GLS_GLSBUTTON_WHICH_OBJ_POS_UP,
74 GLS_GLSBUTTON_WHICH_OBJ_POS_DOWN,
76 GLS_GLSBUTTON_EMIT_STATE_CHANGE_EVENT
90 virtual void SetValue(
int spec,va_list &args);
93 int _whichObjectPosUp;
94 int _whichObjectPosDown;
96 bool _emitStateChangeEvent;
99 unsigned int _currentCursor;
101 friend class GlsPushButtonEditor;
106 GLSGEN_GlsPushButton_EXPORT
GlsPushButton(
bool generateInstance=
false);
108 GLSGEN_GlsPushButton_EXPORT GlsPushButton(
const GlsPushButton& that,
const bool generateNames );
113 static GLSGEN_GlsPushButton_EXPORT
DisplayObject *CreateInstance();
121 virtual GLSGEN_GlsPushButton_EXPORT
void Draw(
void);
127 const Vector& logicalCoords,
129 const Vector& directionVector,
147 virtual void State(
const int& state );
157 const Vector& logicalCoords,
158 float scale,
const Vector& directionVector,
166 virtual GLS_EXPORT
void SetFromGloData(GlsGloFileAttribute &data);
Definition: dynamic_array.h:63
The disti::Group class. Implements groups of objects.
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:289
Macros and helper code to determine what subset of C++11/14/17 is available.
Definition: bmpimage.h:46