diff options
author | James Booth <boothj5@gmail.com> | 2012-11-12 23:05:22 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-11-12 23:05:22 +0000 |
commit | df094a7d2c2dbbee7b3ab13fd0bd82c0ebbe33cd (patch) | |
tree | 2e0be2962fe9e93de130b2d930951e249e13a0ba /src/ui.h | |
parent | b14aab4adedfe0c2d252af692ffddffe03d54e65 (diff) | |
download | profani-tty-df094a7d2c2dbbee7b3ab13fd0bd82c0ebbe33cd.tar.gz |
Added win_type to prof_win structure
Diffstat (limited to 'src/ui.h')
-rw-r--r-- | src/ui.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ui.h b/src/ui.h index 26bfb480..a11293f0 100644 --- a/src/ui.h +++ b/src/ui.h @@ -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; |