From 864842440bb7fd9f8495314b8bfa2e2c8a0d47f4 Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Thu, 19 Jan 2017 19:18:16 -0200 Subject: Cunston control element button implementation --- Project/ControlEditor.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'Project/ControlEditor.h') diff --git a/Project/ControlEditor.h b/Project/ControlEditor.h index b917db5..fd35452 100644 --- a/Project/ControlEditor.h +++ b/Project/ControlEditor.h @@ -1,11 +1,35 @@ #ifndef CONTROLEDITOR_H #define CONTROLEDITOR_H + #include "ControlEditorBase.h" +#include +#include +#include +#include + +class ControlElementButton : public wxWindow +{ +public: + ControlElementButton(wxWindow* parent, wxString label, wxImage image); + ~ControlElementButton(); + +protected: + void OnPaint(wxPaintEvent& event); + + wxString m_label; + wxImage m_image; +}; class ControlEditor : public ControlEditorBase { public: ControlEditor(wxWindow* parent); virtual ~ControlEditor(); + +protected: + void BuildControlElementPanel(); + virtual void LeftClickDown(wxMouseEvent& event); + + wxButton* m_tfButton; }; #endif // CONTROLEDITOR_H -- cgit