7 #include "chimara-glk.h"
9 G_GNUC_INTERNAL void style_init_textbuffer(GtkTextBuffer *buffer);
10 G_GNUC_INTERNAL void style_init_textgrid(GtkTextBuffer *buffer);
11 G_GNUC_INTERNAL void style_init_more_prompt(winid_t win);
12 G_GNUC_INTERNAL void style_init(ChimaraGlk *glk);
13 G_GNUC_INTERNAL void style_update(ChimaraGlk *glk);
14 G_GNUC_INTERNAL const gchar** style_get_tag_names();
15 G_GNUC_INTERNAL void reset_default_styles(ChimaraGlk *glk);
16 /*G_GNUC_INTERNAL void copy_default_styles_to_current_styles(ChimaraGlk *glk);*/
17 G_GNUC_INTERNAL GScanner *create_css_file_scanner(void);
18 G_GNUC_INTERNAL void scan_css_file(GScanner *scanner, ChimaraGlk *glk);
19 G_GNUC_INTERNAL PangoFontDescription *get_current_font(guint32 wintype);
20 G_GNUC_INTERNAL GtkTextTag* gtk_text_tag_copy(GtkTextTag *tag);
21 G_GNUC_INTERNAL void glkcolor_to_gdkcolor(glui32 val, GdkColor *color);
23 typedef struct StyleSet {
24 GHashTable *text_grid;
25 GHashTable *text_buffer;
28 #define CHIMARA_NUM_STYLES 13