2012-11-29 19:21:56 -08:00
|
|
|
#ifndef __INCLUDE_THEME__
|
|
|
|
#define __INCLUDE_THEME__
|
|
|
|
|
|
|
|
extern Eina_List *widget_list;
|
2012-11-29 23:21:32 -08:00
|
|
|
extern Elm_Theme *th;
|
2012-11-29 19:21:56 -08:00
|
|
|
|
|
|
|
typedef struct _Widget_Data Widget_Data;
|
|
|
|
struct _Widget_Data
|
|
|
|
{
|
|
|
|
const char *widget; // widget name
|
|
|
|
Eina_List *styles; // list of styles
|
|
|
|
};
|
2012-08-14 23:46:21 -07:00
|
|
|
|
2012-11-29 09:28:14 -08:00
|
|
|
void theme_init(void);
|
2012-11-29 23:21:32 -08:00
|
|
|
void theme_set(const char *edje_file);
|
|
|
|
void theme_unset(const char *edje_file);
|
2012-11-29 08:53:38 -08:00
|
|
|
void theme_load(const char *edje_file);
|
2012-11-30 01:23:45 -08:00
|
|
|
void theme_widgets_print(void);
|
2012-11-29 22:15:44 -08:00
|
|
|
Eina_List * theme_widget_styles_get(const char *widget);
|
|
|
|
void theme_widget_styles_print(const char *widget);
|
2012-11-29 19:21:56 -08:00
|
|
|
|
|
|
|
#endif
|