00001 00003 // 00004 // Header file for HpanedUI 00005 // 00006 // This file is generated by RapidApp 1.2 00007 // 00008 // This class implements the user interface portion of a class 00009 // Normally it is not used directly. 00010 // Instead the subclass, Hpaned is instantiated 00011 // 00012 // To extend or alter the behavior of this class, you should 00013 // modify the Hpaned files 00014 // 00015 // Restrict changes to those sections between 00016 // the "//--- Start/End editable code block" markers 00017 // 00018 // This will allow RapidApp to integrate changes more easily 00019 // 00020 // This class is a ViewKit user interface "component". 00021 // For more information on how components are used, see the 00022 // "ViewKit Programmers' Manual", and the RapidApp 00023 // User's Guide. 00024 // 00026 #ifndef HPANEDUI_H 00027 #define HPANEDUI_H 00028 #include <Vk/VkComponent.h> 00029 00030 00031 //---- Start editable code block: headers and declarations 00032 00033 00034 //---- End editable code block: headers and declarations 00035 00036 00037 // Externally defined classes referenced by this class: 00038 00039 class SoXtExaminerViewer; 00040 00041 00042 class HpanedUI : public VkComponent 00043 { 00044 00045 public: 00046 00047 HpanedUI ( const char *, Widget ); 00048 HpanedUI ( const char * ); 00049 ~HpanedUI(); 00050 void create ( Widget ); 00051 const char * className(); 00052 00053 //---- Start editable code block: Hpaned public 00054 00055 00056 00057 //---- End editable code block: Hpaned public 00058 00059 00060 protected: 00061 00062 00063 // Classes created by this class 00064 00065 class SoXtExaminerViewer *_viewer; 00066 00067 // Widgets created by this class 00068 00069 Widget _autoToggle; 00070 Widget _bulletinBoard; 00071 Widget _hpaned; 00072 Widget _scale; 00073 Widget _speedScale; 00074 00075 00076 // These virtual functions are called from the private callbacks (below) 00077 // Intended to be overriden in derived classes to define actions 00078 00079 virtual void autoToggleCB ( Widget, XtPointer ); 00080 virtual void speedScaleCB ( Widget, XtPointer ); 00081 00082 //---- Start editable code block: Hpaned protected 00083 00084 00085 //---- End editable code block: Hpaned protected 00086 00087 00088 private: 00089 00090 // Array of default resources 00091 00092 static String _defaultHpanedUIResources[]; 00093 00094 00095 // Callbacks to interface with Motif 00096 00097 static void autoToggleCBCallback ( Widget, XtPointer, XtPointer ); 00098 static void speedScaleCBCallback ( Widget, XtPointer, XtPointer ); 00099 00100 //---- Start editable code block: Hpaned private 00101 00102 00103 //---- End editable code block: Hpaned private 00104 }; 00105 //---- Start editable code block: End of generated code 00106 00107 00108 //---- End editable code block: End of generated code 00109 00110 #endif 00111