1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#ifndef __GUI_PRINTTEXT_H
#define __GUI_PRINTTEXT_H
#include "gui-windows.h"
enum
{
BLACK = 0,
BLUE,
GREEN,
CYAN,
RED,
MAGENTA,
YELLOW,
WHITE,
BBLACK,
BBLUE,
BGREEN,
BCYAN,
BRED,
BMAGENTA,
BYELLOW,
BWHITE,
NUM_COLORS
};
extern int mirc_colors[];
void gui_printtext_init(void);
void gui_printtext_deinit(void);
void gui_window_line_append(GUI_WINDOW_REC *gui, const char *str, int len);
void gui_window_line_remove(WINDOW_REC *window, LINE_REC *line);
void gui_window_line_text_free(GUI_WINDOW_REC *gui, LINE_REC *line);
#endif
|