From 263e1dbb16324083174e068b65d9596af6e1db7b Mon Sep 17 00:00:00 2001 From: oroborus Date: Sun, 6 Jul 2008 19:42:01 +0000 Subject: - zabudnute subory git-svn-id: http://opensvn.csie.org/tuxanci_ng@110 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/client/chat.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/client/chat.h (limited to 'src/client/chat.h') diff --git a/src/client/chat.h b/src/client/chat.h new file mode 100644 index 0000000..fc6abc3 --- /dev/null +++ b/src/client/chat.h @@ -0,0 +1,25 @@ + +#ifndef CHAT_H + +#define CHAT_H + +#define CHAT_MAX_LINES 10 +#define CHAT_TIME_MULTIPLE 10 +#define CHAT_TIME_BLICK_CURSOR 20 +#define CHAT_LINE_WIDTH 320 + +#define CHAT_SIZE_X 320 +#define CHAT_SIZE_Y 240 + +#define CHAT_LOCATION_X (WINDOW_SIZE_X/2 - CHAT_SIZE_X/2) +#define CHAT_LOCATION_Y (WINDOW_SIZE_Y/2 - CHAT_SIZE_Y/2) + +extern void initChat(); +extern void drawChat(); +extern void eventChat(); +extern void addToChat(char *s); +extern bool_t isChatActive(); +extern bool_t isRecivedNewMsg(); +extern void quitChat(); + +#endif -- cgit v1.2.3