Fixed freeing data at stop & start. Previously the root window was set to NULL when...
[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
7 G_GNUC_INTERNAL void style_init_textbuffer(GtkTextBuffer *buffer);
8 G_GNUC_INTERNAL void style_init_textgrid(GtkTextBuffer *buffer);
9 G_GNUC_INTERNAL void style_init();
10 G_GNUC_INTERNAL PangoFontDescription* get_current_font(guint32 wintype);
11 G_GNUC_INTERNAL GtkTextTag* gtk_text_tag_copy(GtkTextTag *tag);
12
13 typedef struct StyleSet {
14         GHashTable *text_grid;
15         GHashTable *text_buffer;
16 } StyleSet;
17
18 #endif