]>
git.saurik.com Git - wxWidgets.git/blob - utils/screenshotgen/src/guiframe.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Defines the window containing all controls.
4 // Author: Utensil Candel (UtensilCandel@@gmail.com)
6 // Licence: wxWindows license
7 /////////////////////////////////////////////////////////////////////////////
12 #include "wx/animate.h"
13 #include "wx/bmpcbox.h"
14 #include "wx/calctrl.h"
15 #include "wx/clrpicker.h"
16 #include "wx/collpane.h"
17 #include "wx/datectrl.h"
18 #include "wx/dirctrl.h"
19 #include "wx/filepicker.h"
20 #include "wx/fontpicker.h"
21 #include "wx/hyperlink.h"
22 #include "wx/listctrl.h"
23 #include "wx/notebook.h"
24 #include "wx/richtext/richtextctrl.h"
25 #include "wx/spinbutt.h"
26 #include "wx/spinctrl.h"
27 #include "wx/tglbtn.h"
28 #include "wx/treectrl.h"
30 #include "customcombo.h"
33 class GUIFrame
: public wxFrame
37 GUIFrame( wxWindow
* parent
, wxWindowID id
= wxID_ANY
, const wxString
& title
= _("wxWidgets Control Screenshot Generator"), const wxPoint
& pos
= wxDefaultPosition
, const wxSize
& size
= wxSize( -1,-1 ), long style
= wxDEFAULT_FRAME_STYLE
|wxTAB_TRAVERSAL
);
44 idMenuCapFullScreen
= 1000,
53 wxMenuItem
* m_menuCapRect
;
54 wxMenuItem
* m_menuEndCapRect
;
57 wxStatusBar
* statusBar
;
59 wxNotebook
* m_notebook1
;
63 wxStaticText
* m_staticText1
;
64 wxCheckBox
* m_checkBox1
;
65 wxCheckBox
* m_checkBox2
;
66 wxRadioButton
* m_radioBtn1
;
67 wxRadioButton
* m_radioBtn2
;
68 wxBitmapButton
* m_bpButton1
;
69 wxStaticBitmap
* m_bitmap1
;
72 wxToggleButton
* m_toggleBtn1
;
73 wxToggleButton
* m_toggleBtn2
;
74 wxHyperlinkCtrl
* m_hyperlink1
;
75 wxSpinCtrl
* m_spinCtrl1
;
76 wxSpinButton
* m_spinBtn1
;
77 wxScrollBar
* m_scrollBar1
;
80 wxCheckListBox
* m_checkList1
;
81 wxListBox
* m_listBox1
;
82 wxRadioBox
* m_radioBox1
;
83 wxStaticBox
* m_staticBox1
;
84 wxTreeCtrl
* m_treeCtrl1
;
85 wxListCtrl
* m_listCtrl1
;
86 wxAnimationCtrl
* m_animationCtrl1
;
87 wxCollapsiblePane
*m_collPane1
;
88 wxCollapsiblePane
*m_collPane2
;
91 wxTextCtrl
* m_textCtrl1
;
92 wxTextCtrl
* m_textCtrl2
;
93 wxRichTextCtrl
* m_richText1
;
96 wxColourPickerCtrl
* m_colourPicker1
;
97 wxFontPickerCtrl
* m_fontPicker1
;
98 wxFilePickerCtrl
* m_filePicker1
;
99 wxCalendarCtrl
* m_calendar1
;
100 wxDatePickerCtrl
* m_datePicker1
;
101 wxGenericDirCtrl
* m_genericDirCtrl1
;
102 wxDirPickerCtrl
* m_dirPicker1
;
106 wxComboBox
* m_comboBox1
;
107 wxBitmapComboBox
* m_bmpComboBox1
;
108 PenStyleComboBox
* m_ownerDrawnComboBox1
;
109 wxComboCtrl
* m_comboCtrl1
;
110 wxComboCtrl
* m_comboCtrl2
;
112 // Virtual event handlers, overide them in your derived class
113 virtual void OnClose( wxCloseEvent
& event
){ event
.Skip(); }
114 virtual void OnSeeScreenshots( wxCommandEvent
& event
){ event
.Skip(); }
115 virtual void OnQuit( wxCommandEvent
& event
){ event
.Skip(); }
116 virtual void OnCaptureFullScreen( wxCommandEvent
& event
){ event
.Skip(); }
117 virtual void OnCaptureRect( wxCommandEvent
& event
){ event
.Skip(); }
118 virtual void OnEndCaptureRect( wxCommandEvent
& event
){ event
.Skip(); }
119 virtual void OnCaptureAllControls( wxCommandEvent
& event
){ event
.Skip(); }
120 virtual void OnAbout( wxCommandEvent
& event
){ event
.Skip(); }
121 virtual void OnNotebookPageChanged( wxNotebookEvent
& event
){ event
.Skip(); }
122 virtual void OnNotebookPageChanging( wxNotebookEvent
& event
){ event
.Skip(); }
133 #endif //_GUIFRAME_H_