X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fstyle.h;h=4f6797339a72144e0dbc6b2f0be4733ad15371b4;hb=60afac9fb0c27d117a2814885312e60546220569;hp=fcd53022359b8b730e7512a73f8caddda52813b7;hpb=0b85f1dd5993e2ed111ec2ba13bbbb4ebda06ada;p=rodin%2Fchimara.git diff --git a/libchimara/style.h b/libchimara/style.h index fcd5302..4f67973 100644 --- a/libchimara/style.h +++ b/libchimara/style.h @@ -2,11 +2,35 @@ #define STYLE_H #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(); + +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