diff options
author | Stijn Buys <ingar@telenet.be> | 2020-07-18 17:20:32 +0200 |
---|---|---|
committer | Stijn Buys <ingar@telenet.be> | 2020-07-18 17:20:32 +0200 |
commit | 41ec4ed68571091f2e2500344a7aeb527a91dc92 (patch) | |
tree | 29584f1f2f949e73da749d2e2504799519a1c21a /src/ui/iconbutton.h | |
parent | b19afea9427dde861c990236ab11e23edfeb267c (diff) |
Added standard close button widget class, added tooltips where approriate.
Diffstat (limited to 'src/ui/iconbutton.h')
-rw-r--r-- | src/ui/iconbutton.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/iconbutton.h b/src/ui/iconbutton.h index 92e73ee..0382e1a 100644 --- a/src/ui/iconbutton.h +++ b/src/ui/iconbutton.h @@ -15,8 +15,8 @@ namespace ui class IconButton : public Widget { public: - IconButton(Widget *parent, const char *icon = 0, const char *command = 0); - ~IconButton(); + IconButton(Widget *parent, const char *icon = 0, const char *tooltip = 0, const char *command = 0); + virtual ~IconButton(); /// the command this button executes inline const std::string & command() const { |