1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
irssi/src/fe-text/gui-printtext.h

37 lines
601 B
C
Raw Normal View History

#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