Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/chat.cc')
-rw-r--r--src/client/chat.cc3
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);