summaryrefslogtreecommitdiff
path: root/src/client/panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/panel.c')
-rw-r--r--src/client/panel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/panel.c b/src/client/panel.c
index 3338544..7a5b3e2 100644
--- a/src/client/panel.c
+++ b/src/client/panel.c
@@ -10,6 +10,7 @@
#include "image.h"
#include "panel.h"
#include "font.h"
+#include "chat.h"
static SDL_Surface *g_panel;
static SDL_Surface *g_shot;
@@ -145,6 +146,11 @@ void drawPanel(list_t *listTux)
drawImage(g_panel, PANEL_LOCATION_X, PANEL_LOCATION_Y, 0, 0, g_panel->w, g_panel->h);
drawScore(listTux);
+ if( isRecivedNewMsg() )
+ {
+ drawFont("recived new msg", PANEL_LOCATION_X, PANEL_LOCATION_Y, COLOR_WHITE);
+ }
+
for( i = 0 ; i < listTux->count ; i++ )
{
tux_t *thisTux;