Added first support for CSS files.
[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();
15 static gboolean style_accept(GScanner *scanner, GTokenType token);
16 static gboolean style_accept_style_identifier(GScanner *scanner);
17 static gboolean style_accept_style_hint(GScanner *scanner, GtkTextTag *current_tag);
18 static void style_add_tag_to_textbuffer(gpointer key, gpointer tag, gpointer tag_table);
19
20 #endif