12 #ifndef __FREESPACE_CHATBOX_H__
13 #define __FREESPACE_CHATBOX_H__
18 #define CHATBOX_MAX_LEN 125 // max length of the actual text string
21 #define CHATBOX_FLAG_SMALL (1<<0) // small chatbox
22 #define CHATBOX_FLAG_BIG (1<<1) // big chatbox
23 #define CHATBOX_FLAG_MULTI_PAUSED (1<<2) // chatbox in the multiplayer paused screen
24 #define CHATBOX_FLAG_DRAW_BOX (1<<3) // should be drawn by the chatbox code
25 #define CHATBOX_FLAG_BUTTONS (1<<4) // the chatbox should be drawing/checking its own buttons
void chatbox_lose_focus()
int chatbox_scroll_down()
int chatbox_create(int mode_flags=(CHATBOX_FLAG_SMALL|CHATBOX_FLAG_DRAW_BOX|CHATBOX_FLAG_BUTTONS))
void chatbox_force_small()
#define CHATBOX_FLAG_BUTTONS
int chatbox_process(int key_in=-1)
#define CHATBOX_FLAG_SMALL
void chatbox_reset_timestamps()
#define CHATBOX_FLAG_DRAW_BOX
void chatbox_add_line(const char *msg, int pid, int add_id=1)