The primary user interface is through a singleton GuiMgr object. It manages:
package gui
version v1
use GlastPolicy
use CLHEP
use GlastPolicy
ignore_pattern include_none
apply_pattern package_include
# These are the X-Windows link options, depending on the Motif/LessTif install (should be in EXTLIB)
macro X11_DIR "/usr/X11R6"
macro gui_X_linkopts "-L${X11_DIR}/lib -lXm -lXt -lX11"
# the link options with special windows stuff
macro gui_linkopts "-L ${GUIROOT}/${CMTCONFIG} -lgui ${gui_X_linkopts}"\
VisualC "user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib /subsystem:windows\
${guiDir}/gui.lib"
# append this to use_linkopts to undo the gui -- it will be after gui_linkopts
macro console_linkopts "" VisualC " /subsystem:console"
# application command should include this to define dialog boxes in Windows app.
macro Win32Resource ""\
VisualC "${GUIROOT}/src/wingui.rc"
private
macro_append cppflags " -I ${X11_DIR}/include "\
VisualC ""
library gui -no_share *.cxx *.h ../gui/*.h
#simple self-contained test program
application testGUI test/*.cxx ${Win32Resource}
The gui package depends on the following packages
package gui
version v1
use GlastPolicy
use CLHEP
use GlastPolicy
ignore_pattern include_none
apply_pattern package_include
# These are the X-Windows link options, depending on the Motif/LessTif install (should be in EXTLIB)
macro X11_DIR "/usr/X11R6"
macro gui_X_linkopts "-L${X11_DIR}/lib -lXm -lXt -lX11"
# the link options with special windows stuff
macro gui_linkopts "-L ${GUIROOT}/${CMTCONFIG} -lgui ${gui_X_linkopts}"\
VisualC "user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib /subsystem:windows\
${guiDir}/gui.lib"
# append this to use_linkopts to undo the gui -- it will be after gui_linkopts
macro console_linkopts "" VisualC " /subsystem:console"
# application command should include this to define dialog boxes in Windows app.
macro Win32Resource ""\
VisualC "${GUIROOT}/src/wingui.rc"
private
macro_append cppflags " -I ${X11_DIR}/include "\
VisualC ""
library gui -no_share *.cxx *.h ../gui/*.h
#simple self-contained test program
application testGUI test/*.cxx ${Win32Resource}
1.2.3 written by Dimitri van Heesch,
© 1997-2000