* Changing styles no longer affects existing windows
[rodin/chimara.git] / libchimara / style.h
index fcd53022359b8b730e7512a73f8caddda52813b7..4f6797339a72144e0dbc6b2f0be4733ad15371b4 100644 (file)
@@ -2,11 +2,35 @@
 #define STYLE_H
 
 #include <gtk/gtk.h>
+#include <glib.h>
+#include <glib/gstdio.h>
+#include <stdio.h>
 #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();
+
+static const gchar* TAG_NAMES[] = {
+       "normal",
+       "emphasized",
+       "preformatted",
+       "header",
+       "subheader",
+       "alert",
+       "note",
+       "block-quote",
+       "input",
+       "user1",
+       "user2"
+};
+
+typedef struct StyleSet {
+       GHashTable *text_grid;
+       GHashTable *text_buffer;
+} StyleSet;
 
 #endif