From 5c734fe66e9ace93c03937adc2fc56336fb474fb Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 23 Feb 2008 17:10:35 +0000 Subject: client chatbox and message notifications --- src/client/chat.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 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..71fb9f5 --- /dev/null +++ b/src/client/chat.h @@ -0,0 +1,41 @@ +/* + client/chat.h + This file is part of the Osirion project and is distributed under + the terms of the GNU General Public License version 2 +*/ + +#ifndef __INCLUDED_CLIENT_CHAT_H__ +#define __INCLUDED_CLIENT_CHAT_H__ + +#include "sys/consoleinterface.h" + +#include +#include + +namespace client { + +/// the client chatbox +namespace chat { + +/// initialize chatbox functions +void init(); + +/// shut down chatbox functions +void shutdown(); + +/// draw the chatbox +void draw(); + +/// toggle the chatbox +void toggle(); + +/// handle keyboard input +void keypressed(int key); + +/// true of the console is visible +bool visible(); +} + +} + +#endif // __INCLUDED_CLIENT_CHAT_H__ -- cgit v1.2.3