31 #if defined (G4VIS_BUILD_OPENGLXM_DRIVER) || defined (G4VIS_USE_OPENGLXM)
33 #ifndef G4OPENGLXMSLIDERBAR_HH
34 #define G4OPENGLXMSLIDERBAR_HH
38 class G4OpenGLXmSliderBar :
public G4OpenGLXmVWidgetComponent
42 G4OpenGLXmSliderBar (
const char* = NULL,
43 XtCallbackRec* = NULL,
49 unsigned char = XmHORIZONTAL,
50 unsigned char = XmMAX_ON_RIGHT);
52 virtual ~G4OpenGLXmSliderBar ();
54 void SetName (
const char*);
56 void SetDecimalPlaces (
short);
60 void SetOrientation (
unsigned char);
61 void SetDirection (
unsigned char);
64 const char* GetName ();
66 short GetDecimalPlaces ();
70 unsigned char GetOrientation ();
71 unsigned char GetDirection ();
73 void AddYourselfTo (G4OpenGLXmVWidgetContainer*);
75 Widget* GetPointerToParent ();
76 Widget* GetPointerToWidget ();
79 G4OpenGLXmSliderBar (
const G4OpenGLXmSliderBar&);
80 G4OpenGLXmSliderBar& operator = (
const G4OpenGLXmSliderBar&);
82 XtCallbackRec* callback;
90 unsigned char orientation;
91 unsigned char direction;