Game Develop Core: ResourceLibraryDialog.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
ResourceLibraryDialog.h
Go to the documentation of this file.
1
6 #if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
7 #ifndef RESOURCELIBRARYDIALOG_H
8 #define RESOURCELIBRARYDIALOG_H
9
10 //(*Headers(ResourceLibraryDialog)
11 #include <wx/listctrl.h>
12 #include <wx/sizer.h>
13 #include <wx/stattext.h>
14 #include <wx/textctrl.h>
15 #include <wx/statline.h>
16 #include <wx/panel.h>
17 #include <wx/button.h>
18 #include <wx/dialog.h>
19 //*)
20 #include <wx/treelist.h>
21
22 namespace gd
23 {
24
34 class GD_CORE_API ResourceLibraryDialog: public wxDialog
35 {
36 public:
37
38 ResourceLibraryDialog(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);
39 virtual ~ResourceLibraryDialog();
40
41 //(*Declarations(ResourceLibraryDialog)
42 wxStaticText* StaticText2;
43 wxPanel* Panel1;
44 wxStaticText* StaticText1;
45 wxStaticText* StaticText3;
46 wxStaticLine* StaticLine2;
47 wxButton* closeBt;
48 wxStaticLine* StaticLine1;
49 wxTextCtrl* insertionFolderEdit;
50 wxListCtrl* listCtrl;
51 //*)
52
53 protected:
54
55 //(*Identifiers(ResourceLibraryDialog)
56 static const long ID_STATICTEXT1;
57 static const long ID_PANEL1;
58 static const long ID_STATICLINE1;
59 static const long ID_LISTCTRL1;
60 static const long ID_STATICTEXT3;
61 static const long ID_STATICTEXT2;
62 static const long ID_TEXTCTRL1;
63 static const long ID_STATICLINE2;
64 static const long ID_BUTTON1;
65 //*)
66
67 private:
68
69 //(*Handlers(ResourceLibraryDialog)
70 void OnInit(wxInitDialogEvent& event);
71 void OnlistCtrlItemActivated(wxListEvent& event);
72 void OnButton1Click(wxCommandEvent& event);
73 void OncloseBtClick(wxCommandEvent& event);
74 void OnlistCtrlBeginDrag(wxListEvent& event);
75 //*)
76 void OnSelectionChanged(wxTreeListEvent& event);
77 void OnItemChecked(wxTreeListEvent& event);
78
79 void ConstructList();
80
81 wxString currentDir;
82
83 DECLARE_EVENT_TABLE()
84 };
85
86 }
87
88 #endif
89 #endif