ed->recalc_hints = EINA_FALSE;
edje_obj_size_min_calc(ed->obj, &w, &h);
- efl_gfx_size_hint_content_min_set(ed->obj, w, h);
+ efl_gfx_size_hint_restricted_min_set(ed->obj, w, h);
}
if (!ed->collection) return;
evas_obj_smart_need_recalculate_set(ep->object, 1);
evas_obj_smart_calculate(ep->object);
- efl_gfx_size_hint_content_min_get(ep->object, &lminw, &lminh);
+ efl_gfx_size_hint_restricted_min_get(ep->object, &lminw, &lminh);
if (((Edje_Part_Description_Table *)chosen_desc)->table.min.h)
{
if (lminw > minw) minw = lminw;
evas_obj_smart_need_recalculate_set(ep->object, 1);
evas_obj_smart_calculate(ep->object);
- efl_gfx_size_hint_content_min_get(ep->object, &lminw, &lminh);
+ efl_gfx_size_hint_restricted_min_get(ep->object, &lminw, &lminh);
if (((Edje_Part_Description_Box *)chosen_desc)->box.min.h)
{
if (lminw > minw) minw = lminw;
h: int; [[Integer to use as the preferred height hint.]]
}
}
- @property hint_content_min @protected {
+ @property hint_restricted_min @protected {
[[Internal hints for an object's minimum size.
This is not a size enforcement in any way, it's just a hint
}
}
@property hint_combined_min {
- [[Read-only minimum size combining both @.hint_content_min and
+ [[Read-only minimum size combining both @.hint_restricted_min and
@.hint_request size hints.
- @.hint_content_min is intended for mostly internal usage
+ @.hint_restricted_min is intended for mostly internal usage
and widget developers, and @.hint_request is intended to be
set from application side. @.hint_combined_min combines both values
by taking their repective maximum (in both width and height), and
Efl.Gfx.Size.Hint.hint_align.set;
Efl.Gfx.Size.Hint.hint_align.get;
Efl.Gfx.Size.Hint.hint_combined_min.get;
- Efl.Gfx.Size.Hint.hint_content_min.set;
- Efl.Gfx.Size.Hint.hint_content_min.get;
+ Efl.Gfx.Size.Hint.hint_restricted_min.set;
+ Efl.Gfx.Size.Hint.hint_restricted_min.get;
Efl.Gfx.Size.Hint.hint_max.set;
Efl.Gfx.Size.Hint.hint_max.get;
Efl.Gfx.Size.Hint.hint_margin.set;
}
EOLIAN static void
-_evas_object_efl_gfx_size_hint_hint_content_min_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj, Evas_Coord *w, Evas_Coord *h)
+_evas_object_efl_gfx_size_hint_hint_restricted_min_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj, Evas_Coord *w, Evas_Coord *h)
{
if ((!obj->size_hints) || obj->delete_me)
{
}
EOLIAN static void
-_evas_object_efl_gfx_size_hint_hint_content_min_set(Eo *eo_obj, Evas_Object_Protected_Data *obj, Evas_Coord w, Evas_Coord h)
+_evas_object_efl_gfx_size_hint_hint_restricted_min_set(Eo *eo_obj, Evas_Object_Protected_Data *obj, Evas_Coord w, Evas_Coord h)
{
if (obj->delete_me)
return;
efl_gfx_position_get(eo_obj, &x, &y);
efl_gfx_size_get(eo_obj, &w, &h);
scale = evas_obj_scale_get(eo_obj);
- efl_gfx_size_hint_content_min_get(eo_obj, &minw, &minh);
+ efl_gfx_size_hint_restricted_min_get(eo_obj, &minw, &minh);
efl_gfx_size_hint_max_get(eo_obj, &maxw, &maxh);
efl_gfx_size_hint_request_get(eo_obj, &requestw, &requesth);
efl_gfx_size_hint_align_get(eo_obj, &dblx, &dbly);
EAPI void
evas_object_size_hint_min_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
{
- efl_gfx_size_hint_content_min_set(obj, w, h);
+ efl_gfx_size_hint_restricted_min_set(obj, w, h);
}
EAPI void
evas_object_size_hint_min_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h)
{
- efl_gfx_size_hint_content_min_get(obj, w, h);
+ efl_gfx_size_hint_restricted_min_get(obj, w, h);
}
EAPI void