EAPI Eina_Bool edje_object_scale_set(Edje_Object *obj, double scale)
{
- return efl_ui_scale_set(obj, scale);
+ efl_ui_scale_set(obj, scale);
+ return EINA_TRUE;
}
EAPI double edje_object_scale_get(const Edje_Object *obj)
_edje_password_show_last_timeout = password_show_last_timeout;
}
-EOLIAN Eina_Bool
+EOLIAN void
_edje_object_efl_ui_base_scale_set(Eo *obj EINA_UNUSED, Edje *ed, double scale)
{
Edje *ged;
Eina_List *l;
unsigned short i;
- if (EQ(ed->scale, FROM_DOUBLE(scale))) return EINA_TRUE;
+ if (EQ(ed->scale, FROM_DOUBLE(scale))) return;
ed->scale = FROM_DOUBLE(scale);
EINA_LIST_FOREACH(ed->groups, l, ged)
edje_object_scale_set(ged->obj, scale);
}
}
_edje_recalc(ed);
-
- return EINA_TRUE;
}
EOLIAN double
]]
set {
[[Sets the scaling factor of an object.]]
- return: bool; [[$true on success, $false otherwise]]
}
get {
[[Gets an object's scaling factor.]]
return sd->scroll_freeze;
}
-EOLIAN static Eina_Bool
+EOLIAN static void
_elm_widget_efl_ui_base_scale_set(Eo *obj, Elm_Widget_Smart_Data *sd, double scale)
{
if (scale < 0.0) scale = 0.0;
sd->scale = scale;
elm_widget_theme(obj);
}
- return EINA_TRUE;
}
EOLIAN static double