From ca019ecd6715557a572ac9a56de556434f9b31aa Mon Sep 17 00:00:00 2001 From: oroborus Date: Sun, 6 Jul 2008 19:36:04 +0000 Subject: - podpora chatu :) git-svn-id: http://opensvn.csie.org/tuxanci_ng@109 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/client/panel.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/client/panel.c') 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; -- cgit v1.2.3