forked from enlightenment/efl
deprecate elm_genlist/grid_item_selected_get -> elm_gen_item_selected_get
SVN revision: 64279
This commit is contained in:
parent
4ce2a15b77
commit
e22f36e214
|
@ -8952,7 +8952,7 @@ extern "C" {
|
||||||
*
|
*
|
||||||
* @ingroup Gengrid
|
* @ingroup Gengrid
|
||||||
*/
|
*/
|
||||||
EAPI Eina_Bool elm_gengrid_item_selected_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
|
EINA_DEPRECATED EAPI Eina_Bool elm_gengrid_item_selected_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the real Evas object created to implement the view of a
|
* Get the real Evas object created to implement the view of a
|
||||||
|
@ -18864,7 +18864,7 @@ extern "C" {
|
||||||
*
|
*
|
||||||
* @ingroup Genlist
|
* @ingroup Genlist
|
||||||
*/
|
*/
|
||||||
EAPI Eina_Bool elm_genlist_item_selected_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
|
EINA_DEPRECATED EAPI Eina_Bool elm_genlist_item_selected_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
|
||||||
/**
|
/**
|
||||||
* Sets the expanded state of an item.
|
* Sets the expanded state of an item.
|
||||||
*
|
*
|
||||||
|
|
|
@ -363,7 +363,7 @@ _item_multi_select_left(Widget_Data *wd)
|
||||||
|
|
||||||
Elm_Gen_Item *prev = elm_gengrid_item_prev_get(wd->last_selected_item);
|
Elm_Gen_Item *prev = elm_gengrid_item_prev_get(wd->last_selected_item);
|
||||||
if (!prev) return EINA_TRUE;
|
if (!prev) return EINA_TRUE;
|
||||||
if (elm_gengrid_item_selected_get(prev))
|
if (elm_gen_item_selected_get(prev))
|
||||||
{
|
{
|
||||||
elm_gen_item_selected_set(wd->last_selected_item, EINA_FALSE);
|
elm_gen_item_selected_set(wd->last_selected_item, EINA_FALSE);
|
||||||
wd->last_selected_item = prev;
|
wd->last_selected_item = prev;
|
||||||
|
@ -385,7 +385,7 @@ _item_multi_select_right(Widget_Data *wd)
|
||||||
|
|
||||||
Elm_Gen_Item *next = elm_gengrid_item_next_get(wd->last_selected_item);
|
Elm_Gen_Item *next = elm_gengrid_item_next_get(wd->last_selected_item);
|
||||||
if (!next) return EINA_TRUE;
|
if (!next) return EINA_TRUE;
|
||||||
if (elm_gengrid_item_selected_get(next))
|
if (elm_gen_item_selected_get(next))
|
||||||
{
|
{
|
||||||
elm_gen_item_selected_set(wd->last_selected_item, EINA_FALSE);
|
elm_gen_item_selected_set(wd->last_selected_item, EINA_FALSE);
|
||||||
wd->last_selected_item = next;
|
wd->last_selected_item = next;
|
||||||
|
|
|
@ -430,7 +430,7 @@ _item_multi_select_up(Widget_Data *wd)
|
||||||
Elm_Gen_Item *prev = elm_genlist_item_prev_get(wd->last_selected_item);
|
Elm_Gen_Item *prev = elm_genlist_item_prev_get(wd->last_selected_item);
|
||||||
if (!prev) return EINA_TRUE;
|
if (!prev) return EINA_TRUE;
|
||||||
|
|
||||||
if (elm_genlist_item_selected_get(prev))
|
if (elm_gen_item_selected_get(prev))
|
||||||
{
|
{
|
||||||
elm_gen_item_selected_set(wd->last_selected_item, EINA_FALSE);
|
elm_gen_item_selected_set(wd->last_selected_item, EINA_FALSE);
|
||||||
wd->last_selected_item = prev;
|
wd->last_selected_item = prev;
|
||||||
|
@ -453,7 +453,7 @@ _item_multi_select_down(Widget_Data *wd)
|
||||||
Elm_Gen_Item *next = elm_genlist_item_next_get(wd->last_selected_item);
|
Elm_Gen_Item *next = elm_genlist_item_next_get(wd->last_selected_item);
|
||||||
if (!next) return EINA_TRUE;
|
if (!next) return EINA_TRUE;
|
||||||
|
|
||||||
if (elm_genlist_item_selected_get(next))
|
if (elm_gen_item_selected_get(next))
|
||||||
{
|
{
|
||||||
elm_gen_item_selected_set(wd->last_selected_item, EINA_FALSE);
|
elm_gen_item_selected_set(wd->last_selected_item, EINA_FALSE);
|
||||||
wd->last_selected_item = next;
|
wd->last_selected_item = next;
|
||||||
|
|
Loading…
Reference in New Issue