Game Develop Core: EditLayerDialog.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
EditLayerDialog.h
Go to the documentation of this file.
1
6 #if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
7 #ifndef GDCORE_EDITLAYER_H
8 #define GDCORE_EDITLAYER_H
9
10 //(*Headers(EditLayerDialog)
11 #include <wx/sizer.h>
12 #include <wx/stattext.h>
13 #include <wx/textctrl.h>
14 #include <wx/checkbox.h>
15 #include <wx/statline.h>
16 #include <wx/hyperlink.h>
17 #include <wx/choice.h>
18 #include <wx/statbmp.h>
19 #include <wx/button.h>
20 #include <wx/dialog.h>
21 //*)
22 #include "GDCore/PlatformDefinition/Layer.h"
23
24 namespace gd
25 {
26
33 class EditLayerDialog: public wxDialog
34 {
35 public:
36
42 EditLayerDialog(wxWindow* parent, Layer & layer_);
43 virtual ~EditLayerDialog();
44
45 protected:
46
47 //(*Declarations(EditLayerDialog)
48 wxStaticText* StaticText9;
49 wxStaticBitmap* StaticBitmap2;
50 wxTextCtrl* viewportX2Edit;
51 wxStaticText* StaticText2;
52 wxCheckBox* sizeCheck;
53 wxStaticText* StaticText6;
54 wxCheckBox* visibilityCheck;
55 wxStaticText* StaticText8;
56 wxStaticText* StaticText1;
57 wxStaticText* StaticText3;
58 wxButton* cancelBt;
59 wxTextCtrl* nameEdit;
60 wxTextCtrl* viewportY1Edit;
61 wxStaticText* StaticText7;
62 wxTextCtrl* cameraWidthEdit;
63 wxStaticLine* StaticLine1;
64 wxTextCtrl* viewportX1Edit;
65 wxButton* deleteCameraBt;
66 wxHyperlinkCtrl* helpBt;
67 wxButton* addCameraBt;
68 wxChoice* cameraChoice;
69 wxStaticText* StaticText4;
70 wxCheckBox* viewportCheck;
71 wxButton* okBt;
72 wxTextCtrl* viewportY2Edit;
73 wxTextCtrl* cameraHeightEdit;
74 //*)
75
76 //(*Identifiers(EditLayerDialog)
77 static const long ID_STATICTEXT1;
78 static const long ID_TEXTCTRL1;
79 static const long ID_CHECKBOX1;
80 static const long ID_STATICTEXT2;
81 static const long ID_CHOICE1;
82 static const long ID_BUTTON5;
83 static const long ID_BUTTON3;
84 static const long ID_CHECKBOX2;
85 static const long ID_TEXTCTRL2;
86 static const long ID_STATICTEXT4;
87 static const long ID_TEXTCTRL3;
88 static const long ID_CHECKBOX3;
89 static const long ID_STATICTEXT7;
90 static const long ID_TEXTCTRL4;
91 static const long ID_STATICTEXT6;
92 static const long ID_TEXTCTRL5;
93 static const long ID_STATICTEXT8;
94 static const long ID_TEXTCTRL6;
95 static const long ID_STATICTEXT9;
96 static const long ID_TEXTCTRL7;
97 static const long ID_STATICTEXT3;
98 static const long ID_STATICLINE1;
99 static const long ID_STATICBITMAP2;
100 static const long ID_HYPERLINKCTRL1;
101 static const long ID_BUTTON2;
102 static const long ID_BUTTON1;
103 //*)
104
105 private:
106
107 //(*Handlers(EditLayerDialog)
108 void OncancelBtClick(wxCommandEvent& event);
109 void OnokBtClick(wxCommandEvent& event);
110 void OnaddCameraBtClick(wxCommandEvent& event);
111 void OncameraChoiceSelect(wxCommandEvent& event);
112 void OnsizeCheckClick(wxCommandEvent& event);
113 void OncameraWidthEditText(wxCommandEvent& event);
114 void OncameraHeightEditText(wxCommandEvent& event);
115 void OnviewportCheckClick(wxCommandEvent& event);
116 void OnviewportX1EditText(wxCommandEvent& event);
117 void OndeleteCameraBtClick(wxCommandEvent& event);
118 void OnhelpBtClick(wxCommandEvent& event);
119 //*)
120 void RefreshCameraSettings();
121
122 Layer & layer;
123 Layer tempLayer;
124
125 DECLARE_EVENT_TABLE()
126 };
127
128
129 }
130 #endif
131 #endif