Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@telenet.be>2020-07-18 17:20:32 +0200
committerStijn Buys <ingar@telenet.be>2020-07-18 17:20:32 +0200
commit41ec4ed68571091f2e2500344a7aeb527a91dc92 (patch)
tree29584f1f2f949e73da749d2e2504799519a1c21a /src/client/closeiconbutton.h
parentb19afea9427dde861c990236ab11e23edfeb267c (diff)
Added standard close button widget class, added tooltips where approriate.
Diffstat (limited to 'src/client/closeiconbutton.h')
-rw-r--r--src/client/closeiconbutton.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/client/closeiconbutton.h b/src/client/closeiconbutton.h
new file mode 100644
index 0000000..a822731
--- /dev/null
+++ b/src/client/closeiconbutton.h
@@ -0,0 +1,28 @@
+/*
+ client/closeiconbutton.h
+ This file is part of the Osirion project and is distributed under
+ the terms of the GNU General Public License version 2
+*/
+
+#ifndef __INCLUDED_CLIENT_CLOSEICONBUTTON_H__
+#define __INCLUDED_CLIENT_CLOSEICONBUTTON_H__
+
+#include "ui/iconbutton.h"
+
+namespace client
+{
+
+class CloseIconButton : public ui::IconButton
+{
+
+public:
+ /**
+ * @brief Default close button
+ * */
+ CloseIconButton(Widget *parent);
+ virtual ~CloseIconButton();
+};
+
+}
+
+#endif // __INCLUDED_CLIENT_CLOSEICONBUTTON_H__