theme: 1. added widget_styles_get 2. renamed widget_style_get -> widget_styles_get.
This commit is contained in:
parent
3e65c8d7ac
commit
2137c3b074
11
theme.c
11
theme.c
|
@ -96,8 +96,17 @@ theme_load(const char *edje_file)
|
||||||
INF("Theme Load Done");
|
INF("Theme Load Done");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Eina_List *
|
||||||
|
widget_styles_get(const char *widget)
|
||||||
|
{
|
||||||
|
Widget_Data *wd = NULL;
|
||||||
|
|
||||||
|
wd = eina_hash_find(widget_list, widget);
|
||||||
|
return wd->styles;
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
widget_style_print(const char *widget)
|
widget_styles_print(const char *widget)
|
||||||
{
|
{
|
||||||
Eina_List *l = NULL;
|
Eina_List *l = NULL;
|
||||||
Widget_Data *wd = NULL;
|
Widget_Data *wd = NULL;
|
||||||
|
|
3
theme.h
3
theme.h
|
@ -2,4 +2,5 @@ extern char *widgets[];
|
||||||
|
|
||||||
void theme_init(void);
|
void theme_init(void);
|
||||||
void theme_load(const char *edje_file);
|
void theme_load(const char *edje_file);
|
||||||
void widget_style_print(const char *widget);
|
Eina_List * widget_styles_get(const char *widget);
|
||||||
|
void widget_styles_print(const char *widget);
|
||||||
|
|
Loading…
Reference in New Issue