Game Develop Core: ProjectExtensionsDialog.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
ProjectExtensionsDialog.h
Go to the documentation of this file.
1
6 #if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
7 #ifndef ProjectExtensionsDialog_H
8 #define ProjectExtensionsDialog_H
9
10 //(*Headers(ProjectExtensionsDialog)
11 #include <wx/listctrl.h>
12 #include <wx/sizer.h>
13 #include <wx/stattext.h>
14 #include <wx/menu.h>
15 #include <wx/textctrl.h>
16 #include <wx/checklst.h>
17 #include <wx/statline.h>
18 #include <wx/hyperlink.h>
19 #include <wx/statbmp.h>
20 #include <wx/button.h>
21 #include <wx/dialog.h>
22 //*)
23 #include <wx/htmllbox.h>
24 #include <boost/shared_ptr.hpp>
25 namespace gd { class Project; }
26 namespace gd { class Platform; }
27
28 namespace gd
29 {
30
36 class GD_CORE_API ProjectExtensionsDialog: public wxDialog
37 {
38 public:
39
40 ProjectExtensionsDialog(wxWindow* parent, gd::Project & project_);
41 virtual ~ProjectExtensionsDialog();
42
43 //(*Declarations(ProjectExtensionsDialog)
44 wxStaticText* authorTxt;
45 wxStaticBitmap* StaticBitmap2;
46 wxStaticBitmap* maccompatibleBmp;
47 wxCheckListBox* ExtensionsList;
48 wxStaticText* StaticText2;
49 wxButton* FermerBt;
50 wxStaticText* StaticText6;
51 wxTextCtrl* infoEdit;
52 wxMenu notUsedPlatformMenu;
53 wxListCtrl* platformList;
54 wxStaticText* StaticText1;
55 wxStaticText* StaticText3;
56 wxHyperlinkCtrl* HyperlinkCtrl1;
57 wxMenuItem* removePlatformMenuItem;
58 wxMenuItem* usePlatformMenuItem;
59 wxStaticText* StaticText5;
60 wxStaticText* StaticText7;
61 wxStaticLine* StaticLine1;
62 wxHyperlinkCtrl* helpBt;
63 wxStaticText* licenseTxt;
64 wxMenu usedPlatformMenu;
65 wxStaticText* StaticText4;
66 wxStaticBitmap* wincompatibleBmp;
67 wxStaticBitmap* linuxcompatibleBmp;
68 //*)
69
70 protected:
71
72 //(*Identifiers(ProjectExtensionsDialog)
73 static const long ID_LISTCTRL1;
74 static const long ID_STATICTEXT1;
75 static const long ID_CHECKLISTBOX1;
76 static const long ID_STATICTEXT9;
77 static const long ID_TEXTCTRL2;
78 static const long ID_STATICTEXT5;
79 static const long ID_STATICTEXT3;
80 static const long ID_STATICTEXT6;
81 static const long ID_STATICTEXT4;
82 static const long ID_STATICTEXT7;
83 static const long ID_STATICBITMAP2;
84 static const long ID_STATICBITMAP4;
85 static const long ID_STATICBITMAP1;
86 static const long ID_STATICTEXT8;
87 static const long ID_HYPERLINKCTRL1;
88 static const long ID_STATICLINE1;
89 static const long ID_STATICBITMAP5;
90 static const long ID_HYPERLINKCTRL2;
91 static const long ID_STATICTEXT2;
92 static const long ID_BUTTON3;
93 static const long ID_MENUITEM1;
94 static const long ID_MENUITEM2;
95 //*)
96
97 private:
98
99 //(*Handlers(ProjectExtensionsDialog)
100 void OninstallNewExtensionBtClick(wxCommandEvent& event);
101 void OnuninstallExtensionBtClick(wxCommandEvent& event);
102 void OnExtensionsListSelect(wxCommandEvent& event);
103 void OnFermerBtClick(wxCommandEvent& event);
104 void OnHyperlinkCtrl2Click(wxCommandEvent& event);
105 void OnhelpBtClick(wxCommandEvent& event);
106 void OnResize(wxSizeEvent& event);
107 void OnusePlatformMenuItemSelected(wxCommandEvent& event);
108 void OnremovePlatformMenuItemSelected(wxCommandEvent& event);
109 void OnplatformListItemSelect(wxListEvent& event);
110 void OnplatformListItemRClick(wxListEvent& event);
111 void OnExtensionsListToggled(wxCommandEvent& event);
112 //*)
113 void RefreshExtensionList();
114 void RefreshPlatformList();
115 void RefreshExtensionListColumnsWidth();
116
117 gd::Project & project;
118 gd::Platform * currentPlatform;
119
120 DECLARE_EVENT_TABLE()
121 };
122
123 }
124
125 #endif
126 #endif