Game Develop Core: EditForEachEvent.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
EditForEachEvent.h
Go to the documentation of this file.
1
6 #if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
7 #ifndef EDITFOREACHEVENT_H
8 #define EDITFOREACHEVENT_H
9
10 //(*Headers(EditForEachEvent)
11 #include <wx/sizer.h>
12 #include <wx/stattext.h>
13 #include <wx/textctrl.h>
14 #include <wx/statline.h>
15 #include <wx/hyperlink.h>
16 #include <wx/bmpbuttn.h>
17 #include <wx/statbmp.h>
18 #include <wx/button.h>
19 #include <wx/dialog.h>
20 //*)
21 #include "GDCore/Events/Builtin/ForEachEvent.h"
22 namespace gd { class Project; }
23 namespace gd { class Layout; }
24
25 namespace gd
26 {
27
32 class EditForEachEvent: public wxDialog
33 {
34 public:
35
36 EditForEachEvent(wxWindow* parent, ForEachEvent & event_, gd::Project & game_, gd::Layout & scene_);
37 virtual ~EditForEachEvent();
38
39 //(*Declarations(EditForEachEvent)
40 wxStaticBitmap* StaticBitmap1;
41 wxStaticText* StaticText1;
42 wxButton* cancelBt;
43 wxBitmapButton* objectBt;
44 wxStaticLine* StaticLine1;
45 wxTextCtrl* objectEdit;
46 wxHyperlinkCtrl* helpBt;
47 wxButton* okBt;
48 //*)
49
50 ForEachEvent & eventEdited;
51
52 protected:
53
54 //(*Identifiers(EditForEachEvent)
55 static const long ID_STATICTEXT1;
56 static const long ID_TEXTCTRL1;
57 static const long ID_BITMAPBUTTON1;
58 static const long ID_STATICLINE1;
59 static const long ID_STATICBITMAP2;
60 static const long ID_HYPERLINKCTRL1;
61 static const long ID_BUTTON1;
62 static const long ID_BUTTON2;
63 //*)
64
65 private:
66
67 //(*Handlers(EditForEachEvent)
68 void OnokBtClick(wxCommandEvent& event);
69 void OncancelBtClick(wxCommandEvent& event);
70 void OnobjectBtClick(wxCommandEvent& event);
71 void OnhelpBtClick(wxCommandEvent& event);
72 //*)
73
74 gd::Project & game;
75 gd::Layout & scene;
76
77 DECLARE_EVENT_TABLE()
78 };
79
80 }
81 #endif
82 #endif