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/client/reputationwindow.cc | |
parent | b19afea9427dde861c990236ab11e23edfeb267c (diff) |
Added standard close button widget class, added tooltips where approriate.
Diffstat (limited to 'src/client/reputationwindow.cc')
-rw-r--r-- | src/client/reputationwindow.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/reputationwindow.cc b/src/client/reputationwindow.cc index e60b384..cbda138 100644 --- a/src/client/reputationwindow.cc +++ b/src/client/reputationwindow.cc @@ -4,14 +4,14 @@ the terms of the GNU General Public License version 2 */ -#include <iomanip> - -#include "ui/paint.h" -#include "ui/ui.h" #include "client/client.h" #include "client/reputationwindow.h" +#include "client/closeiconbutton.h" +#include "ui/paint.h" +#include "ui/ui.h" #include "core/reputation.h" #include "core/range.h" +#include <iomanip> namespace client { @@ -110,7 +110,7 @@ ReputationWindow::ReputationWindow(ui::Widget *parent) : ui::Window(parent) reputationwindow_titlelabel->set_text("REPUTATION"); // close button - reputationwindow_closebutton = new ui::IconButton(reputationwindow_titlelabel, "bitmaps/icons/window_close"); + reputationwindow_closebutton = new CloseIconButton(reputationwindow_titlelabel); // reputation listview reputationwindow_listview = new ui::ListView(this); |