theme: 1. added widget_styles_get 2. renamed widget_style_get -> widget_styles_get.

This commit is contained in:
Daniel Juyung Seo 2012-11-30 03:50:01 +09:00
parent 3e65c8d7ac
commit 2137c3b074
2 changed files with 12 additions and 2 deletions

11
theme.c
View File

@ -96,8 +96,17 @@ theme_load(const char *edje_file)
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
widget_style_print(const char *widget)
widget_styles_print(const char *widget)
{
Eina_List *l = NULL;
Widget_Data *wd = NULL;

View File

@ -2,4 +2,5 @@ extern char *widgets[];
void theme_init(void);
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);