Game Develop Core: EditComment.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
EditComment.h
1
2 #if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
3 #ifndef GDCORE_EDITCOMMENT_H
4 #define GDCORE_EDITCOMMENT_H
5
6 //(*Headers(EditComment)
7 #include <wx/sizer.h>
8 #include <wx/textctrl.h>
9 #include <wx/checkbox.h>
10 #include <wx/statline.h>
11 #include <wx/hyperlink.h>
12 #include <wx/statbmp.h>
13 #include <wx/button.h>
14 #include <wx/dialog.h>
15 //*)
16 #include "GDCore/Events/Builtin/CommentEvent.h"
17
18 namespace gd
19 {
20
25 class EditComment: public wxDialog
26 {
27 public:
28
29 EditComment(wxWindow* parent, CommentEvent & event_);
30 virtual ~EditComment();
31
32 //(*Declarations(EditComment)
33 wxButton* OkBt;
34 wxButton* ColorBt;
35 wxStaticBitmap* StaticBitmap1;
36 wxTextCtrl* Com1Edit;
37 wxHyperlinkCtrl* HyperlinkCtrl1;
38 wxCheckBox* CheckBox1;
39 wxTextCtrl* Com2Edit;
40 wxStaticLine* StaticLine1;
41 wxButton* AnnulerBt;
42 wxButton* txtColorBt;
43 //*)
44
45 CommentEvent & commentEvent;
46
47 protected:
48
49 //(*Identifiers(EditComment)
50 static const long ID_TEXTCTRL1;
51 static const long ID_TEXTCTRL2;
52 static const long ID_CHECKBOX1;
53 static const long ID_BUTTON1;
54 static const long ID_BUTTON5;
55 static const long ID_STATICLINE1;
56 static const long ID_STATICBITMAP2;
57 static const long ID_HYPERLINKCTRL1;
58 static const long ID_BUTTON2;
59 static const long ID_BUTTON3;
60 //*)
61
62 private:
63
64 //(*Handlers(EditComment)
65 void OnColorBtClick(wxCommandEvent& event);
66 void OnOkBtClick(wxCommandEvent& event);
67 void OnAnnulerBtClick(wxCommandEvent& event);
68 void OnAideBtClick(wxCommandEvent& event);
69 void OntxtColorBtClick(wxCommandEvent& event);
70 void OnCheckBox1Click(wxCommandEvent& event);
71 //*)
72
73 DECLARE_EVENT_TABLE()
74 };
75
76 }
77
78 #endif //GDCORE_EDITCOMMENT_H
79 #endif