4f6797339a72144e0dbc6b2f0be4733ad15371b4
[rodin/chimara.git] / libchimara / style.h
1 #ifndef STYLE_H
2 #define STYLE_H
3
4 #include <gtk/gtk.h>
5 #include <glib.h>
6 #include <glib/gstdio.h>
7 #include <stdio.h>
8 #include "glk.h"
9 #include "magic.h"
10 #include "chimara-glk-private.h"
11 #include "stream.h"
12
13 G_GNUC_INTERNAL void style_init_textbuffer(GtkTextBuffer *buffer);
14 G_GNUC_INTERNAL void style_init_textgrid(GtkTextBuffer *buffer);
15 G_GNUC_INTERNAL void style_init();
16
17 static const gchar* TAG_NAMES[] = {
18         "normal",
19         "emphasized",
20         "preformatted",
21         "header",
22         "subheader",
23         "alert",
24         "note",
25         "block-quote",
26         "input",
27         "user1",
28         "user2"
29 };
30
31 typedef struct StyleSet {
32         GHashTable *text_grid;
33         GHashTable *text_buffer;
34 } StyleSet;
35
36 #endif