X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fstyle.h;h=5c2778b16c31f2e60b84dde7f237ade4ed3772ef;hb=6a19bed210500ab8303a0e94d74adbf2ee0e2920;hp=73cbf8caacb5aadda019a160f86d3685e8ae9526;hpb=f6471ec24982a18b8aa2d282d13f4254c906861a;p=rodin%2Fchimara.git diff --git a/libchimara/style.h b/libchimara/style.h index 73cbf8c..5c2778b 100644 --- a/libchimara/style.h +++ b/libchimara/style.h @@ -3,14 +3,18 @@ #include #include -#include -#include -#include "glk.h" -#include "magic.h" -#include "chimara-glk-private.h" -#include "stream.h" 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