Game Develop Core: GridSetupDialog.h Source File

| Game Develop Core Core library for developing platforms and tools compatible with Game Develop.

- Main Page
- Modules
- Classes

- File List
- File Members

All Classes Files Functions Variables Typedefs Enumerations Macros Groups Pages
GridSetupDialog.h
1
2 #if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
3 #ifndef GRIDSETUP_H
4 #define GRIDSETUP_H
5
6 //(*Headers(GridSetupDialog)
7 #include <wx/sizer.h>
8 #include <wx/stattext.h>
9 #include <wx/textctrl.h>
10 #include <wx/checkbox.h>
11 #include <wx/statline.h>
12 #include <wx/panel.h>
13 #include <wx/hyperlink.h>
14 #include <wx/statbmp.h>
15 #include <wx/button.h>
16 #include <wx/dialog.h>
17 //*)
18
19 namespace gd
20 {
21
28 class GridSetupDialog: public wxDialog
29 {
30 public:
31
32 GridSetupDialog(wxWindow* parent, int & width, int & height, bool & snap_, int & r_, int & g_, int & b_);
33 virtual ~GridSetupDialog();
34
35 //(*Declarations(GridSetupDialog)
36 wxStaticBitmap* StaticBitmap2;
37 wxTextCtrl* widthEdit;
38 wxStaticText* StaticText6;
39 wxTextCtrl* heightEdit;
40 wxStaticText* StaticText1;
41 wxStaticText* StaticText3;
42 wxButton* cancelBt;
43 wxPanel* colorPanel;
44 wxStaticText* StaticText5;
45 wxStaticLine* StaticLine1;
46 wxHyperlinkCtrl* helpBt;
47 wxStaticText* StaticText4;
48 wxButton* okBt;
49 wxCheckBox* snapCheck;
50 //*)
51 int & gridWidth;
52 int & gridHeight;
53 bool & snap;
54 int & r;
55 int & g;
56 int & b;
57
58 protected:
59
60 //(*Identifiers(GridSetupDialog)
61 static const long ID_STATICTEXT3;
62 static const long ID_TEXTCTRL2;
63 static const long ID_STATICTEXT4;
64 static const long ID_STATICTEXT5;
65 static const long ID_TEXTCTRL3;
66 static const long ID_STATICTEXT6;
67 static const long ID_CHECKBOX1;
68 static const long ID_STATICTEXT1;
69 static const long ID_PANEL1;
70 static const long ID_STATICLINE1;
71 static const long ID_STATICBITMAP2;
72 static const long ID_HYPERLINKCTRL1;
73 static const long ID_BUTTON1;
74 static const long ID_BUTTON2;
75 //*)
76
77 private:
78
79 //(*Handlers(GridSetupDialog)
80 void OnokBtClick(wxCommandEvent& event);
81 void OncancelBtClick(wxCommandEvent& event);
82 void OncolorPanelLeftUp(wxMouseEvent& event);
83 void OnhelpBtClick(wxCommandEvent& event);
84 //*)
85
86 DECLARE_EVENT_TABLE()
87 };
88
89 }
90 #endif
91 #endif