Fixed freeing data at stop & start. Previously the root window was set to NULL when...
[rodin/chimara.git] / libchimara / style.h
index fcd53022359b8b730e7512a73f8caddda52813b7..2b8afe38a8947b9f03c822cb7dcfbf4991dfd691 100644 (file)
@@ -2,11 +2,17 @@
 #define STYLE_H
 
 #include <gtk/gtk.h>
-#include "glk.h"
-#include "magic.h"
-#include "chimara-glk-private.h"
-#include "stream.h"
+#include <glib.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);
+
+typedef struct StyleSet {
+       GHashTable *text_grid;
+       GHashTable *text_buffer;
+} StyleSet;
 
 #endif