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/chat.cc | |
parent | b19afea9427dde861c990236ab11e23edfeb267c (diff) |
Added standard close button widget class, added tooltips where approriate.
Diffstat (limited to 'src/client/chat.cc')
-rw-r--r-- | src/client/chat.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/chat.cc b/src/client/chat.cc index dd71d57..f921e79 100644 --- a/src/client/chat.cc +++ b/src/client/chat.cc @@ -7,6 +7,7 @@ #include "auxiliary/functions.h" #include "client/chat.h" #include "client/client.h" +#include "client/closeiconbutton.h" #include "core/core.h" #include "core/gameinterface.h" #include "sys/sys.h" @@ -35,7 +36,7 @@ Chat::Chat(ui::Widget *parent) : ui::Window(parent) chat_titlelabel->set_text("CHAT"); // close button - chat_closebutton = new ui::IconButton(chat_titlelabel, "bitmaps/icons/window_close"); + chat_closebutton = new CloseIconButton(chat_titlelabel); // player list chat_playerlist = new ui::ListView(this); |