lib/ewl_theme.h
Go to the documentation of this file.00001 /* vim: set sw=8 ts=8 sts=8 expandtab: */ 00002 #ifndef EWL_THEME_H 00003 #define EWL_THEME_H 00004 00013 int ewl_theme_init(void); 00014 void ewl_theme_shutdown(void); 00015 00016 int ewl_theme_widget_init(Ewl_Widget *w); 00017 void ewl_theme_widget_shutdown(Ewl_Widget *w); 00018 00019 const char *ewl_theme_path_get(void); 00020 int ewl_theme_theme_set(const char *theme); 00021 00022 Ecore_List *ewl_theme_font_path_get(void); 00023 void ewl_theme_font_path_add(char *path); 00024 00025 char *ewl_theme_image_get(Ewl_Widget *w, char *k); 00026 00027 void ewl_theme_data_reset(Ewl_Widget *w); 00028 00029 const char *ewl_theme_data_str_get(Ewl_Widget *w, char *k); 00030 void ewl_theme_data_str_set(Ewl_Widget *w, char *k, char *v); 00031 00032 int ewl_theme_data_int_get(Ewl_Widget *w, char *k); 00033 void ewl_theme_data_int_set(Ewl_Widget *w, char *k, int v); 00034 00040 #define EWL_THEME_KEY_NOMATCH ((char *)0xdeadbeef) 00041 00046 #endif