X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fstyle.h;h=8d7c69e104540906bd40a092b0ca0d9c0d282d60;hb=4baeafb95f6fe4523d5854778bce639dae5a3a9f;hp=72af60a4083067dcda00e82eb07e842eb4614658;hpb=2ce0ccd78003fce557bb76883c87ca2cb101608d;p=rodin%2Fchimara.git diff --git a/libchimara/style.h b/libchimara/style.h index 72af60a..8d7c69e 100644 --- a/libchimara/style.h +++ b/libchimara/style.h @@ -9,12 +9,17 @@ #include "magic.h" #include "chimara-glk-private.h" #include "stream.h" +#include "strio.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(); -static gboolean style_accept(GScanner *scanner, GTokenType token); -static gboolean style_accept_style_identifier(GScanner *scanner); -static gboolean style_accept_style_hint(GScanner *scanner, GtkTextTag *current_tag); -static void style_add_tag_to_textbuffer(gpointer key, gpointer tag, gpointer tag_table); +G_GNUC_INTERNAL PangoFontDescription* get_current_font(guint32 wintype); +G_GNUC_INTERNAL GtkTextTag* gtk_text_tag_copy(GtkTextTag *tag); + +typedef struct StyleSet { + GHashTable *text_grid; + GHashTable *text_buffer; +} StyleSet; #endif