forked from enlightenment/efl
remove deprecated code related with
elm_gengrid_always_select_mode_get/set elm_gengrid_no_select_mode_get/set function. SVN revision: 69285
This commit is contained in:
parent
547d66da57
commit
8e689efa47
|
@ -4350,7 +4350,7 @@
|
||||||
* you'll notice all subsequent clicks on the @b same grid item will
|
* you'll notice all subsequent clicks on the @b same grid item will
|
||||||
* still issue the selection callback on it, what is different from
|
* still issue the selection callback on it, what is different from
|
||||||
* when it's not checked. This is the
|
* when it's not checked. This is the
|
||||||
* elm_gengrid_always_select_mode_set() behavior:
|
* elm_gengrid_select_mode_set() behavior:
|
||||||
* @dontinclude gengrid_example.c
|
* @dontinclude gengrid_example.c
|
||||||
* @skip "always select" callback
|
* @skip "always select" callback
|
||||||
* @until }
|
* @until }
|
||||||
|
|
|
@ -2545,54 +2545,6 @@ elm_gengrid_reorder_mode_get(const Evas_Object *obj)
|
||||||
return wd->reorder_mode;
|
return wd->reorder_mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
EINA_DEPRECATED EAPI void
|
|
||||||
elm_gengrid_always_select_mode_set(Evas_Object *obj,
|
|
||||||
Eina_Bool always_select)
|
|
||||||
{
|
|
||||||
if (always_select)
|
|
||||||
elm_genlist_select_mode_set(obj, ELM_OBJECT_SELECT_MODE_ALWAYS);
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Elm_Object_Select_Mode oldmode = elm_genlist_select_mode_get(obj);
|
|
||||||
if (oldmode == ELM_OBJECT_SELECT_MODE_ALWAYS)
|
|
||||||
elm_genlist_select_mode_set(obj, ELM_OBJECT_SELECT_MODE_DEFAULT);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
EINA_DEPRECATED EAPI Eina_Bool
|
|
||||||
elm_gengrid_always_select_mode_get(const Evas_Object *obj)
|
|
||||||
{
|
|
||||||
Elm_Object_Select_Mode oldmode = elm_genlist_select_mode_get(obj);
|
|
||||||
if (oldmode == ELM_OBJECT_SELECT_MODE_ALWAYS)
|
|
||||||
return EINA_TRUE;
|
|
||||||
else
|
|
||||||
return EINA_FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
EINA_DEPRECATED EAPI void
|
|
||||||
elm_gengrid_no_select_mode_set(Evas_Object *obj,
|
|
||||||
Eina_Bool no_select)
|
|
||||||
{
|
|
||||||
if (no_select)
|
|
||||||
elm_genlist_select_mode_set(obj, ELM_OBJECT_SELECT_MODE_NONE);
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Elm_Object_Select_Mode oldmode = elm_genlist_select_mode_get(obj);
|
|
||||||
if (oldmode == ELM_OBJECT_SELECT_MODE_NONE)
|
|
||||||
elm_genlist_select_mode_set(obj, ELM_OBJECT_SELECT_MODE_DEFAULT);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
EINA_DEPRECATED EAPI Eina_Bool
|
|
||||||
elm_gengrid_no_select_mode_get(const Evas_Object *obj)
|
|
||||||
{
|
|
||||||
Elm_Object_Select_Mode oldmode = elm_genlist_select_mode_get(obj);
|
|
||||||
if (oldmode == ELM_OBJECT_SELECT_MODE_NONE)
|
|
||||||
return EINA_TRUE;
|
|
||||||
else
|
|
||||||
return EINA_FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
elm_gengrid_bounce_set(Evas_Object *obj,
|
elm_gengrid_bounce_set(Evas_Object *obj,
|
||||||
Eina_Bool h_bounce,
|
Eina_Bool h_bounce,
|
||||||
|
|
Loading…
Reference in New Issue