summaryrefslogtreecommitdiff
path: root/src/client/panel.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-06 19:36:04 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-06 19:36:04 +0000
commitca019ecd6715557a572ac9a56de556434f9b31aa (patch)
tree5e39db57af3433dd7b44162cdf5f388111e091fb /src/client/panel.c
parent05f2c8aacf46e643b2bd916b7c8139e8a259122a (diff)
- podpora chatu :)
git-svn-id: http://opensvn.csie.org/tuxanci_ng@109 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
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;