Import Geant4 7.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 11:11:55 +02:00
parent e083ffb441
commit 516dbf1a58
5914 changed files with 202605 additions and 71141 deletions
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIArrayString.cc,v 1.7 2003/06/16 16:55:58 gunter Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
#include <iomanip>
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIWin32.cc,v 1.12 2004/06/07 13:33:36 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// G.Barrand
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIXaw.cc,v 1.5 2002/11/06 08:12:37 barrand Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// G.Barrand
+20 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4UIXm.cc,v 1.11 2003/06/16 16:56:00 gunter Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// $Id: G4UIXm.cc,v 1.12 2004/11/21 16:56:34 gbarrand Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// G.Barrand
@@ -55,9 +55,12 @@
#include "G4Xt.hh"
#include <stdlib.h>
static void XmTextAppendString (Widget,char*);
static void clearButtonCallback (Widget,XtPointer,XtPointer);
static char* XmConvertCompoundStringToString (XmString,int);
static G4bool ConvertStringToInt(const char*,int&);
static void ExecuteChangeSizeFunction(Widget);
@@ -86,6 +89,21 @@ G4UIXm::G4UIXm (
Widget top = (Widget)interactorManager->GetMainInteractor();
if(getenv("XENVIRONMENT")==NULL) {
XrmDatabase database = XrmGetDatabase(XtDisplay(top));
if(database!=NULL) {
XrmPutLineResource(&database,"*topShadowColor:white");
XrmPutLineResource(&database,"*bottomShadowColor:black");
XrmPutLineResource(&database,"*foreground:black");
XrmPutLineResource(&database,"*background:lightgrey");
XrmPutLineResource(&database,"*borderColor:lightgrey");
XrmPutLineResource(&database,"*fontList:-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-1");
XrmPutLineResource(&database,"*text.background:white");
XrmPutLineResource(&database,"*text.fontList:*courier*-r-*--14-*");
XrmPutLineResource(&database,"*text.maxLength:8000");
}
}
Arg args[9];
XtSetArg(args[0],XmNkeyboardFocusPolicy,XmPOINTER); // For completion.
shell = XtAppCreateShell ("G4UIXm","G4UIXm",
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcsh.cc,v 1.7 2003/06/16 16:56:01 gunter Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
#include "G4UIcsh.hh"
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UItcsh.cc,v 1.10 2003/06/16 16:56:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
#ifndef WIN32
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIterminal.cc,v 1.19 2003/06/16 16:56:03 gunter Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
#include "G4Types.hh"
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4VUIshell.cc,v 1.8 2003/06/16 16:56:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
#include "G4UImanager.hh"