This is monitor_F.h in view mode; [Download] [Up]
/******************************************************************************* monitor_F.h This header file is included by monitor_F.cc *******************************************************************************/ #ifndef _MONITOR_F_INCLUDED #define _MONITOR_F_INCLUDED #include <stdio.h> #include <Xm/Xm.h> #include <Xm/MwmUtil.h> #include <X11/Shell.h> #include <Xm/MenuShell.h> #include "UxXt.h" #include <Xm/Label.h> #include <Xm/List.h> #include <Xm/ScrolledW.h> #include <Xm/CascadeB.h> #include <Xm/PushB.h> #include <Xm/RowColumn.h> #include <Xm/SeparatoG.h> #include <Xm/Form.h> /******************************************************************************* The definition of the interface class. If you create multiple copies of your interface, the class ensures that your callbacks use the variables for the correct copy. For each swidget in the interface, each argument to the Interface function, and each variable in the Interface Specific section of the Declarations Editor, there is an entry in the class protected section. Additionaly, methods generated by the builder are declared as virtual. Wrapper functions are generated for callbacks and actions to call the user defined callbacks or actions. A UxDestroyContextCB() is also generated to ensure a proper clean up of the class after the toplevel is destroyed. *******************************************************************************/ class _UxCmonitor_F: public _UxCInterface { public: // Constructor Function _UxCmonitor_F(); // Interface Function Widget _create_monitor_F( void ); protected: // Widgets in the interface Widget monitor_F; Widget separateur1; Widget monitor_menubar; Widget monitor_command_RC; Widget monitor_killallservers_PB; Widget command_killserver_PB; Widget command_killclient_PB; Widget command_quit_PB; Widget menu1_top_b1; Widget client_SWL; Widget client_WL; Widget base_SWL; Widget base_WL; Widget server_SWL; Widget server_WL; Widget killserver_PB; Widget killclient_PB; Widget base_L; Widget server_L; Widget client_L; Widget killallserv_PB; // Callbacks and their wrappers // Callback function to destroy the context static void UxDestroyContextCB(Widget, XtPointer, XtPointer); private: Widget _build(); CPLUS_ADAPT_CONTEXT(_UxCmonitor_F) } ; /******************************************************************************* Declarations of global functions. *******************************************************************************/ Widget create_monitor_F( void ); #endif /* _MONITOR_F_INCLUDED */
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.