aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-11-05 08:37:31 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-11-05 08:37:31 +0000
commit5400a9a7f1635a08e5635adb33d0a6f43d1688a7 (patch)
tree8cbe594353428da0adce3006ce43ca7b14d02e2c /legacy/elementary/src/lib/elm_win.c
parentFix missing ingroups on elm_layout docs (diff)
downloadefl-5400a9a7f1635a08e5635adb33d0a6f43d1688a7.tar.gz
elm theme can be copied, referenced and theme flush tries to ONLY
flush a specific theme if told so (and only those widgets and their children). SVN revision: 54169
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index b4d6d5d612..c41641b872 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -481,13 +481,21 @@ _elm_win_shutdown(void)
}
void
-_elm_win_rescale(void)
+_elm_win_rescale(Elm_Theme *th, Eina_Bool use_theme)
{
const Eina_List *l;
Evas_Object *obj;
- EINA_LIST_FOREACH(_elm_win_list, l, obj)
- elm_widget_theme(obj);
+ if (!use_theme)
+ {
+ EINA_LIST_FOREACH(_elm_win_list, l, obj)
+ elm_widget_theme(obj);
+ }
+ else
+ {
+ EINA_LIST_FOREACH(_elm_win_list, l, obj)
+ elm_widget_theme_specific(obj, th, EINA_FALSE);
+ }
}
#ifdef HAVE_ELEMENTARY_X