152 lines
4.7 KiB
C++
152 lines
4.7 KiB
C++
// 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);
|
|
|