Basic multiwindow chat

This commit is contained in:
James Booth
2012-02-08 22:46:35 +00:00
parent 17a284b24b
commit 8c24a7c475
5 changed files with 34 additions and 11 deletions

View File

@@ -5,13 +5,15 @@
#include <ncurses.h>
struct prof_win {
char from[70];
char from[100];
WINDOW *win;
};
void gui_init(void);
void gui_close(void);
void switch_to(int i);
int in_chat(void);
void get_recipient(char *recipient);
void show_incomming_msg(char *from, char *message);
void show_outgoing_msg(char *from, char *message);
void inp_get_command_str(char *cmd);