Added win_type to prof_win structure

This commit is contained in:
James Booth
2012-11-12 23:05:22 +00:00
parent b14aab4ade
commit df094a7d2c
2 changed files with 23 additions and 16 deletions

View File

@@ -51,9 +51,18 @@
#define COLOUR_DND COLOR_PAIR(11)
#define COLOUR_XA COLOR_PAIR(12)
typedef enum {
WIN_UNUSED,
WIN_CONSOLE,
WIN_CHAT,
WIN_MUC,
WIN_PRIVATE
} win_type_t;
struct prof_win {
char from[100];
WINDOW *win;
win_type_t type;
int y_pos;
int paged;
int unread;