2000-04-26 04:03:38 -04:00
|
|
|
#ifndef __GUI_PRINTTEXT_H
|
|
|
|
#define __GUI_PRINTTEXT_H
|
|
|
|
|
2000-11-20 22:00:05 -05:00
|
|
|
#include "gui-windows.h"
|
|
|
|
|
2000-04-26 04:03:38 -04:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
BLACK = 0,
|
|
|
|
BLUE,
|
|
|
|
GREEN,
|
|
|
|
CYAN,
|
|
|
|
RED,
|
|
|
|
MAGENTA,
|
|
|
|
YELLOW,
|
|
|
|
WHITE,
|
|
|
|
BBLACK,
|
|
|
|
BBLUE,
|
|
|
|
BGREEN,
|
|
|
|
BCYAN,
|
|
|
|
BRED,
|
|
|
|
BMAGENTA,
|
|
|
|
BYELLOW,
|
|
|
|
BWHITE,
|
|
|
|
NUM_COLORS
|
|
|
|
};
|
|
|
|
|
2000-06-30 15:50:56 -04:00
|
|
|
extern int mirc_colors[];
|
|
|
|
|
2000-04-26 04:03:38 -04:00
|
|
|
void gui_printtext_init(void);
|
|
|
|
void gui_printtext_deinit(void);
|
|
|
|
|
2000-11-20 22:00:05 -05:00
|
|
|
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);
|
2000-12-02 15:34:00 -05:00
|
|
|
void gui_window_line_text_free(GUI_WINDOW_REC *gui, LINE_REC *line);
|
2000-11-20 22:00:05 -05:00
|
|
|
|
2000-04-26 04:03:38 -04:00
|
|
|
#endif
|