00001 00002 // C++ code generated with wxFormBuilder (version Sep 8 2010) 00003 // http://www.wxformbuilder.org/ 00004 // 00005 // PLEASE DO "NOT" EDIT THIS FILE! 00007 00008 #ifndef __GUI__ 00009 #define __GUI__ 00010 00011 #include <wx/string.h> 00012 #include <wx/combobox.h> 00013 #include <wx/gdicmn.h> 00014 #include <wx/font.h> 00015 #include <wx/colour.h> 00016 #include <wx/settings.h> 00017 #include <wx/panel.h> 00018 #include <wx/sizer.h> 00019 #include <wx/stattext.h> 00020 #include <wx/slider.h> 00021 #include <wx/spinctrl.h> 00022 #include <wx/statline.h> 00023 #include <wx/checkbox.h> 00024 #include <wx/button.h> 00025 #include <wx/dialog.h> 00026 #include "wxImagePanel.h" 00027 00029 00030 #define ID_LEFTTOPICCHOICE 1000 00031 #define ID_RIGHTTOPICCHOICE 1001 00032 #define ID_PTUCHOICE 1002 00033 #define ID_PANSLIDER 1003 00034 #define ID_PANSPINNER 1004 00035 #define ID_TILTSLIDER 1005 00036 #define ID_TILTSPINNER 1006 00037 #define ID_UPDATEIMMCHECKBOX 1007 00038 #define ID_LISTENFORUPDATES 1008 00039 #define ID_UPDATEBUTTON 1009 00040 00041 namespace GUI_PTU { 00042 00046 class GUIDialog : public wxDialog 00047 { 00048 private: 00049 00050 protected: 00051 wxPanel* cameraPanel; 00052 wxComboBox* leftImageTopic; 00053 wxComboBox* rightImageTopic; 00054 wxImagePanel* leftPanel; 00055 wxImagePanel* rightPanel; 00056 wxPanel* settingsPanel; 00057 wxComboBox* ptuChoice; 00058 wxStaticText* panAngleLabel; 00059 wxSlider* panSlider; 00060 wxSpinCtrl* panSpinner; 00061 wxStaticLine* m_staticline2; 00062 wxStaticText* m_staticText3; 00063 wxSpinCtrl* pan_min; 00064 wxStaticText* m_staticText4; 00065 wxSpinCtrl* pan_max; 00066 wxStaticText* tiltAngleLabel; 00067 wxSlider* tiltSlider; 00068 wxSpinCtrl* tiltSpinner; 00069 wxStaticLine* m_staticline3; 00070 wxStaticText* m_staticText5; 00071 wxSpinCtrl* tilt_min; 00072 wxStaticText* m_staticText6; 00073 wxSpinCtrl* tilt_max; 00074 wxStaticLine* settingsDivider; 00075 wxStaticText* m_staticText10; 00076 wxSpinCtrl* pan_base; 00077 wxStaticText* m_staticText11; 00078 wxSpinCtrl* pan_target; 00079 wxStaticText* m_staticText13; 00080 wxSpinCtrl* pan_upper; 00081 wxStaticText* m_staticText14; 00082 wxSpinCtrl* pan_accel; 00083 wxStaticText* m_staticText15; 00084 wxSpinCtrl* pan_hold; 00085 wxStaticText* m_staticText16; 00086 wxSpinCtrl* pan_move; 00087 wxStaticText* m_staticText20; 00088 wxSpinCtrl* tilt_base; 00089 wxStaticText* m_staticText21; 00090 wxSpinCtrl* tilt_target; 00091 wxStaticText* m_staticText22; 00092 wxSpinCtrl* tilt_upper; 00093 wxStaticText* m_staticText23; 00094 wxSpinCtrl* tilt_accel; 00095 wxStaticText* m_staticText24; 00096 wxSpinCtrl* tilt_hold; 00097 wxStaticText* m_staticText25; 00098 wxSpinCtrl* tilt_move; 00099 wxCheckBox* immCheck; 00100 wxCheckBox* listenCheck; 00101 wxButton* updateButton; 00102 00103 // Virtual event handlers, overide them in your derived class 00104 virtual void OnDialogClose( wxCloseEvent& event ) { event.Skip(); } 00105 virtual void OnLeftTopicChoice( wxCommandEvent& event ) { event.Skip(); } 00106 virtual void OnRightTopicChoice( wxCommandEvent& event ) { event.Skip(); } 00107 virtual void OnPTUChoice( wxCommandEvent& event ) { event.Skip(); } 00108 virtual void OnPanScroll( wxScrollEvent& event ) { event.Skip(); } 00109 virtual void OnPanSpin( wxSpinEvent& event ) { event.Skip(); } 00110 virtual void OnPanSpinText( wxCommandEvent& event ) { event.Skip(); } 00111 virtual void OnTiltScroll( wxScrollEvent& event ) { event.Skip(); } 00112 virtual void OnTiltSpin( wxSpinEvent& event ) { event.Skip(); } 00113 virtual void OnTiltSpinText( wxCommandEvent& event ) { event.Skip(); } 00114 virtual void OnImmChecked( wxCommandEvent& event ) { event.Skip(); } 00115 virtual void OnListenChecked( wxCommandEvent& event ) { event.Skip(); } 00116 virtual void OnUpdateClicked( wxCommandEvent& event ) { event.Skip(); } 00117 00118 00119 public: 00120 00121 GUIDialog( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("PTU Visualisation"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE ); 00122 ~GUIDialog(); 00123 00124 }; 00125 00126 } 00127 00128 #endif //__GUI__