48 #if( defined( GLSGEN_EXPORT_GlsSwitch ) || defined( GLSGEN_IMPORT_GlsSwitch ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \ 
   49     && defined( _MSC_VER ) 
   50 #    if defined( GLSGEN_EXPORT_GlsSwitch ) || defined( GLS_EXPORT_GENERATED ) 
   51 #        define GLSGEN_GlsSwitch_EXPORT __declspec( dllexport ) 
   53 #        define GLSGEN_GlsSwitch_EXPORT __declspec( dllimport ) 
   56 #    define GLSGEN_GlsSwitch_EXPORT 
   60 #define LIB_BASE_NAME "gls_switch" 
   68     GLS_GLSSWITCH_INITIAL_DETENT_VAL = GLS_LAST_INITIALIZER + 1,
 
   69     GLS_GLSSWITCH_WHICH_OBJECT_BACKGROUND,
 
   70     GLS_GLSSWITCH_FIRST_DETENT_SNAPBACK, 
 
   71     GLS_GLSSWITCH_LAST_DETENT_SNAPBACK,  
 
   72     GLS_GLSSWITCH_EMIT_DETENT_VAL_EVENT,
 
   73     GLS_GLSSWITCH_EMIT_LIMIT_EVENT,
 
   74     GLS_GLSSWITCH_EMIT_RELEASE_EVENT
 
   85     friend class GlsSwitchEditor;
 
   86     DISTI_DEPRECATED( 
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
 
   91     bool _firstDetentSnapback;
 
   92     bool _lastDetentSnapback;
 
   93     int  _whichObjectBackground; 
 
   94     bool _emitDetentValEvent;
 
  123     GLSGEN_GlsSwitch_EXPORT 
GlsSwitch( 
bool generateInstance = 
false );
 
  130     static GLSGEN_GlsSwitch_EXPORT 
DisplayObject* CreateInstance();
 
  138     virtual GLSGEN_GlsSwitch_EXPORT 
void Draw( 
void );
 
  154     virtual GLSGEN_GlsSwitch_EXPORT 
void SetValue( 
int spec, va_list& args );
 
  167     virtual GLSGEN_GlsSwitch_EXPORT 
void DetentVal( const 
int& val );
 
  172     virtual GLSGEN_GlsSwitch_EXPORT 
int DetentVal();
 
  195     bool _emitLimitEvent;
 
  196     bool _emitReleaseEvent;
 
  201     unsigned int _currentCursor; 
 
  208         float scale = 1.0f );
 
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute. 
Definition: gls_cpp_lang_support.h:436
virtual void PreDraw(const OpenGLMatrices &parentMatrices, Culler &culler)
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
bool EmitDetentValEvent()
Definition: gls_switch.h:99
virtual int WhichObjectBackground() const 
int CalcSwitchPosDCS(DisplayObject *self, DisplayEvent *ev, InputOrientationEnum inputType, int numPositions, float scale=1.0f)
InputOrientationEnum
Enumeration for Input Operators. 
Definition: glsutil.h:262
bool EmitLimitEvent()
Definition: gls_switch.h:104
Definition: gls_glo_file.h:982
Definition: gls_switch.h:78
virtual void CopyProperties(DisplayObject *src)
DisplayObject * BackgroundGeometry() const 
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
virtual void SetValue(int spec, va_list &args)
bool IsVisibleInScene(const DisplayObject *obj=NULL) const DISTI_METHOD_OVERRIDE
DisplayObject * handle(DisplayEvent *ev)
DisplayObject * DetentGeometry(int detent) const 
Macros and helper code to determine what subset of C++11/14/17 is available. 
virtual DisplayObject * CloneObject(bool generateNames=false)
GL Studio helper functions. 
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL)
Definition: bmpimage.h:46
bool EmitReleaseEvent()
Definition: gls_switch.h:109
virtual void SetAvailableAttributes(unsigned int value)