31 #if defined (G4VIS_BUILD_OPENGLXM_DRIVER) || defined (G4VIS_USE_OPENGLXM)
33 #ifndef G4OPENGLXMTEXTFIELD_HH
34 #define G4OPENGLXMTEXTFIELD_HH
39 class G4OpenGLXmTextField :
public G4OpenGLXmVWidgetComponent
43 G4OpenGLXmTextField (
const char*,
G4double*);
44 G4OpenGLXmTextField (
const char*,
const char*);
45 virtual ~G4OpenGLXmTextField ();
47 void SetName (
const char*);
48 const char* GetName ();
51 void SetValue (
const char*);
52 const char* GetValue ();
54 void AddYourselfTo (G4OpenGLXmVWidgetContainer*);
56 Widget* GetPointerToParent ();
57 Widget* GetPointerToWidget ();
60 G4OpenGLXmTextField (
const G4OpenGLXmTextField&);
61 G4OpenGLXmTextField& operator = (
const G4OpenGLXmTextField&);