]>
git.saurik.com Git - wxWidgets.git/blob - utils/screenshotgen/src/guiframe.h
1bbbfec485d6f06b7fa16abf6d02a4d2aa60745b
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Defines the window containing all controls.
4 // Author: Utensil Candel (UtensilCandel@@gmail.com)
5 // Licence: wxWindows licence
6 /////////////////////////////////////////////////////////////////////////////
11 #include "wx/animate.h"
12 #include "wx/bmpcbox.h"
13 #include "wx/calctrl.h"
14 #include "wx/clrpicker.h"
15 #include "wx/collpane.h"
16 #include "wx/datectrl.h"
17 #include "wx/dirctrl.h"
18 #include "wx/filepicker.h"
19 #include "wx/fontpicker.h"
20 #include "wx/hyperlink.h"
21 #include "wx/listctrl.h"
22 #include "wx/notebook.h"
23 #include "wx/richtext/richtextctrl.h"
24 #include "wx/spinbutt.h"
25 #include "wx/spinctrl.h"
26 #include "wx/tglbtn.h"
27 #include "wx/treectrl.h"
29 #include "customcombo.h"
32 class GUIFrame
: public wxFrame
36 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
);
43 idMenuCapFullScreen
= 1000,
52 wxStatusBar
* statusBar
;
54 wxNotebook
* m_notebook1
;
58 wxStaticText
* m_staticText1
;
59 wxCheckBox
* m_checkBox1
;
60 wxCheckBox
* m_checkBox2
;
61 wxRadioButton
* m_radioBtn1
;
62 wxRadioButton
* m_radioBtn2
;
63 wxBitmapButton
* m_bpButton1
;
64 wxStaticBitmap
* m_bitmap1
;
67 wxToggleButton
* m_toggleBtn1
;
68 wxToggleButton
* m_toggleBtn2
;
69 wxHyperlinkCtrl
* m_hyperlink1
;
70 wxSpinCtrl
* m_spinCtrl1
;
71 wxSpinButton
* m_spinBtn1
;
72 wxScrollBar
* m_scrollBar1
;
75 wxCheckListBox
* m_checkList1
;
76 wxListBox
* m_listBox1
;
77 wxRadioBox
* m_radioBox1
;
78 wxStaticBox
* m_staticBox1
;
79 wxTreeCtrl
* m_treeCtrl1
;
80 wxListCtrl
* m_listCtrl1
;
81 wxAnimationCtrl
* m_animationCtrl1
;
82 wxCollapsiblePane
*m_collPane1
;
83 wxCollapsiblePane
*m_collPane2
;
86 wxTextCtrl
* m_textCtrl1
;
87 wxTextCtrl
* m_textCtrl2
;
88 wxRichTextCtrl
* m_richText1
;
91 wxColourPickerCtrl
* m_colourPicker1
;
92 wxFontPickerCtrl
* m_fontPicker1
;
93 wxFilePickerCtrl
* m_filePicker1
;
94 wxCalendarCtrl
* m_calendar1
;
95 wxDatePickerCtrl
* m_datePicker1
;
96 wxGenericDirCtrl
* m_genericDirCtrl1
;
97 wxDirPickerCtrl
* m_dirPicker1
;
101 wxComboBox
* m_comboBox1
;
102 wxBitmapComboBox
* m_bmpComboBox1
;
103 PenStyleComboBox
* m_ownerDrawnComboBox1
;
104 wxComboCtrl
* m_comboCtrl1
;
105 wxComboCtrl
* m_comboCtrl2
;
107 // Virtual event handlers, overide them in your derived class
108 virtual void OnClose( wxCloseEvent
& event
){ event
.Skip(); }
109 virtual void OnSeeScreenshots( wxCommandEvent
& event
){ event
.Skip(); }
110 virtual void OnQuit( wxCommandEvent
& event
){ event
.Skip(); }
111 virtual void OnCaptureFullScreen( wxCommandEvent
& event
){ event
.Skip(); }
112 virtual void OnCaptureAllControls( wxCommandEvent
& event
){ event
.Skip(); }
113 virtual void OnAbout( wxCommandEvent
& event
){ event
.Skip(); }
124 #endif //_GUIFRAME_H_