Default font for textbuffer should be a serif font.
[rodin/chimara.git] / libchimara / style.h
index 72af60a4083067dcda00e82eb07e842eb4614658..9a16c1a7d983971e3bd2d6857f5d3f8fe6f58c50 100644 (file)
@@ -9,12 +9,16 @@
 #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);
+
+typedef struct StyleSet {
+       GHashTable *text_grid;
+       GHashTable *text_buffer;
+} StyleSet;
 
 #endif