65 |
#define WIN_IS_CHANNEL(window) (CHANNEL(window) && (CHANNEL(window)->type == CHAT_CHANNEL)) |
#define WIN_IS_CHANNEL(window) (CHANNEL(window) && (CHANNEL(window)->type == CHAT_CHANNEL)) |
66 |
#define WIN_IS_PRIVATE(window) (CHANNEL(window) && (CHANNEL(window)->type == CHAT_PRIVATE)) |
#define WIN_IS_PRIVATE(window) (CHANNEL(window) && (CHANNEL(window)->type == CHAT_PRIVATE)) |
67 |
|
|
|
#ifdef WEE_CURSES |
|
|
//#define WIN_HAS_NICKLIST(window) (window->win_nick) |
|
|
#endif |
|
|
#ifdef WEE_GTK |
|
|
//#define WIN_HAS_NICKLIST(window) (window->textbuffer_nicklist) |
|
|
#endif |
|
|
|
|
68 |
#define MSG_TYPE_TIME 0 |
#define MSG_TYPE_TIME 0 |
69 |
#define MSG_TYPE_NICK 1 |
#define MSG_TYPE_NICK 1 |
70 |
#define MSG_TYPE_INFO 2 |
#define MSG_TYPE_INFO 2 |
142 |
void *win_input; /* input window */ |
void *win_input; /* input window */ |
143 |
|
|
144 |
/* windows for Curses GUI */ |
/* windows for Curses GUI */ |
145 |
//GtkWidget *textview_chat; /* textview widget for chat */ |
void *textview_chat; /* textview widget for chat */ |
146 |
//GtkTextBuffer *textbuffer_chat; /* textbuffer widget for chat */ |
void *textbuffer_chat; /* textbuffer widget for chat */ |
147 |
//GtkTextTag *texttag_chat; /* texttag widget for chat */ |
void *texttag_chat; /* texttag widget for chat */ |
148 |
//GtkWidget *textview_nicklist; /* textview widget for nicklist */ |
void *textview_nicklist; /* textview widget for nicklist */ |
149 |
//GtkTextBuffer *textbuffer_nicklist; /* textbuffer widget for nicklist */ |
void *textbuffer_nicklist; /* textbuffer widget for nicklist */ |
|
void *textview_chat; /* textview widget for chat */ |
|
|
void *textbuffer_chat; /* textbuffer widget for chat */ |
|
|
void *texttag_chat; /* texttag widget for chat */ |
|
|
void *textview_nicklist; /* textview widget for nicklist */ |
|
|
void *textbuffer_nicklist; /* textbuffer widget for nicklist */ |
|
150 |
|
|
151 |
/* windows for Curses GUI */ |
/* windows for Curses GUI */ |
152 |
/* TODO: declare Qt window */ |
/* TODO: declare Qt window */ |