Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoWinGDIThumbWheel.h File Reference

Go to the source code of this file.

Macros

#define THUMBWHEEL_START   0
 
#define THUMBWHEEL_DRAG   1
 
#define THUMBWHEEL_FINISH   2
 
#define THUMBWHEEL_VALUE_CHANGE   3
 
#define XmCR_DRAG   THUMBWHEEL_DRAG
 
#define XmCR_VALUE_CHANGED   THUMBWHEEL_VALUE_CHANGE
 

Typedefs

typedef void SoWinGDIThumbWheelCB(void *userData, void *data)
 
typedef SoWinGDIThumbWheelSgThumbWheelWidget
 

Functions

 SoWinGDIThumbWheel (SoWidget parent=NULL, const char *name=NULL, SbBool buildInsideParent=TRUE, SbBool horizontal=TRUE)
 
SoEXTENDER SoWinGDIThumbWheel (SoWidget parent, const char *name, SbBool buildInsideParent, SbBool horizontal, SbBool buildNow)
 
 ~SoWinGDIThumbWheel ()
 
void realizeWidget ()
 
void setValue (float v)
 
float getValue ()
 
void addStartCallback (SoWinGDIThumbWheelCB *f, void *userData=NULL)
 
void addValueChangedCallback (SoWinGDIThumbWheelCB *f, void *userData=NULL)
 
void addDragCallback (SoWinGDIThumbWheelCB *f, void *userData=NULL)
 
void addFinishCallback (SoWinGDIThumbWheelCB *f, void *userData=NULL)
 
void removeStartCallback (SoWinGDIThumbWheelCB *f, void *userData=NULL)
 
void removeValueChangedCallback (SoWinGDIThumbWheelCB *f, void *userData=NULL)
 
void removeDragCallback (SoWinGDIThumbWheelCB *f, void *userData=NULL)
 
void removeFinishCallback (SoWinGDIThumbWheelCB *f, void *userData=NULL)
 
SbBool isInteractive ()
 
void setBounds (int nLower, int nUpper)
 
void setHomePosition (int n)
 
void setAngleRange (int n)
 
void setUnitsPerRotation (int n)
 
void setHighlightThickness (int n)
 
void setShadowThickness (int n)
 
void setValue (int n)
 
void setOrientation (unsigned char n)
 
void setAnimate (SbBool n)
 
void setShowHomeButton (SbBool n)
 

Variables

float value { int reason
 
 SoWinGDIThumbWheelCBData
 

Macro Definition Documentation

◆ THUMBWHEEL_DRAG

#define THUMBWHEEL_DRAG   1

Definition at line 51 of file SoWinGDIThumbWheel.h.

◆ THUMBWHEEL_FINISH

#define THUMBWHEEL_FINISH   2

Definition at line 52 of file SoWinGDIThumbWheel.h.

◆ THUMBWHEEL_START

#define THUMBWHEEL_START   0

Definition at line 50 of file SoWinGDIThumbWheel.h.

◆ THUMBWHEEL_VALUE_CHANGE

#define THUMBWHEEL_VALUE_CHANGE   3

Definition at line 53 of file SoWinGDIThumbWheel.h.

◆ XmCR_DRAG

#define XmCR_DRAG   THUMBWHEEL_DRAG

Definition at line 56 of file SoWinGDIThumbWheel.h.

◆ XmCR_VALUE_CHANGED

#define XmCR_VALUE_CHANGED   THUMBWHEEL_VALUE_CHANGE

Definition at line 57 of file SoWinGDIThumbWheel.h.

Typedef Documentation

◆ SgThumbWheelWidget

Definition at line 61 of file SoWinGDIThumbWheel.h.

◆ SoWinGDIThumbWheelCB

typedef void SoWinGDIThumbWheelCB(void *userData, void *data)

Definition at line 40 of file SoWinGDIThumbWheel.h.

Function Documentation

◆ addDragCallback()

void addDragCallback ( SoWinGDIThumbWheelCB f,
void *  userData = NULL 
)

◆ addFinishCallback()

void addFinishCallback ( SoWinGDIThumbWheelCB f,
void *  userData = NULL 
)

◆ addStartCallback()

void addStartCallback ( SoWinGDIThumbWheelCB f,
void *  userData = NULL 
)

◆ addValueChangedCallback()

void addValueChangedCallback ( SoWinGDIThumbWheelCB f,
void *  userData = NULL 
)

◆ getValue()

float getValue ( )

Definition at line 102 of file SoWinGDIThumbWheel.h.

◆ isInteractive()

SbBool isInteractive ( )

Definition at line 143 of file SoWinGDIThumbWheel.h.

◆ realizeWidget()

void realizeWidget ( )

◆ removeDragCallback()

void removeDragCallback ( SoWinGDIThumbWheelCB f,
void *  userData = NULL 
)

◆ removeFinishCallback()

void removeFinishCallback ( SoWinGDIThumbWheelCB f,
void *  userData = NULL 
)

◆ removeStartCallback()

void removeStartCallback ( SoWinGDIThumbWheelCB f,
void *  userData = NULL 
)

◆ removeValueChangedCallback()

void removeValueChangedCallback ( SoWinGDIThumbWheelCB f,
void *  userData = NULL 
)

◆ setAngleRange()

void setAngleRange ( int  n)

Definition at line 153 of file SoWinGDIThumbWheel.h.

◆ setAnimate()

void setAnimate ( SbBool  n)

Definition at line 172 of file SoWinGDIThumbWheel.h.

◆ setBounds()

void setBounds ( int  nLower,
int  nUpper 
)

Definition at line 146 of file SoWinGDIThumbWheel.h.

◆ setHighlightThickness()

void setHighlightThickness ( int  n)

Definition at line 159 of file SoWinGDIThumbWheel.h.

◆ setHomePosition()

void setHomePosition ( int  n)

Definition at line 150 of file SoWinGDIThumbWheel.h.

◆ setOrientation()

void setOrientation ( unsigned char  n)

Definition at line 169 of file SoWinGDIThumbWheel.h.

◆ setShadowThickness()

void setShadowThickness ( int  n)

Definition at line 162 of file SoWinGDIThumbWheel.h.

◆ setShowHomeButton()

void setShowHomeButton ( SbBool  n)

Definition at line 175 of file SoWinGDIThumbWheel.h.

◆ setUnitsPerRotation()

void setUnitsPerRotation ( int  n)

Definition at line 156 of file SoWinGDIThumbWheel.h.

◆ setValue() [1/2]

void setValue ( float  v)

◆ setValue() [2/2]

void setValue ( int  n)

Definition at line 166 of file SoWinGDIThumbWheel.h.

◆ SoWinGDIThumbWheel() [1/2]

SoEXTENDER SoWinGDIThumbWheel ( SoWidget  parent,
const char *  name,
SbBool  buildInsideParent,
SbBool  horizontal,
SbBool  buildNow 
)

◆ SoWinGDIThumbWheel() [2/2]

SoWinGDIThumbWheel ( SoWidget  parent = NULL,
const char *  name = NULL,
SbBool  buildInsideParent = TRUE,
SbBool  horizontal = TRUE 
)

◆ ~SoWinGDIThumbWheel()

Variable Documentation

◆ SoWinGDIThumbWheelCBData

SoWinGDIThumbWheelCBData

Definition at line 46 of file SoWinGDIThumbWheel.h.

◆ value

float value { int reason

Definition at line 45 of file SoWinGDIThumbWheel.h.