86 |
#define MSG_TYPE_NOLOG 64 |
#define MSG_TYPE_NOLOG 64 |
87 |
|
|
88 |
#define gui_printf_color(buffer, color, fmt, argz...) \ |
#define gui_printf_color(buffer, color, fmt, argz...) \ |
89 |
gui_printf_color_type(buffer, MSG_TYPE_INFO, color, fmt, ##argz) |
gui_printf_type_color(buffer, MSG_TYPE_INFO, color, fmt, ##argz) |
90 |
|
|
91 |
|
#define gui_printf_type(buffer, type, fmt, argz...) \ |
92 |
|
gui_printf_type_color(buffer, type, -1, fmt, ##argz) |
93 |
|
|
94 |
#define gui_printf(buffer, fmt, argz...) \ |
#define gui_printf(buffer, fmt, argz...) \ |
95 |
gui_printf_color_type(buffer, MSG_TYPE_INFO, -1, fmt, ##argz) |
gui_printf_type_color(buffer, MSG_TYPE_INFO, -1, fmt, ##argz) |
96 |
|
|
97 |
#define gui_printf_nolog(buffer, fmt, argz...) \ |
#define gui_printf_nolog(buffer, fmt, argz...) \ |
98 |
gui_printf_color_type(buffer, MSG_TYPE_INFO | MSG_TYPE_NOLOG, -1, fmt, ##argz) |
gui_printf_type_color(buffer, MSG_TYPE_INFO | MSG_TYPE_NOLOG, -1, fmt, ##argz) |
99 |
|
|
100 |
typedef struct t_gui_message t_gui_message; |
typedef struct t_gui_message t_gui_message; |
101 |
|
|
316 |
extern void gui_set_window_title (); |
extern void gui_set_window_title (); |
317 |
extern void gui_init (); |
extern void gui_init (); |
318 |
extern void gui_end (); |
extern void gui_end (); |
319 |
extern void gui_printf_color_type (/*@null@*/ t_gui_buffer *, int, int, char *, ...); |
extern void gui_printf_type_color (/*@null@*/ t_gui_buffer *, int, int, char *, ...); |
320 |
extern void gui_main_loop (); |
extern void gui_main_loop (); |
321 |
|
|
322 |
#endif /* gui.h */ |
#endif /* gui.h */ |