diff options
author | Stijn Buys <ingar@osirion.org> | 2016-07-29 18:32:55 +0200 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2016-07-29 18:32:55 +0200 |
commit | 6f58c083caf6a14bccd708c73eaa0b4d66178ff1 (patch) | |
tree | a866465bdb428e0978b105cc0c1a938635bc0436 /src/ui/iconbutton.h | |
parent | c94e93337b778db7e024483f3f261dcef4bd19c5 (diff) |
Minor code cleanups.
Diffstat (limited to 'src/ui/iconbutton.h')
-rw-r--r-- | src/ui/iconbutton.h | 13 |
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; |