26 |
|
|
27 |
#define INPUT_BUFFER_BLOCK_SIZE 256 |
#define INPUT_BUFFER_BLOCK_SIZE 256 |
28 |
|
|
29 |
#define NUM_COLORS 49 |
#define NUM_COLORS 50 |
30 |
#define COLOR_WIN_TITLE 1 |
#define COLOR_WIN_TITLE 1 |
31 |
#define COLOR_WIN_CHAT 2 |
#define COLOR_WIN_CHAT 2 |
32 |
#define COLOR_WIN_CHAT_TIME 3 |
#define COLOR_WIN_CHAT_TIME 3 |
56 |
#define COLOR_WIN_NICK_OP 27 |
#define COLOR_WIN_NICK_OP 27 |
57 |
#define COLOR_WIN_NICK_HALFOP 28 |
#define COLOR_WIN_NICK_HALFOP 28 |
58 |
#define COLOR_WIN_NICK_VOICE 29 |
#define COLOR_WIN_NICK_VOICE 29 |
59 |
#define COLOR_WIN_NICK_SEP 30 |
#define COLOR_WIN_NICK_MORE 30 |
60 |
#define COLOR_WIN_NICK_SELF 31 |
#define COLOR_WIN_NICK_SEP 31 |
61 |
#define COLOR_WIN_NICK_PRIVATE 32 |
#define COLOR_WIN_NICK_SELF 32 |
62 |
#define COLOR_WIN_NICK_FIRST 33 |
#define COLOR_WIN_NICK_PRIVATE 33 |
63 |
#define COLOR_WIN_NICK_LAST 42 |
#define COLOR_WIN_NICK_FIRST 34 |
64 |
|
#define COLOR_WIN_NICK_LAST 43 |
65 |
#define COLOR_WIN_NICK_NUMBER (COLOR_WIN_NICK_LAST - COLOR_WIN_NICK_FIRST + 1) |
#define COLOR_WIN_NICK_NUMBER (COLOR_WIN_NICK_LAST - COLOR_WIN_NICK_FIRST + 1) |
66 |
#define COLOR_DCC_SELECTED 43 |
#define COLOR_DCC_SELECTED 44 |
67 |
#define COLOR_DCC_WAITING 44 |
#define COLOR_DCC_WAITING 45 |
68 |
#define COLOR_DCC_CONNECTING 45 |
#define COLOR_DCC_CONNECTING 46 |
69 |
#define COLOR_DCC_ACTIVE 46 |
#define COLOR_DCC_ACTIVE 47 |
70 |
#define COLOR_DCC_DONE 47 |
#define COLOR_DCC_DONE 48 |
71 |
#define COLOR_DCC_FAILED 48 |
#define COLOR_DCC_FAILED 49 |
72 |
#define COLOR_DCC_ABORTED 49 |
#define COLOR_DCC_ABORTED 50 |
73 |
|
|
74 |
#define SERVER(buffer) ((t_irc_server *)(buffer->server)) |
#define SERVER(buffer) ((t_irc_server *)(buffer->server)) |
75 |
#define CHANNEL(buffer) ((t_irc_channel *)(buffer->channel)) |
#define CHANNEL(buffer) ((t_irc_channel *)(buffer->channel)) |
213 |
int win_nick_x, win_nick_y; /* chat window position */ |
int win_nick_x, win_nick_y; /* chat window position */ |
214 |
int win_nick_width; /* width of chat window */ |
int win_nick_width; /* width of chat window */ |
215 |
int win_nick_height; /* height of chat window */ |
int win_nick_height; /* height of chat window */ |
216 |
|
int win_nick_start; /* # of 1st nick for display (scroll) */ |
217 |
|
|
218 |
/* windows for Curses GUI */ |
/* windows for Curses GUI */ |
219 |
void *win_title; /* title window */ |
void *win_title; /* title window */ |
304 |
extern void gui_switch_to_next_buffer (t_gui_window *); |
extern void gui_switch_to_next_buffer (t_gui_window *); |
305 |
extern void gui_switch_to_previous_window (t_gui_window *); |
extern void gui_switch_to_previous_window (t_gui_window *); |
306 |
extern void gui_switch_to_next_window (t_gui_window *); |
extern void gui_switch_to_next_window (t_gui_window *); |
307 |
extern void gui_move_page_up (); |
extern void gui_move_page_up (t_gui_window *); |
308 |
extern void gui_move_page_down (); |
extern void gui_move_page_down (t_gui_window *); |
309 |
|
extern void gui_nick_move_beginning (t_gui_window *); |
310 |
|
extern void gui_nick_move_end (t_gui_window *); |
311 |
|
extern void gui_nick_move_page_up (t_gui_window *); |
312 |
|
extern void gui_nick_move_page_down (t_gui_window *); |
313 |
extern void gui_curses_resize_handler (); |
extern void gui_curses_resize_handler (); |
314 |
extern void gui_window_init_subwindows (t_gui_window *); |
extern void gui_window_init_subwindows (t_gui_window *); |
315 |
extern void gui_window_split_horiz (t_gui_window *); |
extern void gui_window_split_horiz (t_gui_window *); |