26 |
|
|
27 |
#define INPUT_BUFFER_BLOCK_SIZE 256 |
#define INPUT_BUFFER_BLOCK_SIZE 256 |
28 |
|
|
29 |
#define NUM_COLORS 52 |
#define NUM_COLORS 54 |
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 |
33 |
#define COLOR_WIN_CHAT_TIME_SEP 4 |
#define COLOR_WIN_CHAT_TIME_SEP 4 |
34 |
#define COLOR_WIN_CHAT_PREFIX1 5 |
#define COLOR_WIN_CHAT_PREFIX1 5 |
35 |
#define COLOR_WIN_CHAT_PREFIX2 6 |
#define COLOR_WIN_CHAT_PREFIX2 6 |
36 |
#define COLOR_WIN_CHAT_NICK 7 |
#define COLOR_WIN_CHAT_JOIN 7 |
37 |
#define COLOR_WIN_CHAT_HOST 8 |
#define COLOR_WIN_CHAT_PART 8 |
38 |
#define COLOR_WIN_CHAT_CHANNEL 9 |
#define COLOR_WIN_CHAT_NICK 9 |
39 |
#define COLOR_WIN_CHAT_DARK 10 |
#define COLOR_WIN_CHAT_HOST 10 |
40 |
#define COLOR_WIN_CHAT_HIGHLIGHT 11 |
#define COLOR_WIN_CHAT_CHANNEL 11 |
41 |
#define COLOR_WIN_STATUS 12 |
#define COLOR_WIN_CHAT_DARK 12 |
42 |
#define COLOR_WIN_STATUS_DELIMITERS 13 |
#define COLOR_WIN_CHAT_HIGHLIGHT 13 |
43 |
#define COLOR_WIN_STATUS_DATA_MSG 14 |
#define COLOR_WIN_STATUS 14 |
44 |
#define COLOR_WIN_STATUS_DATA_PRIVATE 15 |
#define COLOR_WIN_STATUS_DELIMITERS 15 |
45 |
#define COLOR_WIN_STATUS_DATA_HIGHLIGHT 16 |
#define COLOR_WIN_STATUS_DATA_MSG 16 |
46 |
#define COLOR_WIN_STATUS_DATA_OTHER 17 |
#define COLOR_WIN_STATUS_DATA_PRIVATE 17 |
47 |
#define COLOR_WIN_STATUS_MORE 18 |
#define COLOR_WIN_STATUS_DATA_HIGHLIGHT 18 |
48 |
#define COLOR_WIN_INFOBAR 19 |
#define COLOR_WIN_STATUS_DATA_OTHER 19 |
49 |
#define COLOR_WIN_INFOBAR_DELIMITERS 20 |
#define COLOR_WIN_STATUS_MORE 20 |
50 |
#define COLOR_WIN_INFOBAR_HIGHLIGHT 21 |
#define COLOR_WIN_INFOBAR 21 |
51 |
#define COLOR_WIN_INPUT 22 |
#define COLOR_WIN_INFOBAR_DELIMITERS 22 |
52 |
#define COLOR_WIN_INPUT_CHANNEL 23 |
#define COLOR_WIN_INFOBAR_HIGHLIGHT 23 |
53 |
#define COLOR_WIN_INPUT_NICK 24 |
#define COLOR_WIN_INPUT 24 |
54 |
#define COLOR_WIN_NICK 25 |
#define COLOR_WIN_INPUT_CHANNEL 25 |
55 |
#define COLOR_WIN_NICK_AWAY 26 |
#define COLOR_WIN_INPUT_NICK 26 |
56 |
#define COLOR_WIN_NICK_CHANOWNER 27 |
#define COLOR_WIN_NICK 27 |
57 |
#define COLOR_WIN_NICK_CHANADMIN 28 |
#define COLOR_WIN_NICK_AWAY 28 |
58 |
#define COLOR_WIN_NICK_OP 29 |
#define COLOR_WIN_NICK_CHANOWNER 29 |
59 |
#define COLOR_WIN_NICK_HALFOP 30 |
#define COLOR_WIN_NICK_CHANADMIN 30 |
60 |
#define COLOR_WIN_NICK_VOICE 31 |
#define COLOR_WIN_NICK_OP 31 |
61 |
#define COLOR_WIN_NICK_MORE 32 |
#define COLOR_WIN_NICK_HALFOP 32 |
62 |
#define COLOR_WIN_NICK_SEP 33 |
#define COLOR_WIN_NICK_VOICE 33 |
63 |
#define COLOR_WIN_NICK_SELF 34 |
#define COLOR_WIN_NICK_MORE 34 |
64 |
#define COLOR_WIN_NICK_PRIVATE 35 |
#define COLOR_WIN_NICK_SEP 35 |
65 |
#define COLOR_WIN_NICK_FIRST 36 |
#define COLOR_WIN_NICK_SELF 36 |
66 |
#define COLOR_WIN_NICK_LAST 45 |
#define COLOR_WIN_NICK_PRIVATE 37 |
67 |
|
#define COLOR_WIN_NICK_FIRST 38 |
68 |
|
#define COLOR_WIN_NICK_LAST 47 |
69 |
#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) |
70 |
#define COLOR_DCC_SELECTED 46 |
#define COLOR_DCC_SELECTED 48 |
71 |
#define COLOR_DCC_WAITING 47 |
#define COLOR_DCC_WAITING 49 |
72 |
#define COLOR_DCC_CONNECTING 48 |
#define COLOR_DCC_CONNECTING 50 |
73 |
#define COLOR_DCC_ACTIVE 49 |
#define COLOR_DCC_ACTIVE 51 |
74 |
#define COLOR_DCC_DONE 50 |
#define COLOR_DCC_DONE 52 |
75 |
#define COLOR_DCC_FAILED 51 |
#define COLOR_DCC_FAILED 53 |
76 |
#define COLOR_DCC_ABORTED 52 |
#define COLOR_DCC_ABORTED 54 |
77 |
|
|
78 |
#define SERVER(buffer) ((t_irc_server *)(buffer->server)) |
#define SERVER(buffer) ((t_irc_server *)(buffer->server)) |
79 |
#define CHANNEL(buffer) ((t_irc_channel *)(buffer->channel)) |
#define CHANNEL(buffer) ((t_irc_channel *)(buffer->channel)) |