summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_clock.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-06-09 16:47:42 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-06-12 11:50:30 +0900
commit06b14827b7818cf3606d3783c7fb032bd41b1e50 (patch)
treeca82cb5728d48f398429369aab7056cdb20fca14 /src/lib/elementary/elm_clock.c
parent07a25fc88ce23763ec94183e1b8043e0c6ca7328 (diff)
widget: Implement scale from Efl.Ui.Base
Diffstat (limited to 'src/lib/elementary/elm_clock.c')
-rw-r--r--src/lib/elementary/elm_clock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/elm_clock.c b/src/lib/elementary/elm_clock.c
index 0ca59dd..b0b62dc 100644
--- a/src/lib/elementary/elm_clock.c
+++ b/src/lib/elementary/elm_clock.c
@@ -379,7 +379,7 @@ _time_update(Evas_Object *obj, Eina_Bool theme_update)
379 } 379 }
380 380
381 edje_object_scale_set 381 edje_object_scale_set
382 (wd->resize_obj, elm_widget_scale_get(obj) * 382 (wd->resize_obj, efl_ui_scale_get(obj) *
383 elm_config_scale_get()); 383 elm_config_scale_get());
384 384
385 for (i = 0; i < 6; i++) 385 for (i = 0; i < 6; i++)
@@ -392,7 +392,7 @@ _time_update(Evas_Object *obj, Eina_Bool theme_update)
392 elm_widget_theme_object_set 392 elm_widget_theme_object_set
393 (obj, sd->digit[i], "clock", "flipdigit", style); 393 (obj, sd->digit[i], "clock", "flipdigit", style);
394 edje_object_scale_set 394 edje_object_scale_set
395 (sd->digit[i], elm_widget_scale_get(obj) * 395 (sd->digit[i], efl_ui_scale_get(obj) *
396 elm_config_scale_get()); 396 elm_config_scale_get());
397 397
398 if ((sd->edit) && (sd->digedit & (1 << i))) 398 if ((sd->edit) && (sd->digedit & (1 << i)))
@@ -426,7 +426,7 @@ _time_update(Evas_Object *obj, Eina_Bool theme_update)
426 edje_object_add(evas_object_evas_get(wd->resize_obj)); 426 edje_object_add(evas_object_evas_get(wd->resize_obj));
427 elm_widget_theme_object_set 427 elm_widget_theme_object_set
428 (obj, sd->am_pm_obj, "clock", "flipampm", style); 428 (obj, sd->am_pm_obj, "clock", "flipampm", style);
429 edje_object_scale_set(sd->am_pm_obj, elm_widget_scale_get(obj) * 429 edje_object_scale_set(sd->am_pm_obj, efl_ui_scale_get(obj) *
430 _elm_config->scale); 430 _elm_config->scale);
431 if (sd->edit) 431 if (sd->edit)
432 edje_object_signal_emit 432 edje_object_signal_emit