source: network-game/client/Client/chat.h@ 6319311

Last change on this file since 6319311 was 6319311, checked in by Dmitry Portnoy <dportnoy@…>, 11 years ago

Some redfinition issues related to winsock2 are fixed and a few allegro rendering functions are now in GameRender

  • Property mode set to 100644
File size: 468 bytes
RevLine 
[6319311]1#ifndef _CHAT_H
2#define _CHAT_H
[6475138]3
4#include <string>
5#include <vector>
6
7#include <allegro5/allegro.h>
8#include <allegro5/allegro_font.h>
9
10using namespace std;
11
12class chat
13{
14private:
15 vector<string> vctChat;
16 string strPrompt;
17 string strEnteredInput;
18public:
19 chat(void);
20 ~chat(void);
21
22 string getInput();
23
24 void draw(ALLEGRO_FONT *font, ALLEGRO_COLOR color);
25 void addLine(string s);
[bc70282]26 void clear();
[6475138]27
[87b3ee2]28 bool handleEvent(ALLEGRO_EVENT e);
[6475138]29};
30
[6319311]31#endif
32
Note: See TracBrowser for help on using the repository browser.