Game Develop Core: ChooseAutomatismTypeDialog.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
ChooseAutomatismTypeDialog.h
Go to the documentation of this file.
1
5 #if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
6
7 #ifndef GDCORE_AUTOMATISMTYPECHOICE_H
8 #define GDCORE_AUTOMATISMTYPECHOICE_H
9
10 //(*Headers(ChooseAutomatismTypeDialog)
11 #include <wx/listctrl.h>
12 #include <wx/sizer.h>
13 #include <wx/stattext.h>
14 #include <wx/statline.h>
15 #include <wx/hyperlink.h>
16 #include <wx/choice.h>
17 #include <wx/statbmp.h>
18 #include <wx/button.h>
19 #include <wx/dialog.h>
20 //*)
21 namespace gd { class Project; }
22
23 namespace gd {
24
29 class GD_CORE_API ChooseAutomatismTypeDialog: public wxDialog
30 {
31 public:
32
39 ChooseAutomatismTypeDialog(wxWindow* parent, gd::Project & project);
40 virtual ~ChooseAutomatismTypeDialog();
41
45 const std::string & GetSelectedAutomatismType() const { return selectedAutomatismType; }
46
47 private:
48
49 //(*Declarations(ChooseAutomatismTypeDialog)
50 wxStaticBitmap* StaticBitmap2;
51 wxChoice* platformChoice;
52 wxStaticText* StaticText2;
53 wxStaticText* StaticText1;
54 wxButton* cancelBt;
55 wxStaticLine* StaticLine2;
56 wxListCtrl* automatismsList;
57 wxHyperlinkCtrl* helpBt;
58 wxButton* okBt;
59 //*)
60
61 //(*Identifiers(ChooseAutomatismTypeDialog)
62 static const long ID_STATICTEXT1;
63 static const long ID_LISTCTRL1;
64 static const long ID_STATICTEXT2;
65 static const long ID_STATICLINE2;
66 static const long ID_CHOICE1;
67 static const long ID_STATICBITMAP5;
68 static const long ID_HYPERLINKCTRL2;
69 static const long ID_BUTTON1;
70 static const long ID_BUTTON2;
71 //*)
72
73 //(*Handlers(ChooseAutomatismTypeDialog)
74 void OnautomatismsListItemActivated(wxListEvent& event);
75 void OnautomatismsListItemSelect(wxListEvent& event);
76 void OnokBtClick(wxCommandEvent& event);
77 void OncancelBtClick(wxCommandEvent& event);
78 void OnmoreAutomatismsBtClick(wxCommandEvent& event);
79 void OnResize(wxSizeEvent& event);
80 void OnhelpBtClick(wxCommandEvent& event);
81 void OnplatformChoiceSelect(wxCommandEvent& event);
82 //*)
83 void UpdateListColumnsWidth();
84 void RefreshList();
85
86 gd::Project & project;
87 std::string selectedAutomatismType;
88
89 DECLARE_EVENT_TABLE()
90 };
91
92 }
93 #endif
94 #endif