Pager in place
[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_more_prompt(winid_t win);
10 G_GNUC_INTERNAL void style_init();
11 G_GNUC_INTERNAL PangoFontDescription* get_current_font(guint32 wintype);
12 G_GNUC_INTERNAL GtkTextTag* gtk_text_tag_copy(GtkTextTag *tag);
13
14 G_GNUC_INTERNAL void glkcolor_to_gdkcolor(glui32 val, GdkColor *color);
15
16 typedef struct StyleSet {
17         GHashTable *text_grid;
18         GHashTable *text_buffer;
19 } StyleSet;
20
21 #endif