Game Develop C++ Platform: EditCppCodeEvent.h Source File

| Game Develop C++ Platform Platform for developing native games based on OpenGL and SFML with Game Develop

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
EditCppCodeEvent.h
1 #if defined(GD_IDE_ONLY)
2
3 #ifndef EDITCPPCODEEVENT_H
4 #define EDITCPPCODEEVENT_H
5
6 //(*Headers(EditCppCodeEvent)
7 #include <wx/sizer.h>
8 #include <wx/stattext.h>
9 #include <wx/textctrl.h>
10 #include <wx/checklst.h>
11 #include <wx/checkbox.h>
12 #include <wx/statline.h>
13 #include <wx/panel.h>
14 #include <wx/bmpbuttn.h>
15 #include <wx/statbmp.h>
16 #include <wx/button.h>
17 #include <wx/dialog.h>
18 #include <wx/stc/stc.h>
19 //*)
20 class CppCodeEvent;
21 namespace gd { class Project; }
22 namespace gd { class Layout; }
23
24 class EditCppCodeEvent: public wxDialog
25 {
26 public:
27
28 EditCppCodeEvent(wxWindow* parent, CppCodeEvent & event_, gd::Project & game_, gd::Layout & scene_);
29 virtual ~EditCppCodeEvent();
30
31 //(*Declarations(EditCppCodeEvent)
32 wxTextCtrl* displayedNameEdit;
33 wxStaticText* functionPrototypeTxt;
34 wxCheckBox* objectsListCheck;
35 wxCheckBox* displayCodeCheck;
36 wxTextCtrl* objectPassedAsParameterEdit;
37 wxPanel* Panel1;
38 wxStaticText* StaticText1;
39 wxStaticText* StaticText3;
40 wxButton* cancelBt;
41 wxCheckBox* sceneRefCheck;
42 wxStaticLine* StaticLine2;
43 wxBitmapButton* objectBt;
44 wxCheckListBox* dependenciesList;
45 wxStaticLine* StaticLine1;
46 wxStyledTextCtrl* codeEdit;
47 wxTextCtrl* includeTextCtrl;
48 wxStaticText* StaticText4;
49 wxButton* okBt;
50 wxStaticBitmap* StaticBitmap3;
51 //*)
52
53 protected:
54
55 //(*Identifiers(EditCppCodeEvent)
56 static const long ID_STATICBITMAP3;
57 static const long ID_STATICTEXT3;
58 static const long ID_PANEL1;
59 static const long ID_STATICLINE2;
60 static const long ID_CHECKBOX2;
61 static const long ID_CHECKBOX1;
62 static const long ID_TEXTCTRL3;
63 static const long ID_BITMAPBUTTON1;
64 static const long ID_CHECKLISTBOX1;
65 static const long ID_STATICTEXT1;
66 static const long ID_TEXTCTRL1;
67 static const long ID_CHECKBOX3;
68 static const long ID_TEXTCTRL2;
69 static const long ID_STATICTEXT5;
70 static const long ID_CUSTOM1;
71 static const long ID_STATICTEXT4;
72 static const long ID_STATICLINE1;
73 static const long ID_BUTTON1;
74 static const long ID_BUTTON2;
75 //*)
76
77 private:
78
79 //(*Handlers(EditCppCodeEvent)
80 void OnokBtClick(wxCommandEvent& event);
81 void OncancelBtClick(wxCommandEvent& event);
82 void OnobjectBtClick(wxCommandEvent& event);
83 void OnobjectPassedAsParameterEditText(wxCommandEvent& event);
84 void OnobjectsListCheckClick(wxCommandEvent& event);
85 void OnsceneRefCheckClick(wxCommandEvent& event);
86 //*)
87 void UpdateTextCtrl(wxStyledTextEvent& event);
88
89 void UpdateFunctionPrototype();
90
91 CppCodeEvent & editedEvent;
92 gd::Project & game;
93 gd::Layout & scene;
94
95 DECLARE_EVENT_TABLE()
96 };
97
98 #endif
99 #endif
100