forked from enlightenment/efl
efl: rename visibility to visible.
After discussion bindings and people in general prefer visible. T2035
This commit is contained in:
parent
2ca2a43916
commit
651436f410
|
@ -158,12 +158,12 @@ main(int argc, char *argv[])
|
|||
|
||||
r = eo_add(EVAS_RECTANGLE_CLASS, e,
|
||||
efl_gfx_color_set(color[0], color[1], color[2], alpha ? 0 : 255),
|
||||
efl_gfx_visibility_set(EINA_TRUE));
|
||||
efl_gfx_visible_set(EINA_TRUE));
|
||||
ecore_evas_object_associate(ee, r, ECORE_EVAS_OBJECT_ASSOCIATE_BASE);
|
||||
|
||||
vg = eo_add(EVAS_VG_CLASS, e,
|
||||
efl_file_set(argv[arg_index], NULL),
|
||||
efl_gfx_visibility_set(EINA_TRUE));
|
||||
efl_gfx_visible_set(EINA_TRUE));
|
||||
ecore_evas_object_associate(ee, vg, ECORE_EVAS_OBJECT_ASSOCIATE_BASE);
|
||||
|
||||
if (display)
|
||||
|
|
|
@ -4014,7 +4014,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
|
|||
eo_do(ep->typedata.swallow->swallowed_object,
|
||||
efl_gfx_position_set(ed->x + pf->final.x, ed->y + pf->final.y),
|
||||
efl_gfx_size_set(pf->final.w, pf->final.h),
|
||||
efl_gfx_visibility_set(vis));
|
||||
efl_gfx_visible_set(vis));
|
||||
}
|
||||
else evas_object_hide(ep->typedata.swallow->swallowed_object);
|
||||
mo = ep->typedata.swallow->swallowed_object;
|
||||
|
|
|
@ -522,7 +522,7 @@ arrange_text:
|
|||
efl_gfx_position_set(ed->x + TO_INT(params->eval.x) + ep->typedata.text->offset.x,
|
||||
ed->y + TO_INT(params->eval.y) + ep->typedata.text->offset.y);
|
||||
|
||||
efl_gfx_visibility_set(params->visible));
|
||||
efl_gfx_visible_set(params->visible));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ interface Efl.Gfx.Base {
|
|||
int a; /*@ The alpha component of the given color. */
|
||||
}
|
||||
}
|
||||
visibility {
|
||||
visible {
|
||||
set {
|
||||
/*@ Makes the given Evas object visible or invisible. */
|
||||
}
|
||||
|
|
|
@ -1433,8 +1433,8 @@ abstract Evas.Object (Eo.Base, Evas.Common_Interface, Efl.Gfx.Base)
|
|||
Eo.Base.destructor;
|
||||
Eo.Base.dbg_info_get;
|
||||
Evas.Common_Interface.evas.get;
|
||||
Efl.Gfx.Base.visibility.set;
|
||||
Efl.Gfx.Base.visibility.get;
|
||||
Efl.Gfx.Base.visible.set;
|
||||
Efl.Gfx.Base.visible.get;
|
||||
Efl.Gfx.Base.position.set;
|
||||
Efl.Gfx.Base.position.get;
|
||||
Efl.Gfx.Base.color.set;
|
||||
|
|
|
@ -1204,14 +1204,14 @@ evas_object_show(Evas_Object *eo_obj)
|
|||
MAGIC_CHECK(eo_obj, Evas_Object, MAGIC_OBJ);
|
||||
return;
|
||||
MAGIC_CHECK_END();
|
||||
eo_do(eo_obj, efl_gfx_visibility_set(EINA_TRUE));
|
||||
eo_do(eo_obj, efl_gfx_visible_set(EINA_TRUE));
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_object_hide(Evas_Object *eo_obj)
|
||||
{
|
||||
if (!eo_obj) return;
|
||||
eo_do(eo_obj, efl_gfx_visibility_set(EINA_FALSE));
|
||||
eo_do(eo_obj, efl_gfx_visible_set(EINA_FALSE));
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
|
@ -1219,13 +1219,13 @@ evas_object_visible_get(const Evas_Object *obj)
|
|||
{
|
||||
Eina_Bool ret;
|
||||
|
||||
return eo_do_ret((Evas_Object *)obj, ret, efl_gfx_visibility_get());
|
||||
return eo_do_ret((Evas_Object *)obj, ret, efl_gfx_visible_get());
|
||||
}
|
||||
|
||||
static void
|
||||
_evas_object_efl_gfx_base_visibility_set(Eo *eo_obj,
|
||||
Evas_Object_Protected_Data *obj,
|
||||
Eina_Bool visible)
|
||||
_evas_object_efl_gfx_base_visible_set(Eo *eo_obj,
|
||||
Evas_Object_Protected_Data *obj,
|
||||
Eina_Bool visible)
|
||||
{
|
||||
evas_object_async_block(obj);
|
||||
if (visible) _show(eo_obj, obj);
|
||||
|
@ -1401,7 +1401,7 @@ _hide(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_evas_object_efl_gfx_base_visibility_get(Eo *eo_obj EINA_UNUSED,
|
||||
_evas_object_efl_gfx_base_visible_get(Eo *eo_obj EINA_UNUSED,
|
||||
Evas_Object_Protected_Data *obj)
|
||||
{
|
||||
if (obj->delete_me) return EINA_FALSE;
|
||||
|
@ -1590,7 +1590,7 @@ _evas_object_eo_base_dbg_info_get(Eo *eo_obj, Evas_Object_Protected_Data *obj EI
|
|||
Eina_Bool clipees_has;
|
||||
|
||||
eo_do(eo_obj,
|
||||
visible = efl_gfx_visibility_get(),
|
||||
visible = efl_gfx_visible_get(),
|
||||
layer = evas_obj_layer_get(),
|
||||
name = evas_obj_name_get(),
|
||||
efl_gfx_position_get(&x, &y),
|
||||
|
|
Loading…
Reference in New Issue