X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fstyle.h;h=5766f843a97fa553dce66b98aecc547cea684ccc;hb=e2aad0fc9a4c2bc75db8f0b3f1d2d3c70e55e7bb;hp=691643915221de4c3d0cc3f2ce043bb876dc8982;hpb=ae1a5770d142aa0900f1a4d4c7e7732a38aaafa9;p=rodin%2Fchimara.git diff --git a/libchimara/style.h b/libchimara/style.h index 6916439..5766f84 100644 --- a/libchimara/style.h +++ b/libchimara/style.h @@ -10,8 +10,10 @@ G_GNUC_INTERNAL void style_init_textbuffer(GtkTextBuffer *buffer); G_GNUC_INTERNAL void style_init_textgrid(GtkTextBuffer *buffer); G_GNUC_INTERNAL void style_init_more_prompt(winid_t win); G_GNUC_INTERNAL void style_init(ChimaraGlk *glk); +G_GNUC_INTERNAL void style_update(ChimaraGlk *glk); +G_GNUC_INTERNAL const gchar** style_get_tag_names(); G_GNUC_INTERNAL void reset_default_styles(ChimaraGlk *glk); -G_GNUC_INTERNAL void copy_default_styles_to_current_styles(ChimaraGlk *glk); +/*G_GNUC_INTERNAL void copy_default_styles_to_current_styles(ChimaraGlk *glk);*/ G_GNUC_INTERNAL GScanner *create_css_file_scanner(void); G_GNUC_INTERNAL void scan_css_file(GScanner *scanner, ChimaraGlk *glk); G_GNUC_INTERNAL PangoFontDescription *get_current_font(guint32 wintype); @@ -23,4 +25,6 @@ typedef struct StyleSet { GHashTable *text_buffer; } StyleSet; +#define CHIMARA_NUM_STYLES 13 + #endif