X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fstyle.h;h=9a16c1a7d983971e3bd2d6857f5d3f8fe6f58c50;hb=5f15de94ee255dd55c3e2916a3387bdb158d3a80;hp=4f6797339a72144e0dbc6b2f0be4733ad15371b4;hpb=a8d619bf27856cb0c0c88273f85f6dac4b9fef4b;p=projects%2Fchimara%2Fchimara.git diff --git a/libchimara/style.h b/libchimara/style.h index 4f67973..9a16c1a 100644 --- a/libchimara/style.h +++ b/libchimara/style.h @@ -9,24 +9,12 @@ #include "magic.h" #include "chimara-glk-private.h" #include "stream.h" +#include "strio.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" -}; +G_GNUC_INTERNAL PangoFontDescription* get_current_font(guint32 wintype); typedef struct StyleSet { GHashTable *text_grid;