Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/iconbutton.h')
-rw-r--r--src/ui/iconbutton.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/ui/iconbutton.h b/src/ui/iconbutton.h
index a7aee39..92e73ee 100644
--- a/src/ui/iconbutton.h
+++ b/src/ui/iconbutton.h
@@ -51,6 +51,13 @@ public:
/// print button description
virtual void print(const size_t indent) const;
+protected:
+ /// draw the button border
+ virtual void draw_border();
+
+ /// draw the button
+ virtual void draw();
+
/**
* @brief mouse over event handler
* */
@@ -61,12 +68,6 @@ public:
* */
virtual bool on_mousepress(const unsigned int button);
-protected:
- /// draw the button border
- virtual void draw_border();
-
- /// draw the button
- virtual void draw();
private:
std::string iconbutton_command;