X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fstyle.h;h=c4305c065a5c5dafdefe080611bd70478f6a4c4b;hb=refs%2Fheads%2Fgtk2;hp=614047342a4048af82d2c24b98b89005afb29415;hpb=87504b58306f29cf833637a9e9983e947e684ee1;p=projects%2Fchimara%2Fchimara.git diff --git a/libchimara/style.h b/libchimara/style.h index 6140473..c4305c0 100644 --- a/libchimara/style.h +++ b/libchimara/style.h @@ -11,6 +11,7 @@ G_GNUC_INTERNAL void style_init_textbuffer(GtkTextBuffer *buffer); G_GNUC_INTERNAL void style_init_textgrid(GtkTextBuffer *buffer); G_GNUC_INTERNAL void style_init_more_prompt(winid_t win); G_GNUC_INTERNAL void style_init(ChimaraGlk *glk); +G_GNUC_INTERNAL void style_reset_glk(ChimaraGlk *glk); G_GNUC_INTERNAL void style_update(ChimaraGlk *glk); G_GNUC_INTERNAL const gchar** style_get_tag_names(); G_GNUC_INTERNAL void reset_default_styles(ChimaraGlk *glk); @@ -22,6 +23,7 @@ G_GNUC_INTERNAL void glkcolor_to_gdkcolor(glui32 val, GdkColor *color); G_GNUC_INTERNAL gchar* glkcolor_to_hex(glui32 val); G_GNUC_INTERNAL gchar* gdkcolor_to_hex(GdkColor *color); G_GNUC_INTERNAL void style_stream_colors(strid_t str, GdkColor **foreground, GdkColor **background); +G_GNUC_INTERNAL void style_apply(winid_t win, GtkTextIter *start, GtkTextIter *end); typedef struct StyleSet { GHashTable *text_grid;