20 #ifndef __EKG_THEMES_H 21 #define __EKG_THEMES_H 24 #define _(a) gettext(a) 25 #define N_(a) gettext_noop(a) 48 #define print(x...) print_window_w(NULL, EKG_WINACT_JUNK, x) 49 #define print_status(x...) print_window_w(window_status, EKG_WINACT_JUNK, x) 51 #ifndef EKG2_WIN32_NOFUNCTION 53 void print_window(
const char *target,
session_t *session,
int activity,
int separate,
const char *theme, ...);
60 #define format_ok(format_find_result) (format_find_result[0]) 61 #define format_exists(format) (format_ok(format_find(format))) 66 void theme_enumerate(
int (*enumerator)(
const char *theme,
const char *value));
67 int theme_read(
const char *filename,
int replace);
78 gboolean
fstring_next(gchar **text, fstr_attr_t **attr, gssize *len, fstr_attr_t *change);
86 #define isalpha_pl_PL(x) ((x >= 'a' && x <= 'z') || (x >= 'A' && x <= 'Z') || x == 'ą' || x == 'ć' || x == 'ę' || x == 'ł' || x == 'ń' || x == 'ó' || x == 'ś' || x == 'ż' || x == 'ź' || x == 'Ą' || x == 'Ć' || x == 'Ę' || x == 'Ł' || x == 'Ń' || x == 'Ó' || x == 'Ś' || x == 'Ż' || x == 'Ź') void theme_free()
Definition: themes.c:1377
const char * format_find(const char *name)
Definition: ekg_hash_benchmark.c:112
char * format_string(const char *format,...)
Definition: themes.c:842
gchar * str
Definition: themes.h:37
time_t ts
Definition: themes.h:39
void print_info(const char *target, session_t *session, const char *theme,...)
Definition: themes.c:1054
Definition: sessions.h:127
int margin_left
Definition: themes.h:44
int prompt_len
Definition: themes.h:41
fstring_t * fstring_new(const char *str)
Definition: themes.c:636
int theme_read(const char *filename, int replace)
Definition: themes.c:1257
fstring_t * fstring_dup(const fstring_t *str)
Definition: themes.c:613
void print_window(const char *target, session_t *session, int activity, int separate, const char *theme,...)
Definition: themes.c:1043
unsigned int prompt_empty
Definition: themes.h:43
fstring_t * fstring_new_format(const char *format,...)
Definition: themes.c:801
void print_warning(const char *target, session_t *session, const char *theme,...)
Definition: themes.c:1066
void fstring_iter(const fstring_t *s, gchar **text, fstr_attr_t **attr, gssize *len)
Definition: themes.c:211
void format_add(const char *name, const char *value, int replace)
Definition: ekg_hash_benchmark.c:54
gchar * priv_data
Definition: themes.h:45
void theme_init()
Definition: themes.c:1447
char * name
Definition: stuff.h:68
void fstring_free(fstring_t *str)
Definition: themes.c:824
int theme_write(const char *filename)
Definition: themes.c:1324
guint16 fstr_attr_t
Definition: themes.h:34
void theme_cache_reset()
Definition: themes.c:1116
fstr_attr_t * attr
Definition: themes.h:38
void theme_plugins_init()
Definition: themes.c:1388
fstr_t
Definition: themes.h:88
gboolean fstring_next(gchar **text, fstr_attr_t **attr, gssize *len, fstr_attr_t *change)
Definition: themes.c:248
void theme_enumerate(int(*enumerator)(const char *theme, const char *value))
Definition: themes.c:1350