From 41ec4ed68571091f2e2500344a7aeb527a91dc92 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 18 Jul 2020 17:20:32 +0200 Subject: Added standard close button widget class, added tooltips where approriate. --- src/client/chat.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client/chat.cc') 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); -- cgit v1.2.3