Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4OpenGLXmTextField.hh,v 2.2 1998/08/07 12:46:30 barrand Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
//
|
||||
//Text field class. Inherits from G4OpenGLXmVWidgetComponent
|
||||
|
||||
#ifdef G4VIS_BUILD_OPENGLXM_DRIVER
|
||||
|
||||
#ifndef G4OPENGLXMTEXTFIELD_HH
|
||||
#define G4OPENGLXMTEXTFIELD_HH
|
||||
|
||||
#include "G4OpenGLXmVWidgetComponent.hh"
|
||||
//#include "G4OpenGLXmConvenienceRoutines.hh"
|
||||
|
||||
class G4OpenGLXmTextField : public G4OpenGLXmVWidgetComponent
|
||||
{
|
||||
|
||||
public:
|
||||
G4OpenGLXmTextField (char*,G4double*); //constructor
|
||||
G4OpenGLXmTextField (char*,char*); //constructor
|
||||
~G4OpenGLXmTextField (); //destructor
|
||||
|
||||
void SetName (char*);
|
||||
char* GetName ();
|
||||
|
||||
void SetValue (G4double);
|
||||
void SetValue (char*);
|
||||
char* GetValue ();
|
||||
|
||||
void AddYourselfTo (G4OpenGLXmVWidgetContainer*);
|
||||
|
||||
Widget* GetPointerToParent ();
|
||||
Widget* GetPointerToWidget ();
|
||||
|
||||
private:
|
||||
char* name;
|
||||
void* value;
|
||||
G4bool text;
|
||||
char* initial;
|
||||
Widget text_label;
|
||||
Widget text_field;
|
||||
Widget* parent;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user