Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
// 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: AppDef.h,v 2.1 1998/07/12 02:39:08 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
//
|
||||
// AppDef.h
|
||||
//
|
||||
|
||||
#ifndef GUI_AppDef_H
|
||||
#define GUI_AppDef_H
|
||||
|
||||
#include "facdef.h"
|
||||
|
||||
#define GUI_i "GUI.h"
|
||||
#define G4XvtGUI_i "g4xvtgui.h"
|
||||
#define G4XvtDoc_i "g4xvtdoc.h"
|
||||
#define G4XvtWin_i "g4xvtwin.h"
|
||||
#endif /* AppDef_H */
|
||||
@@ -0,0 +1,44 @@
|
||||
// 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: _ctskdoc.h,v 2.1 1998/07/12 02:39:08 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#ifndef _ctskdoc_factory_h
|
||||
#define _ctskdoc_factory_h
|
||||
|
||||
#include "facdec.h"
|
||||
|
||||
|
||||
// Factory IDs:
|
||||
|
||||
#ifndef CTaskDoc1003
|
||||
#define CTaskDoc1003 1003
|
||||
#endif
|
||||
|
||||
// Object Data Members:
|
||||
|
||||
|
||||
class CTaskDoc1003Data : public CDataMembers
|
||||
{
|
||||
PWRClassInfo
|
||||
virtual void Initialize(PAFactory* theFactory);
|
||||
|
||||
public:
|
||||
|
||||
CTaskWin* itsCTaskWin1004;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
// 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: _ctskwin.h,v 2.1 1998/07/12 02:39:09 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#ifndef _ctskwin_factory_h
|
||||
#define _ctskwin_factory_h
|
||||
|
||||
#include "facdec.h"
|
||||
|
||||
|
||||
// Factory IDs:
|
||||
|
||||
#ifndef CTaskWin1004
|
||||
#define CTaskWin1004 1004
|
||||
#endif
|
||||
|
||||
// Object Data Members:
|
||||
|
||||
|
||||
class CTaskWin1004Data : public CDataMembers
|
||||
{
|
||||
PWRClassInfo
|
||||
virtual void Initialize(PAFactory* theFactory);
|
||||
|
||||
public:
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
// 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: _g4xvtdc.h,v 2.1 1998/07/12 02:39:09 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#ifndef _g4xvtdc_factory_h
|
||||
#define _g4xvtdc_factory_h
|
||||
|
||||
#include "facdec.h"
|
||||
|
||||
|
||||
// Factory IDs:
|
||||
|
||||
#ifndef G4Doc
|
||||
#define G4Doc 1009
|
||||
#endif
|
||||
|
||||
// Object Data Members:
|
||||
|
||||
|
||||
class G4DocData : public CDataMembers
|
||||
{
|
||||
PWRClassInfo
|
||||
virtual void Initialize(PAFactory* theFactory);
|
||||
|
||||
public:
|
||||
|
||||
G4XvtWin* itsG4Win;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
// 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: _g4xvtgu.h,v 2.1 1998/07/12 02:39:10 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#ifndef _g4xvtgu_factory_h
|
||||
#define _g4xvtgu_factory_h
|
||||
|
||||
#include "facdec.h"
|
||||
|
||||
|
||||
// Factory IDs:
|
||||
|
||||
#ifndef G4XvtGUI1002
|
||||
#define G4XvtGUI1002 1002
|
||||
#endif
|
||||
|
||||
// Object Data Members:
|
||||
|
||||
|
||||
class G4XvtGUI1002Data : public CDataMembers
|
||||
{
|
||||
PWRClassInfo
|
||||
virtual void Initialize(PAFactory* theFactory);
|
||||
|
||||
public:
|
||||
|
||||
CTaskDoc* itsCTaskDoc1003;
|
||||
G4XvtDoc* itsG4Doc;
|
||||
};
|
||||
|
||||
#define PAFACTORY_APP_ABOUT_BOX 0
|
||||
#define PAFACTORY_APP_BASE_NAME "PwrApp"
|
||||
#define PAFACTORY_APP_NAME "XVT - Geant 4"
|
||||
#define PAFACTORY_APP_MENU MENU_BAR_RID
|
||||
#define PAFACTORY_APP_TITLE "PwrApp"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,138 @@
|
||||
// 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: _g4xvtwn.h,v 2.1 1998/07/12 02:39:10 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#ifndef _g4xvtwn_factory_h
|
||||
#define _g4xvtwn_factory_h
|
||||
|
||||
#include "facdec.h"
|
||||
|
||||
|
||||
// Factory IDs:
|
||||
|
||||
#ifndef G4Win
|
||||
#define G4Win 1010
|
||||
#endif
|
||||
#ifndef progStatus
|
||||
#define progStatus 1017
|
||||
#endif
|
||||
#ifndef LogBar
|
||||
#define LogBar 1062
|
||||
#endif
|
||||
#ifndef CMenuButton1063
|
||||
#define CMenuButton1063 1063
|
||||
#endif
|
||||
#ifndef CMenuButton1064
|
||||
#define CMenuButton1064 1064
|
||||
#endif
|
||||
#ifndef CMenuButton1065
|
||||
#define CMenuButton1065 1065
|
||||
#endif
|
||||
#ifndef CMenuButton1076
|
||||
#define CMenuButton1076 1076
|
||||
#endif
|
||||
#ifndef CMenuButton1077
|
||||
#define CMenuButton1077 1077
|
||||
#endif
|
||||
#ifndef CMenuButton1078
|
||||
#define CMenuButton1078 1078
|
||||
#endif
|
||||
#ifndef CMenuButton1079
|
||||
#define CMenuButton1079 1079
|
||||
#endif
|
||||
#ifndef CMenuButton1080
|
||||
#define CMenuButton1080 1080
|
||||
#endif
|
||||
#ifndef getComButton
|
||||
#define getComButton 1083
|
||||
#endif
|
||||
#ifndef commandBox
|
||||
#define commandBox 1087
|
||||
#endif
|
||||
#ifndef execButton
|
||||
#define execButton 1088
|
||||
#endif
|
||||
#ifndef textExecButton
|
||||
#define textExecButton 1096
|
||||
#endif
|
||||
#ifndef helpButton
|
||||
#define helpButton 1097
|
||||
#endif
|
||||
#ifndef mainTextArea
|
||||
#define mainTextArea 1068
|
||||
#endif
|
||||
#ifndef CommandLog
|
||||
#define CommandLog 1073
|
||||
#endif
|
||||
#ifndef DropArea
|
||||
#define DropArea 1093
|
||||
#endif
|
||||
|
||||
// Object Data Members:
|
||||
|
||||
|
||||
class G4WinData : public CDataMembers
|
||||
{
|
||||
PWRClassInfo
|
||||
virtual void Initialize(PAFactory* theFactory);
|
||||
|
||||
public:
|
||||
|
||||
CStatusBar* itsprogStatus;
|
||||
CToolBar* itsLogBar;
|
||||
CMenuButton* itsCMenuButton1063;
|
||||
CMenuButton* itsCMenuButton1064;
|
||||
CMenuButton* itsCMenuButton1065;
|
||||
CMenuButton* itsCMenuButton1076;
|
||||
CMenuButton* itsCMenuButton1077;
|
||||
CMenuButton* itsCMenuButton1078;
|
||||
CMenuButton* itsCMenuButton1079;
|
||||
CMenuButton* itsCMenuButton1080;
|
||||
CMenuButton* itsgetComButton;
|
||||
NLineText* itscommandBox;
|
||||
CMenuButton* itsexecButton;
|
||||
CMenuButton* itstextExecButton;
|
||||
CMenuButton* itshelpButton;
|
||||
NScrollText* itsmainTextArea;
|
||||
NScrollText* itsCommandLog;
|
||||
CScroller* itsDropArea;
|
||||
};
|
||||
|
||||
|
||||
class LogBarData : public CDataMembers
|
||||
{
|
||||
PWRClassInfo
|
||||
virtual void Initialize(PAFactory* theFactory);
|
||||
|
||||
public:
|
||||
|
||||
CMenuButton* itsCMenuButton1063;
|
||||
CMenuButton* itsCMenuButton1064;
|
||||
CMenuButton* itsCMenuButton1065;
|
||||
CMenuButton* itsCMenuButton1076;
|
||||
CMenuButton* itsCMenuButton1077;
|
||||
CMenuButton* itsCMenuButton1078;
|
||||
CMenuButton* itsCMenuButton1079;
|
||||
CMenuButton* itsCMenuButton1080;
|
||||
CMenuButton* itsgetComButton;
|
||||
NLineText* itscommandBox;
|
||||
CMenuButton* itsexecButton;
|
||||
CMenuButton* itstextExecButton;
|
||||
CMenuButton* itshelpButton;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,110 @@
|
||||
// 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: classes.cxx,v 2.1 1998/07/12 02:39:10 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#include "XVTPwr.h"
|
||||
#include "AppDef.h"
|
||||
#include PAFactory_i
|
||||
|
||||
#define _PA_REF(x) x=x
|
||||
|
||||
#include G4XvtGUI_f
|
||||
|
||||
PWRRegisterClass1( G4XvtGUI1002Data, G4XvtGUI1002, "G4XvtGUI1002Data", CDataMembers)
|
||||
|
||||
void G4XvtGUI1002Data::Initialize(PAFactory* theFactory)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
itsCTaskDoc1003 = (CTaskDoc*) theFactory->GetInstance(1003);
|
||||
itsG4Doc = (G4XvtDoc*) theFactory->GetInstance(1009);
|
||||
}
|
||||
|
||||
#include CTaskDoc_f
|
||||
|
||||
PWRRegisterClass1( CTaskDoc1003Data, CTaskDoc1003, "CTaskDoc1003Data", CDataMembers)
|
||||
|
||||
void CTaskDoc1003Data::Initialize(PAFactory* theFactory)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
itsCTaskWin1004 = (CTaskWin*) theFactory->GetInstance(1004);
|
||||
}
|
||||
|
||||
#include CTaskWin_f
|
||||
|
||||
PWRRegisterClass1( CTaskWin1004Data, CTaskWin1004, "CTaskWin1004Data", CDataMembers)
|
||||
|
||||
void CTaskWin1004Data::Initialize(PAFactory* theFactory)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
}
|
||||
|
||||
#include G4XvtDoc_f
|
||||
|
||||
PWRRegisterClass1( G4DocData, G4Doc, "G4DocData", CDataMembers)
|
||||
|
||||
void G4DocData::Initialize(PAFactory* theFactory)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
itsG4Win = (G4XvtWin*) theFactory->GetInstance(1010);
|
||||
}
|
||||
|
||||
#include G4XvtWin_f
|
||||
|
||||
PWRRegisterClass1( G4WinData, G4Win, "G4WinData", CDataMembers)
|
||||
|
||||
void G4WinData::Initialize(PAFactory* theFactory)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
itsprogStatus = (CStatusBar*) theFactory->GetInstance(1017);
|
||||
itsLogBar = (CToolBar*) theFactory->GetInstance(1062);
|
||||
itsCMenuButton1063 = (CMenuButton*) theFactory->GetInstance(1063);
|
||||
itsCMenuButton1064 = (CMenuButton*) theFactory->GetInstance(1064);
|
||||
itsCMenuButton1065 = (CMenuButton*) theFactory->GetInstance(1065);
|
||||
itsCMenuButton1076 = (CMenuButton*) theFactory->GetInstance(1076);
|
||||
itsCMenuButton1077 = (CMenuButton*) theFactory->GetInstance(1077);
|
||||
itsCMenuButton1078 = (CMenuButton*) theFactory->GetInstance(1078);
|
||||
itsCMenuButton1079 = (CMenuButton*) theFactory->GetInstance(1079);
|
||||
itsCMenuButton1080 = (CMenuButton*) theFactory->GetInstance(1080);
|
||||
itsgetComButton = (CMenuButton*) theFactory->GetInstance(1083);
|
||||
itscommandBox = (NLineText*) theFactory->GetInstance(1087);
|
||||
itsexecButton = (CMenuButton*) theFactory->GetInstance(1088);
|
||||
itstextExecButton = (CMenuButton*) theFactory->GetInstance(1096);
|
||||
itshelpButton = (CMenuButton*) theFactory->GetInstance(1097);
|
||||
itsmainTextArea = (NScrollText*) theFactory->GetInstance(1068);
|
||||
itsCommandLog = (NScrollText*) theFactory->GetInstance(1073);
|
||||
itsDropArea = (CScroller*) theFactory->GetInstance(1093);
|
||||
}
|
||||
|
||||
|
||||
PWRRegisterClass1( LogBarData, LogBar, "LogBarData", CDataMembers)
|
||||
|
||||
void LogBarData::Initialize(PAFactory* theFactory)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
itsCMenuButton1063 = (CMenuButton*) theFactory->GetInstance(1063);
|
||||
itsCMenuButton1064 = (CMenuButton*) theFactory->GetInstance(1064);
|
||||
itsCMenuButton1065 = (CMenuButton*) theFactory->GetInstance(1065);
|
||||
itsCMenuButton1076 = (CMenuButton*) theFactory->GetInstance(1076);
|
||||
itsCMenuButton1077 = (CMenuButton*) theFactory->GetInstance(1077);
|
||||
itsCMenuButton1078 = (CMenuButton*) theFactory->GetInstance(1078);
|
||||
itsCMenuButton1079 = (CMenuButton*) theFactory->GetInstance(1079);
|
||||
itsCMenuButton1080 = (CMenuButton*) theFactory->GetInstance(1080);
|
||||
itsgetComButton = (CMenuButton*) theFactory->GetInstance(1083);
|
||||
itscommandBox = (NLineText*) theFactory->GetInstance(1087);
|
||||
itsexecButton = (CMenuButton*) theFactory->GetInstance(1088);
|
||||
itstextExecButton = (CMenuButton*) theFactory->GetInstance(1096);
|
||||
itshelpButton = (CMenuButton*) theFactory->GetInstance(1097);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
// 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: classes.h,v 2.1 1998/07/12 02:39:11 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
// Include all class definitions:
|
||||
#include "XVTPwr.h"
|
||||
#include CEnvironment_i
|
||||
#include CButton_i
|
||||
#include CText_i
|
||||
#include CPicture_i
|
||||
#include CMenuButton_i
|
||||
#include CScroller_i
|
||||
#include CToolBar_i
|
||||
#include CWindow_i
|
||||
#include NTextEdit_i
|
||||
#include NScrollText_i
|
||||
#include CStatusBar_i
|
||||
#include NLineText_i
|
||||
#include "rw/regexp.h"
|
||||
|
||||
#include G4XvtGUI_i
|
||||
#include CTaskDoc_i
|
||||
#include CTaskWin_i
|
||||
#include G4XvtDoc_i
|
||||
#include G4XvtWin_i
|
||||
@@ -0,0 +1,30 @@
|
||||
// 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: defines.h,v 2.1 1998/07/12 02:39:11 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#ifndef GUI_FactoryDefines_h
|
||||
#define GUI_FactoryDefines_h
|
||||
|
||||
#include "facdef.h"
|
||||
#include "facstr.h"
|
||||
#include "faccmd.h"
|
||||
|
||||
#include G4XvtGUI_f
|
||||
#include CTaskDoc_f
|
||||
#include CTaskWin_f
|
||||
#include G4XvtDoc_f
|
||||
#include G4XvtWin_f
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,35 @@
|
||||
// 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: faccb.h,v 2.1 1998/07/12 02:39:12 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
// Static Factory Initializer
|
||||
|
||||
#if (XVT_CC == XVT_CC_SYMCPLUS || defined XVT_PREDEF_PLACEMENT_NEW)
|
||||
#include "new.h"
|
||||
#else
|
||||
inline void* operator new(size_t, void* m) { return m; }
|
||||
#endif
|
||||
|
||||
class CGUIFactoryInit
|
||||
{
|
||||
public:
|
||||
CGUIFactoryInit() {
|
||||
if (!CGUIFactory::itIsInitialized)
|
||||
new (&GUIFactory) CGUIFactory;
|
||||
}
|
||||
};
|
||||
|
||||
static CGUIFactoryInit _FACTORYInit;
|
||||
|
||||
@@ -0,0 +1,171 @@
|
||||
// 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: faccb0.cxx,v 2.1 1998/07/12 02:39:12 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#include "factory.h"
|
||||
#include "XVTPwr.h"
|
||||
#include "AppDef.h"
|
||||
#include PwrGen_i
|
||||
#include "facdec.h"
|
||||
#include "classes.h"
|
||||
#include "defines.h"
|
||||
#include "faccb.h"
|
||||
#define _PA_REF(x) x=x
|
||||
|
||||
void _Init_GUI_faccb0() { }
|
||||
|
||||
void* C_G4Win_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CDocument* anEnclosure = PtrCast( CDocument, theData );
|
||||
G4XvtWin* anInstance = new G4XvtWin(anEnclosure, CRect((UNITS)50, (UNITS)50, (UNITS)1017, (UNITS)782), NULLString, WSF_SIZE|WSF_CLOSE|WSF_ICONIZABLE|0, W_DOC, G4WinMB+DEFAULT_BASE
|
||||
#if (DSP_TEMPLATE_RELEASE > 03220)
|
||||
, TASK_WIN);
|
||||
#else
|
||||
);
|
||||
#endif
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_G4Win_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
G4XvtWin* anInstance = PtrCast(G4XvtWin, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
{
|
||||
CFont aFont;
|
||||
aFont.Deserialize("01\\system\\0\\12\\");
|
||||
CEnvironment anEnv(0xc0c0c0, 0x7000000, 0xc0c0c0, PAT_SOLID , 0x7000000, PAT_SOLID,1, aFont, M_COPY, P_SOLID, FALSE);
|
||||
|
||||
anInstance->SetEnvironment(anEnv);
|
||||
}
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, STRING1, NULLcmd, NULLcmd, TRUE, TRUE, FALSE, TOPSTICKY|LEFTSTICKY, FALSE, FALSE);
|
||||
|
||||
{
|
||||
CView* aView = (CView*) theFactory->GetInstance(1062);
|
||||
if (aView) anInstance->SetKeyFocus(aView);
|
||||
}
|
||||
|
||||
anInstance->SetBackgroundDrawing(FALSE);
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _G4WinDEFAULT(&GUIFactory, G4Win, 20024, 2, C_G4Win_GUI_DEFAULT, I_G4Win_GUI_DEFAULT, G4Doc, 0, 1, 1, 0);
|
||||
|
||||
void* C_CMenuButton1065_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
CMenuButton *anInstance = new CMenuButton( anEnclosure, CRect((UNITS)54, (UNITS)3, (UNITS)77, (UNITS)26), M_FILE_PRINT );
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_CMenuButton1065_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CMenuButton* anInstance = PtrCast(CMenuButton, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, TRUE, FALSE, TOPSTICKY|LEFTSTICKY, FALSE, FALSE);
|
||||
|
||||
|
||||
anInstance->SetTogglable( FALSE );
|
||||
CImage anImage(1002);
|
||||
CPicture* aPicture = new CPicture( anInstance, CPoint((UNITS)0, (UNITS)0), anImage );
|
||||
_PA_REF(aPicture);
|
||||
anInstance->SetCommands( NULLcmd, NULLcmd, PRINT_INcmd, PRINT_OUTcmd );
|
||||
anInstance->SizeToFit();
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _CMenuButton1065DEFAULT(&GUIFactory, CMenuButton1065, 20126, 3, C_CMenuButton1065_GUI_DEFAULT, I_CMenuButton1065_GUI_DEFAULT, LogBar, 0, 1, 13, 2);
|
||||
|
||||
void* C_CMenuButton1080_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
CMenuButton *anInstance = new CMenuButton( anEnclosure, CRect((UNITS)174, (UNITS)3, (UNITS)197, (UNITS)26), QUITcmd );
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_CMenuButton1080_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CMenuButton* anInstance = PtrCast(CMenuButton, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, TRUE, FALSE, TOPSTICKY|LEFTSTICKY, FALSE, FALSE);
|
||||
|
||||
|
||||
anInstance->SetTogglable( FALSE );
|
||||
CImage anImage(1007);
|
||||
CPicture* aPicture = new CPicture( anInstance, CPoint((UNITS)0, (UNITS)0), anImage );
|
||||
_PA_REF(aPicture);
|
||||
anInstance->SetCommands( NULLcmd, NULLcmd, QUIT_INcmd, QUIT_OUTcmd );
|
||||
anInstance->SizeToFit();
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _CMenuButton1080DEFAULT(&GUIFactory, CMenuButton1080, 20126, 3, C_CMenuButton1080_GUI_DEFAULT, I_CMenuButton1080_GUI_DEFAULT, LogBar, 0, 1, 13, 7);
|
||||
|
||||
void* C_helpButton_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
CMenuButton *anInstance = new CMenuButton( anEnclosure, CRect((UNITS)711, (UNITS)3, (UNITS)734, (UNITS)26), HELPcmd );
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_helpButton_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CMenuButton* anInstance = PtrCast(CMenuButton, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, FALSE, FALSE, TOPSTICKY|LEFTSTICKY, FALSE, FALSE);
|
||||
|
||||
|
||||
anInstance->SetTogglable( FALSE );
|
||||
CImage anImage(1011);
|
||||
CPicture* aPicture = new CPicture( anInstance, CPoint((UNITS)0, (UNITS)0), anImage );
|
||||
_PA_REF(aPicture);
|
||||
anInstance->SetCommands( NULLcmd, NULLcmd, HELP_INcmd, HELP_OUTcmd );
|
||||
anInstance->SizeToFit();
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _helpButtonDEFAULT(&GUIFactory, helpButton, 20126, 3, C_helpButton_GUI_DEFAULT, I_helpButton_GUI_DEFAULT, LogBar, 0, 1, 13, 12);
|
||||
|
||||
@@ -0,0 +1,186 @@
|
||||
// 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: faccb1.cxx,v 2.1 1998/07/12 02:39:12 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#include "factory.h"
|
||||
#include "XVTPwr.h"
|
||||
#include "AppDef.h"
|
||||
#include PwrGen_i
|
||||
#include "facdec.h"
|
||||
#include "classes.h"
|
||||
#include "defines.h"
|
||||
#include "faccb.h"
|
||||
#define _PA_REF(x) x=x
|
||||
|
||||
void _Init_GUI_faccb1() { }
|
||||
|
||||
void* C_G4XvtGUI1002_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CApplication* anInstance = NULL;
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_G4XvtGUI1002_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
G4XvtGUI* anInstance = PtrCast(G4XvtGUI, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _G4XvtGUI1002DEFAULT(&GUIFactory, G4XvtGUI1002, 20000, 4, C_G4XvtGUI1002_GUI_DEFAULT, I_G4XvtGUI1002_GUI_DEFAULT, 0, 0, 1, 1, 0);
|
||||
|
||||
void* C_progStatus_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
CStatusBar *anInstance = new CStatusBar( anEnclosure );
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_progStatus_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CStatusBar* anInstance = PtrCast(CStatusBar, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, TRUE, FALSE, RIGHTSTICKY, FALSE, FALSE);
|
||||
|
||||
|
||||
anInstance->IStatusBar(2, 2, 5, 3, 0);
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _progStatusDEFAULT(&GUIFactory, progStatus, 20124, 3, C_progStatus_GUI_DEFAULT, I_progStatus_GUI_DEFAULT, G4Win, 0, 1, 5, 0);
|
||||
|
||||
void* C_CMenuButton1076_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
CMenuButton *anInstance = new CMenuButton( anEnclosure, CRect((UNITS)82, (UNITS)3, (UNITS)105, (UNITS)26), STARTcmd );
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_CMenuButton1076_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CMenuButton* anInstance = PtrCast(CMenuButton, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, TRUE, FALSE, TOPSTICKY|LEFTSTICKY, FALSE, FALSE);
|
||||
|
||||
|
||||
anInstance->SetTogglable( FALSE );
|
||||
CImage anImage(1003);
|
||||
CPicture* aPicture = new CPicture( anInstance, CPoint((UNITS)0, (UNITS)0), anImage );
|
||||
_PA_REF(aPicture);
|
||||
anInstance->SetCommands( NULLcmd, NULLcmd, START_INcmd, START_OUTcmd );
|
||||
anInstance->SizeToFit();
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _CMenuButton1076DEFAULT(&GUIFactory, CMenuButton1076, 20126, 3, C_CMenuButton1076_GUI_DEFAULT, I_CMenuButton1076_GUI_DEFAULT, LogBar, 0, 1, 13, 3);
|
||||
|
||||
void* C_getComButton_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
CMenuButton *anInstance = new CMenuButton( anEnclosure, CRect((UNITS)202, (UNITS)3, (UNITS)225, (UNITS)26), M_Retrieve_Commands );
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_getComButton_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CMenuButton* anInstance = PtrCast(CMenuButton, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, TRUE, FALSE, TOPSTICKY|LEFTSTICKY, FALSE, FALSE);
|
||||
|
||||
|
||||
anInstance->SetTogglable( FALSE );
|
||||
CImage anImage(1008);
|
||||
CPicture* aPicture = new CPicture( anInstance, CPoint((UNITS)0, (UNITS)0), anImage );
|
||||
_PA_REF(aPicture);
|
||||
anInstance->SetCommands( NULLcmd, NULLcmd, GET_COMMANDS_INcmd, GET_COMMANDS_OUTcmd );
|
||||
anInstance->SizeToFit();
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _getComButtonDEFAULT(&GUIFactory, getComButton, 20126, 3, C_getComButton_GUI_DEFAULT, I_getComButton_GUI_DEFAULT, LogBar, 0, 1, 13, 8);
|
||||
|
||||
void* C_mainTextArea_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
NScrollText* anInstance = new NScrollText(anEnclosure, CRect((UNITS)0, (UNITS)30, (UNITS)484, (UNITS)255), TRUE, TRUE);
|
||||
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_mainTextArea_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
NScrollText* anInstance = PtrCast(NScrollText, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
{
|
||||
CFont aFont;
|
||||
aFont.Deserialize("01\\system\\0\\12\\");
|
||||
CEnvironment anEnv(0xbffffff, 0x7000000, 0xbffffff, PAT_SOLID , 0x7000000, PAT_SOLID,1, aFont, M_COPY, P_SOLID, FALSE);
|
||||
|
||||
anInstance->SetEnvironment(anEnv);
|
||||
}
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, TRUE, FALSE, TOPSTICKY|RIGHTSTICKY|LEFTSTICKY|BOTTOMSTICKY, FALSE, FALSE);
|
||||
|
||||
unsigned anAttribute = TX_BORDER|TX_WRAP|0;
|
||||
if ((anInstance->GetCWindow()->GetAttributes() & WSF_NO_MENUBAR) != 0)
|
||||
anAttribute |= TX_NOMENU;
|
||||
anInstance->INativeTextEdit(anAttribute, (UNITS)1000 ,1000, STRING2, FALSE,anInstance->IsVisible(), anInstance->GetGlue());
|
||||
anInstance->SetTabSize(4);
|
||||
|
||||
|
||||
anInstance->SetVIncrements((UNITS)1 , (UNITS)10);
|
||||
anInstance->SetHIncrements((UNITS)10 , (UNITS)50);
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _mainTextAreaDEFAULT(&GUIFactory, mainTextArea, 20041, 3, C_mainTextArea_GUI_DEFAULT, I_mainTextArea_GUI_DEFAULT, G4Win, 0, 1, 5, 2);
|
||||
|
||||
@@ -0,0 +1,201 @@
|
||||
// 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: faccb2.cxx,v 2.1 1998/07/12 02:39:13 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#include "factory.h"
|
||||
#include "XVTPwr.h"
|
||||
#include "AppDef.h"
|
||||
#include PwrGen_i
|
||||
#include "facdec.h"
|
||||
#include "classes.h"
|
||||
#include "defines.h"
|
||||
#include "faccb.h"
|
||||
#define _PA_REF(x) x=x
|
||||
|
||||
void _Init_GUI_faccb2() { }
|
||||
|
||||
void* C_CTaskDoc1003_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CTaskDoc* anInstance = NULL;
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_CTaskDoc1003_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CTaskDoc* anInstance = PtrCast(CTaskDoc, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _CTaskDoc1003DEFAULT(&GUIFactory, CTaskDoc1003, 20043, 1, C_CTaskDoc1003_GUI_DEFAULT, I_CTaskDoc1003_GUI_DEFAULT, G4XvtGUI1002, 0, 1, 2, 0);
|
||||
|
||||
void* C_LogBar_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
CToolBar *anInstance = new CToolBar( anEnclosure, CToolBar::AL_TOP );
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_LogBar_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CToolBar* anInstance = PtrCast(CToolBar, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcCMenuButton1095md, NULLcmd, TRUE, TRUE, TRUE, LEFTSTICKY, FALSE, FALSE);
|
||||
|
||||
|
||||
anInstance->IToolBar(2, 5);
|
||||
anInstance->InsertSeparator( 0 );
|
||||
anInstance->InsertSeparator( 2 );
|
||||
anInstance->InsertSeparator( 3 );
|
||||
anInstance->InsertSeparator( 8 );
|
||||
anInstance->InsertSeparator( 9 );
|
||||
anInstance->InsertSeparator( 10 );
|
||||
anInstance->InsertSeparator( 12 );
|
||||
anInstance->DoSize( anInstance->GetFrame() );
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _LogBarDEFAULT(&GUIFactory, LogBar, 20123, 3, C_LogBar_GUI_DEFAULT, I_LogBar_GUI_DEFAULT, G4Win, 0, 1, 5, 1);
|
||||
|
||||
void* C_CMenuButton1077_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
CMenuButton *anInstance = new CMenuButton( anEnclosure, CRect((UNITS)105, (UNITS)3, (UNITS)128, (UNITS)26), STOPcmd );
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_CMenuButton1077_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CMenuButton* anInstance = PtrCast(CMenuButton, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, TRUE, FALSE, TOPSTICKY|LEFTSTICKY, FALSE, FALSE);
|
||||
|
||||
|
||||
anInstance->SetTogglable( FALSE );
|
||||
CImage anImage(1004);
|
||||
CPicture* aPicture = new CPicture( anInstance, CPoint((UNITS)0, (UNITS)0), anImage );
|
||||
_PA_REF(aPicture);
|
||||
anInstance->SetCommands( NULLcmd, NULLcmd, STOP_INcmd, STOP_OUTcmd );
|
||||
anInstance->SizeToFit();
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _CMenuButton1077DEFAULT(&GUIFactory, CMenuButton1077, 20126, 3, C_CMenuButton1077_GUI_DEFAULT, I_CMenuButton1077_GUI_DEFAULT, LogBar, 0, 1, 13, 4);
|
||||
|
||||
void* C_commandBox_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
NLineText* anInstance = new NLineText(anEnclosure, CPoint((UNITS)230, (UNITS)3), (UNITS)425);
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_commandBox_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
NLineText* anInstance = PtrCast(NLineText, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
{
|
||||
CFont aFont;
|
||||
aFont.Deserialize("01\\system\\0\\12\\");
|
||||
CEnvironment anEnv(0xaaaa, 0xffffff, 0xbffffff, PAT_SOLID , 0x7000000, PAT_SOLID,1, aFont, M_COPY, P_SOLID, FALSE);
|
||||
|
||||
anInstance->SetEnvironment(anEnv);
|
||||
}
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, TRUE, FALSE, TOPSTICKY|LEFTSTICKY, FALSE, FALSE);
|
||||
|
||||
unsigned anAttribute = TX_AUTOHSCROLL|TX_AUTOVSCROLL|TX_BORDER|TX_WRAP|0;
|
||||
if ((anInstance->GetCWindow()->GetAttributes() & WSF_NO_MENUBAR) != 0)
|
||||
anAttribute |= TX_NOMENU;
|
||||
anInstance->INativeTextEdit(anAttribute, (UNITS)1000 ,1000, STRING5, FALSE,anInstance->IsVisible(), anInstance->GetGlue());
|
||||
anInstance->SetTabSize(4);
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _commandBoxDEFAULT(&GUIFactory, commandBox, 20040, 3, C_commandBox_GUI_DEFAULT, I_commandBox_GUI_DEFAULT, LogBar, 0, 1, 13, 9);
|
||||
|
||||
void* C_CommandLog_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
NScrollText* anInstance = new NScrollText(anEnclosure, CRect((UNITS)485, (UNITS)30, (UNITS)966, (UNITS)255), TRUE, TRUE);
|
||||
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_CommandLog_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
NScrollText* anInstance = PtrCast(NScrollText, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
{
|
||||
CFont aFont;
|
||||
aFont.Deserialize("01\\system\\0\\12\\");
|
||||
CEnvironment anEnv(0xffffff, 0x7000000, 0xffffff, PAT_SOLID , 0x7000000, PAT_SOLID,1, aFont, M_COPY, P_SOLID, FALSE);
|
||||
|
||||
anInstance->SetEnvironment(anEnv);
|
||||
}
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, TRUE, FALSE, TOPSTICKY|RIGHTSTICKY|LEFTSTICKY|BOTTOMSTICKY, FALSE, FALSE);
|
||||
|
||||
unsigned anAttribute = TX_BORDER|TX_WRAP|0;
|
||||
if ((anInstance->GetCWindow()->GetAttributes() & WSF_NO_MENUBAR) != 0)
|
||||
anAttribute |= TX_NOMENU;
|
||||
anInstance->INativeTextEdit(anAttribute, (UNITS)1000 ,1000, STRING4, FALSE,anInstance->IsVisible(), anInstance->GetGlue());
|
||||
anInstance->SetTabSize(4);
|
||||
|
||||
|
||||
anInstance->SetVIncrements((UNITS)1 , (UNITS)10);
|
||||
anInstance->SetHIncrements((UNITS)10 , (UNITS)50);
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _CommandLogDEFAULT(&GUIFactory, CommandLog, 20041, 3, C_CommandLog_GUI_DEFAULT, I_CommandLog_GUI_DEFAULT, G4Win, 0, 1, 5, 3);
|
||||
|
||||
@@ -0,0 +1,185 @@
|
||||
// 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: faccb3.cxx,v 2.1 1998/07/12 02:39:13 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#include "factory.h"
|
||||
#include "XVTPwr.h"
|
||||
#include "AppDef.h"
|
||||
#include PwrGen_i
|
||||
#include "facdec.h"
|
||||
#include "classes.h"
|
||||
#include "defines.h"
|
||||
#include "faccb.h"
|
||||
#define _PA_REF(x) x=x
|
||||
|
||||
void _Init_GUI_faccb3() { }
|
||||
|
||||
void* C_CTaskWin1004_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CTaskWin* anInstance = NULL;
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_CTaskWin1004_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CTaskWin* anInstance = PtrCast(CTaskWin, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, TRUE, FALSE, TOPSTICKY|LEFTSTICKY, FALSE, FALSE);
|
||||
|
||||
|
||||
anInstance->SetBackgroundDrawing(FALSE);
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _CTaskWin1004DEFAULT(&GUIFactory, CTaskWin1004, 20044, 2, C_CTaskWin1004_GUI_DEFAULT, I_CTaskWin1004_GUI_DEFAULT, CTaskDoc1003, 0, 1, 1, 0);
|
||||
|
||||
void* C_CMenuButton1063_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
CMenuButton *anInstance = new CMenuButton( anEnclosure, CRect((UNITS)3, (UNITS)3, (UNITS)26, (UNITS)26), M_FILE_SAVE );
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_CMenuButton1063_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CMenuButton* anInstance = PtrCast(CMenuButton, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, TRUE, FALSE, TOPSTICKY|LEFTSTICKY, FALSE, FALSE);
|
||||
|
||||
|
||||
anInstance->SetTogglable( FALSE );
|
||||
CImage anImage(1000);
|
||||
CPicture* aPicture = new CPicture( anInstance, CPoint((UNITS)0, (UNITS)0), anImage );
|
||||
_PA_REF(aPicture);
|
||||
anInstance->SetCommands( NULLcmd, NULLcmd, SAVE_LOG_INcmd, SAVE_LOG_OUTcmd );
|
||||
anInstance->SizeToFit();
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _CMenuButton1063DEFAULT(&GUIFactory, CMenuButton1063, 20126, 3, C_CMenuButton1063_GUI_DEFAULT, I_CMenuButton1063_GUI_DEFAULT, LogBar, 0, 1, 13, 0);
|
||||
|
||||
void* C_CMenuButton1078_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
CMenuButton *anInstance = new CMenuButton( anEnclosure, CRect((UNITS)128, (UNITS)3, (UNITS)151, (UNITS)26), PAUSEcmd );
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_CMenuButton1078_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CMenuButton* anInstance = PtrCast(CMenuButton, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, TRUE, FALSE, TOPSTICKY|LEFTSTICKY, FALSE, FALSE);
|
||||
|
||||
|
||||
anInstance->SetTogglable( FALSE );
|
||||
CImage anImage(1005);
|
||||
CPicture* aPicture = new CPicture( anInstance, CPoint((UNITS)0, (UNITS)0), anImage );
|
||||
_PA_REF(aPicture);
|
||||
anInstance->SetCommands( NULLcmd, NULLcmd, PAUSE_INcmd, PAUSE_OUTcmd );
|
||||
anInstance->SizeToFit();
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _CMenuButton1078DEFAULT(&GUIFactory, CMenuButton1078, 20126, 3, C_CMenuButton1078_GUI_DEFAULT, I_CMenuButton1078_GUI_DEFAULT, LogBar, 0, 1, 13, 5);
|
||||
|
||||
void* C_execButton_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
CMenuButton *anInstance = new CMenuButton( anEnclosure, CRect((UNITS)660, (UNITS)3, (UNITS)683, (UNITS)26), EXECUTEcmd );
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_execButton_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CMenuButton* anInstance = PtrCast(CMenuButton, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, FALSE, FALSE, TOPSTICKY|LEFTSTICKY, FALSE, FALSE);
|
||||
|
||||
|
||||
anInstance->SetTogglable( FALSE );
|
||||
CImage anImage(1009);
|
||||
CPicture* aPicture = new CPicture( anInstance, CPoint((UNITS)0, (UNITS)0), anImage );
|
||||
_PA_REF(aPicture);
|
||||
anInstance->SetCommands( NULLcmd, NULLcmd, EXECUTE_INcmd, EXECUTE_OUTcmd );
|
||||
anInstance->SizeToFit();
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _execButtonDEFAULT(&GUIFactory, execButton, 20126, 3, C_execButton_GUI_DEFAULT, I_execButton_GUI_DEFAULT, LogBar, 0, 1, 13, 10);
|
||||
|
||||
void* C_DropArea_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
CScroller* anInstance = new CScroller(anEnclosure, CRect((UNITS)0, (UNITS)255, (UNITS)966, (UNITS)710));
|
||||
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_DropArea_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CScroller* anInstance = PtrCast(CScroller, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, TRUE, FALSE, TOPSTICKY|RIGHTSTICKY|LEFTSTICKY|BOTTOMSTICKY, FALSE, FALSE);
|
||||
|
||||
|
||||
anInstance->SetScrollingOrigin( CPoint((UNITS)0, (UNITS)0));
|
||||
anInstance->SetVirtualFrame((UNITS)0, (UNITS)0);
|
||||
|
||||
anInstance->IScroller(FALSE,FALSE,TRUE, (UNITS)8, (UNITS)80,anInstance->IsVisible(), anInstance->GetGlue());
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _DropAreaDEFAULT(&GUIFactory, DropArea, 20017, 3, C_DropArea_GUI_DEFAULT, I_DropArea_GUI_DEFAULT, G4Win, 0, 1, 5, 4);
|
||||
|
||||
@@ -0,0 +1,151 @@
|
||||
// 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: faccb4.cxx,v 2.1 1998/07/12 02:39:13 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#include "factory.h"
|
||||
#include "XVTPwr.h"
|
||||
#include "AppDef.h"
|
||||
#include PwrGen_i
|
||||
#include "facdec.h"
|
||||
#include "classes.h"
|
||||
#include "defines.h"
|
||||
#include "faccb.h"
|
||||
#define _PA_REF(x) x=x
|
||||
|
||||
void _Init_GUI_faccb4() { }
|
||||
|
||||
void* C_G4Doc_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CApplication* anEnclosure = PtrCast( CApplication, theData );
|
||||
G4XvtDoc* anInstance = new G4XvtDoc(anEnclosure, 1009);
|
||||
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_G4Doc_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
G4XvtDoc* anInstance = PtrCast(G4XvtDoc, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _G4DocDEFAULT(&GUIFactory, G4Doc, 20004, 1, C_G4Doc_GUI_DEFAULT, I_G4Doc_GUI_DEFAULT, G4XvtGUI1002, 0, 1, 2, 1);
|
||||
|
||||
void* C_CMenuButton1064_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
CMenuButton *anInstance = new CMenuButton( anEnclosure, CRect((UNITS)26, (UNITS)3, (UNITS)49, (UNITS)26), M_FILE_SAVE_AS );
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_CMenuButton1064_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CMenuButton* anInstance = PtrCast(CMenuButton, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, TRUE, FALSE, TOPSTICKY|LEFTSTICKY, FALSE, FALSE);
|
||||
|
||||
|
||||
anInstance->SetTogglable( FALSE );
|
||||
CImage anImage(1001);
|
||||
CPicture* aPicture = new CPicture( anInstance, CPoint((UNITS)0, (UNITS)0), anImage );
|
||||
_PA_REF(aPicture);
|
||||
anInstance->SetCommands( NULLcmd, NULLcmd, SAVE_AS_INcmd, SAVE_AS_OUTcmd );
|
||||
anInstance->SizeToFit();
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _CMenuButton1064DEFAULT(&GUIFactory, CMenuButton1064, 20126, 3, C_CMenuButton1064_GUI_DEFAULT, I_CMenuButton1064_GUI_DEFAULT, LogBar, 0, 1, 13, 1);
|
||||
|
||||
void* C_CMenuButton1079_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
CMenuButton *anInstance = new CMenuButton( anEnclosure, CRect((UNITS)151, (UNITS)3, (UNITS)174, (UNITS)26), RESUMEcmd );
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_CMenuButton1079_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CMenuButton* anInstance = PtrCast(CMenuButton, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, TRUE, FALSE, TOPSTICKY|LEFTSTICKY, FALSE, FALSE);
|
||||
|
||||
|
||||
anInstance->SetTogglable( FALSE );
|
||||
CImage anImage(1006);
|
||||
CPicture* aPicture = new CPicture( anInstance, CPoint((UNITS)0, (UNITS)0), anImage );
|
||||
_PA_REF(aPicture);
|
||||
anInstance->SetCommands( NULLcmd, NULLcmd, RESUME_INcmd, RESUME_OUTcmd );
|
||||
anInstance->SizeToFit();
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _CMenuButton1079DEFAULT(&GUIFactory, CMenuButton1079, 20126, 3, C_CMenuButton1079_GUI_DEFAULT, I_CMenuButton1079_GUI_DEFAULT, LogBar, 0, 1, 13, 6);
|
||||
|
||||
void* C_textExecButton_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
CSubview* anEnclosure = PtrCast( CSubview, theData );
|
||||
CMenuButton *anInstance = new CMenuButton( anEnclosure, CRect((UNITS)683, (UNITS)3, (UNITS)706, (UNITS)26), COMcmd );
|
||||
return anInstance;
|
||||
}
|
||||
|
||||
void I_textExecButton_GUI_DEFAULT(const PAFactory* theFactory, CObjectRWC* theData, CDataMembers* theDataMembers)
|
||||
{
|
||||
_PA_REF(theFactory);
|
||||
_PA_REF(theData);
|
||||
_PA_REF(theDataMembers);
|
||||
CMenuButton* anInstance = PtrCast(CMenuButton, theData);
|
||||
if (!anInstance) return;
|
||||
|
||||
|
||||
IPAFactoryView(anInstance, "", NULLcmd, NULLcmd, TRUE, FALSE, FALSE, TOPSTICKY|LEFTSTICKY, FALSE, FALSE);
|
||||
|
||||
|
||||
anInstance->SetTogglable( FALSE );
|
||||
CImage anImage(1010);
|
||||
CPicture* aPicture = new CPicture( anInstance, CPoint((UNITS)0, (UNITS)0), anImage );
|
||||
_PA_REF(aPicture);
|
||||
anInstance->SetCommands( NULLcmd, NULLcmd, COM_INcmd, COM_OUTcmd );
|
||||
anInstance->SizeToFit();
|
||||
|
||||
|
||||
}
|
||||
|
||||
CFactoryElement _textExecButtonDEFAULT(&GUIFactory, textExecButton, 20126, 3, C_textExecButton_GUI_DEFAULT, I_textExecButton_GUI_DEFAULT, LogBar, 0, 1, 13, 11);
|
||||
|
||||
@@ -0,0 +1,206 @@
|
||||
// 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: faccmd.h,v 2.1 1998/07/12 02:39:14 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#ifndef GUI_FactoryCommands_h
|
||||
#define GUI_FactoryCommands_h
|
||||
|
||||
// Command ID Bases:
|
||||
/*
|
||||
Default base
|
||||
*/
|
||||
#ifndef PA_NULLBase
|
||||
#define PA_NULLBase 0
|
||||
#endif
|
||||
#ifndef G4Control_Commands
|
||||
#define G4Control_Commands 1000
|
||||
#endif
|
||||
|
||||
// Command IDs:
|
||||
#ifndef NULLcCMenuButton1095md
|
||||
#define NULLcCMenuButton1095md (PA_NULLBase + 20)
|
||||
#endif
|
||||
#ifndef COM_INcmd
|
||||
#define COM_INcmd (G4Control_Commands + 34)
|
||||
#endif
|
||||
#ifndef COM_OUTcmd
|
||||
#define COM_OUTcmd (G4Control_Commands + 35)
|
||||
#endif
|
||||
#ifndef STOP_INcmd
|
||||
#define STOP_INcmd (G4Control_Commands + 5)
|
||||
#endif
|
||||
#ifndef START_OUTcmd
|
||||
#define START_OUTcmd (G4Control_Commands + 3)
|
||||
#endif
|
||||
#ifndef RESUMEcmd
|
||||
#define RESUMEcmd (G4Control_Commands + 10)
|
||||
#endif
|
||||
#ifndef RESUME_INcmd
|
||||
#define RESUME_INcmd (G4Control_Commands + 11)
|
||||
#endif
|
||||
#ifndef M_Pause_Geant
|
||||
#define M_Pause_Geant (PA_NULLBase + 13)
|
||||
#endif
|
||||
#ifndef QUIT_INcmd
|
||||
#define QUIT_INcmd (G4Control_Commands + 14)
|
||||
#endif
|
||||
#ifndef M_Retrieve_Commands
|
||||
#define M_Retrieve_Commands (PA_NULLBase + 7)
|
||||
#endif
|
||||
#ifndef M_Palettes
|
||||
#define M_Palettes (PA_NULLBase + 16)
|
||||
#endif
|
||||
#ifndef M_Commands
|
||||
#define M_Commands (PA_NULLBase + 17)
|
||||
#endif
|
||||
#ifndef COMcmd
|
||||
#define COMcmd (G4Control_Commands + 31)
|
||||
#endif
|
||||
#ifndef PAUSE_OUTcmd
|
||||
#define PAUSE_OUTcmd (G4Control_Commands + 9)
|
||||
#endif
|
||||
#ifndef PAUSEcmd
|
||||
#define PAUSEcmd (G4Control_Commands + 7)
|
||||
#endif
|
||||
#ifndef HELP_OUTcmd
|
||||
#define HELP_OUTcmd (G4Control_Commands + 23)
|
||||
#endif
|
||||
#ifndef PRINT_OUTcmd
|
||||
#define PRINT_OUTcmd (G4Control_Commands + 21)
|
||||
#endif
|
||||
#ifndef SAVE_AS_INcmd
|
||||
#define SAVE_AS_INcmd (G4Control_Commands + 18)
|
||||
#endif
|
||||
#ifndef SAVE_AS_OUTcmd
|
||||
#define SAVE_AS_OUTcmd (G4Control_Commands + 19)
|
||||
#endif
|
||||
#ifndef OutputWinMB
|
||||
#define OutputWinMB (PA_NULLBase + 3)
|
||||
#endif
|
||||
#ifndef SAVE_LOG_INcmd
|
||||
#define SAVE_LOG_INcmd (G4Control_Commands + 16)
|
||||
#endif
|
||||
#ifndef M_Start_Geant
|
||||
#define M_Start_Geant (PA_NULLBase + 11)
|
||||
#endif
|
||||
#ifndef GET_COMMANDS_OUTcmd
|
||||
#define GET_COMMANDS_OUTcmd (G4Control_Commands + 30)
|
||||
#endif
|
||||
#ifndef RESUME_OUTcmd
|
||||
#define RESUME_OUTcmd (G4Control_Commands + 12)
|
||||
#endif
|
||||
#ifndef M_Setup
|
||||
#define M_Setup (PA_NULLBase + 6)
|
||||
#endif
|
||||
#ifndef EXECUTEcmd
|
||||
#define EXECUTEcmd (G4Control_Commands + 26)
|
||||
#endif
|
||||
#ifndef HELP_MENU_1015
|
||||
#define HELP_MENU_1015 (PA_NULLBase + 18)
|
||||
#endif
|
||||
#ifndef HELP_MENU_1044
|
||||
#define HELP_MENU_1044 (PA_NULLBase + 5)
|
||||
#endif
|
||||
#ifndef STOP_OUTcmd
|
||||
#define STOP_OUTcmd (G4Control_Commands + 6)
|
||||
#endif
|
||||
#ifndef START_INcmd
|
||||
#define START_INcmd (G4Control_Commands + 2)
|
||||
#endif
|
||||
#ifndef GET_COMMANDScmd
|
||||
#define GET_COMMANDScmd (G4Control_Commands + 28)
|
||||
#endif
|
||||
#ifndef FILE_MENU_1015
|
||||
#define FILE_MENU_1015 (PA_NULLBase + 2)
|
||||
#endif
|
||||
#ifndef FILE_MENU_1044
|
||||
#define FILE_MENU_1044 (PA_NULLBase + 4)
|
||||
#endif
|
||||
#ifndef G4WinMB
|
||||
#define G4WinMB (PA_NULLBase + 1)
|
||||
#endif
|
||||
#ifndef QUIT_OUTcmd
|
||||
#define QUIT_OUTcmd (G4Control_Commands + 15)
|
||||
#endif
|
||||
#ifndef M_Stop_Geant
|
||||
#define M_Stop_Geant (PA_NULLBase + 12)
|
||||
#endif
|
||||
#ifndef M_Quit_Geant
|
||||
#define M_Quit_Geant (PA_NULLBase + 15)
|
||||
#endif
|
||||
#ifndef PAUSE_INcmd
|
||||
#define PAUSE_INcmd (G4Control_Commands + 8)
|
||||
#endif
|
||||
#ifndef HELPcmd
|
||||
#define HELPcmd (G4Control_Commands + 27)
|
||||
#endif
|
||||
#ifndef STARTcmd
|
||||
#define STARTcmd (G4Control_Commands + 1)
|
||||
#endif
|
||||
#ifndef STOPcmd
|
||||
#define STOPcmd (G4Control_Commands + 4)
|
||||
#endif
|
||||
#ifndef QUITcmd
|
||||
#define QUITcmd (G4Control_Commands + 13)
|
||||
#endif
|
||||
#ifndef HELP_INcmd
|
||||
#define HELP_INcmd (G4Control_Commands + 22)
|
||||
#endif
|
||||
#ifndef PRINT_INcmd
|
||||
#define PRINT_INcmd (G4Control_Commands + 20)
|
||||
#endif
|
||||
#ifndef SAVE_LOG_OUTcmd
|
||||
#define SAVE_LOG_OUTcmd (G4Control_Commands + 17)
|
||||
#endif
|
||||
#ifndef EXECUTE_INcmd
|
||||
#define EXECUTE_INcmd (G4Control_Commands + 24)
|
||||
#endif
|
||||
#ifndef EXECUTE_OUTcmd
|
||||
#define EXECUTE_OUTcmd (G4Control_Commands + 25)
|
||||
#endif
|
||||
#ifndef M_Control
|
||||
#define M_Control (PA_NULLBase + 10)
|
||||
#endif
|
||||
#ifndef GET_COMMANDS_INcmd
|
||||
#define GET_COMMANDS_INcmd (G4Control_Commands + 29)
|
||||
#endif
|
||||
#ifndef M_Enter_Parameters_for_selected_command
|
||||
#define M_Enter_Parameters_for_selected_command (PA_NULLBase + 8)
|
||||
#endif
|
||||
#ifndef M_On_command
|
||||
#define M_On_command (PA_NULLBase + 19)
|
||||
#endif
|
||||
#ifndef M_Resume_Geant
|
||||
#define M_Resume_Geant (PA_NULLBase + 14)
|
||||
#endif
|
||||
#ifndef M_Execute_Selected_Command
|
||||
#define M_Execute_Selected_Command (PA_NULLBase + 9)
|
||||
#endif
|
||||
|
||||
#ifndef PAFACTORY_BASE_NAME
|
||||
#define PAFACTORY_BASE_NAMEGUI
|
||||
#endif
|
||||
#ifndef PAFACTORY_QBASE_NAME
|
||||
#define PAFACTORY_QBASE_NAME "GUI"
|
||||
#endif
|
||||
|
||||
// Layer ID Bases
|
||||
#ifndef DEFAULT_BASE
|
||||
#define DEFAULT_BASE 0
|
||||
#endif
|
||||
|
||||
// Accelerator Tags:
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,40 @@
|
||||
// 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: facdec.h,v 2.1 1998/07/12 02:39:14 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#ifndef GUI_FacDec_h
|
||||
#define GUI_FacDec_h
|
||||
|
||||
// Forward Declarations
|
||||
|
||||
#define CUserView PWR_CRectangle
|
||||
#define CUserSubview PWR_CRectangle
|
||||
#define CUserView_i CRectangle_i
|
||||
#define CUserSubview_i CRectangle_i
|
||||
|
||||
class CMenuButton;
|
||||
class CScroller;
|
||||
class CMenuBar;
|
||||
class CToolBar;
|
||||
class G4XvtGUI;
|
||||
class CTaskDoc;
|
||||
class CTaskWin;
|
||||
class NScrollText;
|
||||
class G4XvtDoc;
|
||||
class G4XvtWin;
|
||||
class CStatusBar;
|
||||
class NLineText;
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,40 @@
|
||||
// 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: facdef.h,v 2.1 1998/07/12 02:39:15 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#ifndef GUI_FacDef_h
|
||||
#define GUI_FacDef_h
|
||||
|
||||
// Factory class includes:
|
||||
#define G4XvtGUI_f "_g4xvtgu.h"
|
||||
#define CTaskDoc_f "_ctskdoc.h"
|
||||
#define CTaskWin_f "_ctskwin.h"
|
||||
#define G4XvtDoc_f "_g4xvtdc.h"
|
||||
#define G4XvtWin_f "_g4xvtwn.h"
|
||||
#define FactoryCommands_i "faccmd.h"
|
||||
#define FactoryStrings_i "facstr.h"
|
||||
#define FactoryDefines_i "defines.h"
|
||||
#define CGUIFactory_i "factory.h"
|
||||
#ifndef PA_FACTORY_INSTANCE
|
||||
#define PA_FACTORY_INSTANCE GUIFactory
|
||||
#endif
|
||||
|
||||
#ifndef DSP_RELEASE
|
||||
#define DSP_RELEASE 450
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,39 @@
|
||||
// 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: facstr.h,v 2.1 1998/07/12 02:39:15 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#ifndef GUI_FactoryStrings_h
|
||||
#define GUI_FactoryStrings_h
|
||||
|
||||
// String IDs:
|
||||
|
||||
#ifndef GUIStringIDBase
|
||||
#define GUIStringIDBase 0
|
||||
#endif
|
||||
|
||||
|
||||
// Defines for DEFAULT layer
|
||||
#define STRING5 ""
|
||||
#define STRING3 ""
|
||||
#define STRING6 ""
|
||||
#define STRING7 ""
|
||||
#define STRING8 ""
|
||||
#define STRING9 ""
|
||||
#define STRING2 ""
|
||||
#define STRING4 ""
|
||||
#define STRING1 (1016+GUIStringIDBase)
|
||||
|
||||
|
||||
#endif
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 632 B |
@@ -0,0 +1,65 @@
|
||||
// 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: factory.cxx,v 2.1 1998/07/12 02:39:15 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#include "factory.h"
|
||||
#include "faccmd.h"
|
||||
|
||||
|
||||
CGUIFactory GUIFactory;
|
||||
|
||||
int CGUIFactory::itIsInitialized = 0;
|
||||
|
||||
extern void _Init_GUI_faccb0();
|
||||
extern void _Init_GUI_faccb1();
|
||||
extern void _Init_GUI_faccb2();
|
||||
extern void _Init_GUI_faccb3();
|
||||
extern void _Init_GUI_faccb4();
|
||||
|
||||
CGUIFactory::CGUIFactory(void)
|
||||
: PAFactory(itIsInitialized)
|
||||
{
|
||||
itIsInitialized = 1;
|
||||
_Init_GUI_faccb0();
|
||||
_Init_GUI_faccb1();
|
||||
_Init_GUI_faccb2();
|
||||
_Init_GUI_faccb3();
|
||||
_Init_GUI_faccb4();
|
||||
}
|
||||
|
||||
CGUIFactory& CGUIFactory::operator[](CGUIFactory::LayerID theLayer)
|
||||
{
|
||||
PAFactory::operator[]((long) theLayer);
|
||||
return *this;
|
||||
}
|
||||
|
||||
void CGUIFactory::SetDefaultLayer(CGUIFactory::LayerID theLayer)
|
||||
{
|
||||
PAFactory::SetDefaultLayer((long) theLayer);
|
||||
}
|
||||
|
||||
CGUIFactory::LayerID CGUIFactory::GetDefaultLayer(void) const
|
||||
{
|
||||
return (CGUIFactory::LayerID) PAFactory::GetDefaultLayer();
|
||||
}
|
||||
|
||||
long CGUIFactory::GetLayerBase(CGUIFactory::LayerID theLayerID)
|
||||
{
|
||||
switch(theLayerID) {
|
||||
case DEFAULT: return DEFAULT_BASE;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
// 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: factory.h,v 2.1 1998/07/12 02:39:16 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#ifndef GUIFactory_h
|
||||
#define GUIFactory_h
|
||||
|
||||
#include "XVTPwr.h"
|
||||
#include "AppDef.h"
|
||||
#include PAFactory_i
|
||||
|
||||
// Project factory class definition:
|
||||
|
||||
class CGUIFactory : public PAFactory
|
||||
{
|
||||
public:
|
||||
|
||||
enum LayerID {
|
||||
DEFAULT=0
|
||||
};
|
||||
|
||||
CGUIFactory(void);
|
||||
|
||||
CGUIFactory& operator[](LayerID theLayer);
|
||||
void SetDefaultLayer(LayerID theLayer);
|
||||
LayerID GetDefaultLayer(void) const;
|
||||
long GetLayerBase(LayerID theLayer);
|
||||
|
||||
protected:
|
||||
|
||||
friend class CGUIFactoryInit;
|
||||
|
||||
static int itIsInitialized;
|
||||
|
||||
};
|
||||
|
||||
extern CGUIFactory GUIFactory;
|
||||
#endif
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#ifndef URL_RECT
|
||||
#define URL_RECT(a,b,c,d) a, b, c, d
|
||||
#endif
|
||||
#include "faccmd.h"
|
||||
#include "images.url"
|
||||
#include "strings.url"
|
||||
|
||||
|
||||
|
||||
/* Definition of menubar G4WinMB for DEFAULT layer */
|
||||
|
||||
menubar G4WinMB+DEFAULT_BASE
|
||||
menu G4WinMB+DEFAULT_BASE
|
||||
submenu FILE_MENU_1015+DEFAULT_BASE "File"
|
||||
submenu M_Setup+DEFAULT_BASE "Commands"
|
||||
submenu M_Control+DEFAULT_BASE "Control"
|
||||
submenu M_Palettes+DEFAULT_BASE "Palettes"
|
||||
submenu HELP_MENU_1015+DEFAULT_BASE "Help"
|
||||
|
||||
menu FILE_MENU_1015+DEFAULT_BASE
|
||||
item M_FILE_SAVE "Save Log"
|
||||
item M_FILE_SAVE_AS "Save Log As..."
|
||||
item M_FILE_PRINT "Print Log..."
|
||||
separator
|
||||
item M_FILE_QUIT "Exit"
|
||||
|
||||
menu M_Setup+DEFAULT_BASE
|
||||
item M_Retrieve_Commands "Retrieve Commands"
|
||||
separator
|
||||
item M_Enter_Parameters_for_selected_command "Enter Parameters for selected command"
|
||||
item M_Execute_Selected_Command "Execute Selected Command"
|
||||
|
||||
menu M_Control+DEFAULT_BASE
|
||||
item M_Start_Geant "Start Geant"
|
||||
item M_Stop_Geant "Stop Geant"
|
||||
separator
|
||||
item M_Pause_Geant "Pause Geant"
|
||||
item M_Resume_Geant "Resume_Geant"
|
||||
separator
|
||||
item M_Quit_Geant "Quit Geant"
|
||||
|
||||
menu M_Palettes+DEFAULT_BASE
|
||||
item M_Commands "Commands"
|
||||
|
||||
menu HELP_MENU_1015+DEFAULT_BASE
|
||||
item M_HELP_ONWINDOW "This Window"
|
||||
separator
|
||||
item M_On_command "On command"
|
||||
separator
|
||||
item M_HELP_VERSION "About..."
|
||||
|
||||
/* Definition of menubar OutputWinMB for DEFAULT layer */
|
||||
|
||||
menubar OutputWinMB+DEFAULT_BASE
|
||||
menu OutputWinMB+DEFAULT_BASE
|
||||
submenu FILE_MENU_1044+DEFAULT_BASE "File"
|
||||
submenu HELP_MENU_1044+DEFAULT_BASE "Help"
|
||||
|
||||
menu FILE_MENU_1044+DEFAULT_BASE
|
||||
item M_FILE_SAVE "Save Log"
|
||||
item M_FILE_SAVE_AS "Save Log As"
|
||||
separator
|
||||
item M_FILE_PRINT "Print Log"
|
||||
|
||||
menu HELP_MENU_1044+DEFAULT_BASE
|
||||
item M_HELP_ONWINDOW "This Window"
|
||||
separator
|
||||
item M_HELP_VERSION "About"
|
||||
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
IMAGE 1000 "/afs/cern.ch/user/s/sprior/geant4_current_code/geant4alpha/prototype/interfaces/xvt_standalone_test/HP_GUI/bitmaps/small/smallsave.bmp"
|
||||
IMAGE 1001 "/afs/cern.ch/user/s/sprior/geant4_current_code/geant4alpha/prototype/interfaces/xvt_standalone_test/HP_GUI/bitmaps/small/smallsaveas.bmp"
|
||||
IMAGE 1002 "/afs/cern.ch/user/s/sprior/geant4_current_code/geant4alpha/prototype/interfaces/xvt_standalone_test/HP_GUI/bitmaps/small/smallprint.bmp"
|
||||
IMAGE 1003 "/afs/cern.ch/user/s/sprior/geant4_current_code/geant4alpha/prototype/interfaces/xvt_standalone_test/HP_GUI/bitmaps/small/smallstart3d.bmp"
|
||||
IMAGE 1004 "/afs/cern.ch/user/s/sprior/geant4_current_code/geant4alpha/prototype/interfaces/xvt_standalone_test/HP_GUI/bitmaps/small/smallstop3d.bmp"
|
||||
IMAGE 1005 "/afs/cern.ch/user/s/sprior/geant4_current_code/geant4alpha/prototype/interfaces/xvt_standalone_test/HP_GUI/bitmaps/small/smallpause3d.bmp"
|
||||
IMAGE 1006 "/afs/cern.ch/user/s/sprior/geant4_current_code/geant4alpha/prototype/interfaces/xvt_standalone_test/HP_GUI/bitmaps/small/smallresume3d.bmp"
|
||||
IMAGE 1007 "/afs/cern.ch/user/s/sprior/geant4_current_code/geant4alpha/prototype/interfaces/xvt_standalone_test/HP_GUI/bitmaps/small/smallquit3d.bmp"
|
||||
IMAGE 1008 "/afs/cern.ch/user/s/sprior/geant4_current_code/geant4alpha/prototype/interfaces/xvt_standalone_test/HP_GUI/bitmaps/small/gtox.bmp"
|
||||
IMAGE 1009 "/afs/cern.ch/user/s/sprior/geant4_current_code/geant4alpha/prototype/interfaces/xvt_standalone_test/HP_GUI/bitmaps/small/xtog.bmp"
|
||||
IMAGE 1010 "/afs/cern.ch/user/s/sprior/geant4_current_code/geant4alpha/prototype/interfaces/xvt_standalone_test/HP_GUI/bitmaps/small/command.bmp"
|
||||
IMAGE 1011 "/afs/cern.ch/user/s/sprior/geant4_current_code/geant4alpha/prototype/interfaces/xvt_standalone_test/HP_GUI/bitmaps/small/helpcom.bmp"
|
||||
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
This is version 4.5 of XVT-Architect.
|
||||
This file was automatically generated by XVT-Architect,
|
||||
Do not modify its contents.
|
||||
*/
|
||||
|
||||
#include "facstr.h"
|
||||
|
||||
|
||||
// Strings for DEFAULT layer
|
||||
string (1016+GUIStringIDBase) "Control Window"
|
||||
|
||||
Reference in New Issue
Block a user