Import Geant4 2.0.0 source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# $Id: GNUmakefile,v 1.1 1999/01/07 16:09:36 gunter Exp $
|
||||
# $Id: GNUmakefile,v 1.2 2000/06/21 17:43:37 johna Exp $
|
||||
# -------------------------------------------------------------
|
||||
# GNUmakefile for interfaces/common library. John Allison, 6/7/98.
|
||||
|
||||
@@ -9,6 +9,7 @@ ifndef G4INSTALL
|
||||
endif
|
||||
|
||||
include $(G4INSTALL)/config/architecture.gmk
|
||||
include $(G4INSTALL)/config/G4VIS_BUILD.gmk
|
||||
include $(G4INSTALL)/config/G4UI_BUILD.gmk
|
||||
include $(G4INSTALL)/config/interactivity.gmk
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ private:
|
||||
G4UIdirectory* interactorDirectory;
|
||||
G4UIcommand* addMenu;
|
||||
G4UIcommand* addButton;
|
||||
G4UIcommand* sys;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VBasicShell.hh,v 1.4.4.1 1999/12/07 20:49:09 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4VBasicShell.hh,v 1.5 1999/12/15 14:50:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
|
||||
#ifndef G4VBasicShell_H
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VInteractorManager.hh,v 1.5.4.1 1999/12/07 20:49:10 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4VInteractorManager.hh,v 1.6 1999/12/15 14:50:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
// G.Barrand
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Win32.hh,v 1.4.4.1 1999/12/07 20:49:10 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4Win32.hh,v 1.5 1999/12/15 14:50:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
// To unify Windows message treatment between
|
||||
// G4/interfaces Windows sessions and G4/visualizations Windows drivers.
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Xt.hh,v 1.3.4.1 1999/12/07 20:49:10 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4Xt.hh,v 1.4 1999/12/15 14:50:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
// To unify X11 event treatment between
|
||||
// G4/interfaces Xt sessions and G4/visualizations Xt drivers.
|
||||
|
||||
@@ -28,11 +28,11 @@ G4InteractorMessenger::G4InteractorMessenger (
|
||||
|
||||
G4UIparameter* parameter;
|
||||
|
||||
interactorDirectory = new G4UIdirectory("/interactor/");
|
||||
interactorDirectory = new G4UIdirectory("/gui/");
|
||||
interactorDirectory->SetGuidance("UI interactors commands.");
|
||||
|
||||
// /interactor/addMenu :
|
||||
addMenu = new G4UIcommand("/interactor/addMenu",this);
|
||||
// /gui/addMenu :
|
||||
addMenu = new G4UIcommand("/gui/addMenu",this);
|
||||
addMenu->SetGuidance("Add a menu to menu bar.");
|
||||
parameter = new G4UIparameter("Name",'s',false);
|
||||
parameter->SetDefaultValue("dummy");
|
||||
@@ -41,8 +41,8 @@ G4InteractorMessenger::G4InteractorMessenger (
|
||||
parameter->SetDefaultValue("dummy");
|
||||
addMenu->SetParameter (parameter);
|
||||
|
||||
// /interactor/addButton :
|
||||
addButton = new G4UIcommand("/interactor/addButton",this);
|
||||
// /gui/addButton :
|
||||
addButton = new G4UIcommand("/gui/addButton",this);
|
||||
addButton->SetGuidance("Add a button to menu.");
|
||||
parameter = new G4UIparameter("Menu",'s',false);
|
||||
parameter->SetDefaultValue("dummy");
|
||||
@@ -54,6 +54,13 @@ G4InteractorMessenger::G4InteractorMessenger (
|
||||
parameter->SetDefaultValue("");
|
||||
addButton->SetParameter (parameter);
|
||||
|
||||
// /gui/system :
|
||||
sys = new G4UIcommand("/gui/system",this);
|
||||
sys->SetGuidance("Send a command to the system.");
|
||||
parameter = new G4UIparameter("Command",'s',false);
|
||||
parameter->SetDefaultValue("");
|
||||
sys->SetParameter (parameter);
|
||||
|
||||
}
|
||||
|
||||
G4InteractorMessenger::~G4InteractorMessenger()
|
||||
@@ -75,6 +82,8 @@ void G4InteractorMessenger::SetNewValue (
|
||||
session->AddMenu((const char*)params[0],(const char*)params[1]);
|
||||
} else if(command==addButton) {
|
||||
session->AddButton((const char*)params[0],(const char*)params[1],(const char*)params[2]);
|
||||
} else if(command==sys) {
|
||||
system((const char*)params[0]);
|
||||
}
|
||||
}
|
||||
delete [] params;
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VBasicShell.cc,v 1.5.4.1.2.5 1999/12/14 09:16:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4VBasicShell.cc,v 1.6 1999/12/15 14:50:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
|
||||
#include "g4std/vector"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VInteractorManager.cc,v 1.7.4.1.2.3 1999/12/15 11:43:36 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4VInteractorManager.cc,v 1.8 1999/12/15 14:50:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
// G.Barrand
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Win32.cc,v 1.4.8.1.2.1 1999/12/08 17:34:04 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4Win32.cc,v 1.5 1999/12/15 14:50:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
// G.Barrand
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Xt.cc,v 1.4.6.1.2.1 1999/12/08 17:34:04 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4Xt.cc,v 1.5 1999/12/15 14:50:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
// G.Barrand
|
||||
|
||||
|
||||
Reference in New Issue
Block a user