summaryrefslogtreecommitdiffstats
path: root/Project/ControlEditor.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2017-01-19 19:18:16 -0200
committerThales1330 <thaleslima.ufu@gmail.com>2017-01-19 19:18:16 -0200
commit864842440bb7fd9f8495314b8bfa2e2c8a0d47f4 (patch)
treeaf2d0243662bcebc8c14ad0109c040e2410dc46a /Project/ControlEditor.h
parentddb262a4d6bed48ac68eeed99032e10c49c02996 (diff)
downloadPSP.git-864842440bb7fd9f8495314b8bfa2e2c8a0d47f4.tar.gz
PSP.git-864842440bb7fd9f8495314b8bfa2e2c8a0d47f4.tar.xz
PSP.git-864842440bb7fd9f8495314b8bfa2e2c8a0d47f4.zip
Cunston control element button implementation
Diffstat (limited to 'Project/ControlEditor.h')
-rw-r--r--Project/ControlEditor.h24
1 files changed, 24 insertions, 0 deletions
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 <wx/wrapsizer.h>
+#include <wx/bmpbuttn.h>
+#include <wx/dcclient.h>
+#include <wx/graphics.h>
+
+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