Game Develop Core: EditLink.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
EditLink.h
1
2 #if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
3 #ifndef EDITLINK_H
4 #define EDITLINK_H
5
6 //(*Headers(EditLink)
7 #include <wx/sizer.h>
8 #include <wx/stattext.h>
9 #include <wx/textctrl.h>
10 #include <wx/statline.h>
11 #include <wx/radiobut.h>
12 #include <wx/hyperlink.h>
13 #include <wx/statbmp.h>
14 #include <wx/button.h>
15 #include <wx/dialog.h>
16 #include <wx/combobox.h>
17 //*)
18 #include "GDCore/Events/Builtin/LinkEvent.h"
19 namespace gd { class Project; }
20
21 namespace gd
22 {
23
28 class EditLink: public wxDialog
29 {
30 public:
31
32 EditLink(wxWindow* parent, LinkEvent & event, const gd::Project & game);
33 virtual ~EditLink();
34
35 //(*Declarations(EditLink)
36 wxButton* OkBt;
37 wxStaticText* StaticText2;
38 wxComboBox* linkedNameEdit;
39 wxRadioButton* AllEventsCheck;
40 wxStaticBitmap* StaticBitmap1;
41 wxTextCtrl* EndEdit;
42 wxStaticText* StaticText1;
43 wxHyperlinkCtrl* HyperlinkCtrl1;
44 wxTextCtrl* StartEdit;
45 wxRadioButton* OnlyEventsCheck;
46 wxStaticText* StaticText5;
47 wxStaticLine* StaticLine1;
48 wxButton* AnnulerBt;
49 wxStaticText* StaticText4;
50 //*)
51
52 protected:
53
54 //(*Identifiers(EditLink)
55 static const long ID_STATICTEXT1;
56 static const long ID_COMBOBOX1;
57 static const long ID_RADIOBUTTON1;
58 static const long ID_RADIOBUTTON2;
59 static const long ID_TEXTCTRL2;
60 static const long ID_STATICTEXT2;
61 static const long ID_TEXTCTRL3;
62 static const long ID_STATICTEXT4;
63 static const long ID_STATICTEXT5;
64 static const long ID_STATICLINE1;
65 static const long ID_STATICBITMAP2;
66 static const long ID_HYPERLINKCTRL1;
67 static const long ID_BUTTON1;
68 static const long ID_BUTTON2;
69 //*)
70
71 private:
72
73 //(*Handlers(EditLink)
74 void OnAideBtClick(wxCommandEvent& event);
75 void OnAnnulerBtClick(wxCommandEvent& event);
76 void OnOkBtClick(wxCommandEvent& event);
77 void OnStartEditText(wxCommandEvent& event);
78 void OnEndEditText(wxCommandEvent& event);
79 void OnOnlyEventsCheckSelect(wxCommandEvent& event);
80 //*)
81
82 LinkEvent & editedEvent;
83 const gd::Project & game;
84
85 DECLARE_EVENT_TABLE()
86 };
87
88 }
89 #endif
90 #endif