32 #ifdef G4VIS_BUILD_OPENGLXM_DRIVER
34 #ifndef G4OPENGLXMSLIDERBAR_HH
35 #define G4OPENGLXMSLIDERBAR_HH
39 class G4OpenGLXmSliderBar :
public G4OpenGLXmVWidgetComponent
43 G4OpenGLXmSliderBar (
const char* = NULL,
44 XtCallbackRec* = NULL,
50 unsigned char = XmHORIZONTAL,
51 unsigned char = XmMAX_ON_RIGHT);
53 virtual ~G4OpenGLXmSliderBar ();
55 void SetName (
const char*);
57 void SetDecimalPlaces (
short);
61 void SetOrientation (
unsigned char);
62 void SetDirection (
unsigned char);
65 const char* GetName ();
67 short GetDecimalPlaces ();
71 unsigned char GetOrientation ();
72 unsigned char GetDirection ();
74 void AddYourselfTo (G4OpenGLXmVWidgetContainer*);
76 Widget* GetPointerToParent ();
77 Widget* GetPointerToWidget ();
80 G4OpenGLXmSliderBar (
const G4OpenGLXmSliderBar&);
81 G4OpenGLXmSliderBar& operator = (
const G4OpenGLXmSliderBar&);
83 XtCallbackRec* callback;
91 unsigned char orientation;
92 unsigned char direction;