X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;ds=sidebyside;f=libchimara%2Fstyle.h;h=5c2778b16c31f2e60b84dde7f237ade4ed3772ef;hb=378e7e222af1027d8c6330f086511fe5f283e376;hp=fcd53022359b8b730e7512a73f8caddda52813b7;hpb=0b85f1dd5993e2ed111ec2ba13bbbb4ebda06ada;p=rodin%2Fchimara.git diff --git a/libchimara/style.h b/libchimara/style.h index fcd5302..5c2778b 100644 --- a/libchimara/style.h +++ b/libchimara/style.h @@ -2,11 +2,19 @@ #define STYLE_H #include -#include "glk.h" -#include "magic.h" -#include "chimara-glk-private.h" -#include "stream.h" +#include G_GNUC_INTERNAL void style_init_textbuffer(GtkTextBuffer *buffer); +G_GNUC_INTERNAL void style_init_textgrid(GtkTextBuffer *buffer); +G_GNUC_INTERNAL void style_init(); +G_GNUC_INTERNAL PangoFontDescription* get_current_font(guint32 wintype); +G_GNUC_INTERNAL GtkTextTag* gtk_text_tag_copy(GtkTextTag *tag); + +G_GNUC_INTERNAL void glkcolor_to_gdkcolor(glui32 val, GdkColor *color); + +typedef struct StyleSet { + GHashTable *text_grid; + GHashTable *text_buffer; +} StyleSet; #endif