VkwindowMainWindow.h
Go to the documentation of this file.
00001 
00003 //
00004 // Header file for VkwindowMainWindow
00005 //
00006 //    This class is a subclass of VkWindow
00007 //
00008 // Normally, very little in this file should need to be changed.
00009 // Create/add/modify menus using RapidApp.
00010 //
00011 // Restrict changes to those sections between
00012 // the "//--- Start/End editable code block" markers
00013 // Doing so will allow you to make changes using RapidApp
00014 // without losing any changes you may have made manually
00015 //
00017 #ifndef VKWINDOWMAINWINDOW_H
00018 #define VKWINDOWMAINWINDOW_H
00019 #include <Vk/VkWindow.h>
00020 
00021 
00022 class VkMenuItem;
00023 class VkMenuToggle;
00024 class VkMenuConfirmFirstAction;
00025 class VkSubMenu;
00026 class VkRadioSubMenu;
00027 
00028 //---- Start editable code block: headers and declarations
00029 
00030 
00031 //---- End editable code block: headers and declarations
00032 
00033 
00034 //---- VkwindowMainWindow class declaration
00035 
00036 class VkwindowMainWindow: public VkWindow {
00037 
00038   public:
00039 
00040     VkwindowMainWindow( const char * name, 
00041                         ArgList args = NULL,
00042                         Cardinal argCount = 0 );
00043     ~VkwindowMainWindow();
00044     const char *className();
00045     virtual Boolean okToQuit();
00046 
00047     //---- Start editable code block: VkwindowMainWindow public
00048 
00049   class SoXtExaminerViewer *viewer();
00050 
00051     //---- End editable code block: VkwindowMainWindow public
00052 
00053 
00054   protected:
00055 
00056 
00057 
00058     // Classes created by this class
00059 
00060     class Hpaned *_hpaned;
00061 
00062 
00063     // Widgets created by this class
00064 
00065 
00066     // Menu items created by this class
00067     VkSubMenu  *_filePane;
00068     VkMenuItem *_openButton;
00069     VkMenuItem *_separator1;
00070     VkMenuItem *_exitButton;
00071 
00072     // Member functions called from callbacks
00073 
00074     virtual void openFile ( Widget, XtPointer );
00075     virtual void quit ( Widget, XtPointer );
00076 
00077 
00078     //---- Start editable code block: VkwindowMainWindow protected
00079 
00080 
00081     //---- End editable code block: VkwindowMainWindow protected
00082 
00083 
00084   private:
00085 
00086 
00087     // Callbacks to interface with Motif
00088 
00089     static void openFileCallback ( Widget, XtPointer, XtPointer );
00090     static void quitCallback ( Widget, XtPointer, XtPointer );
00091 
00092     static String  _defaultVkwindowMainWindowResources[];
00093 
00094 
00095     //---- Start editable code block: VkwindowMainWindow private
00096 
00097 
00098     //---- End editable code block: VkwindowMainWindow private
00099 
00100 
00101 };
00102 //---- Start editable code block: End of generated code
00103 
00104 
00105 //---- End editable code block: End of generated code
00106 
00107 #endif


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed Sep 6 2017 02:35:56