remove elm_list_always_select_mode_get/set deprecated API
SVN revision: 69330
This commit is contained in:
parent
74cda7c273
commit
b10f21c0c7
|
@ -149,7 +149,7 @@ int main (int argc, char **argv)
|
|||
lb->show ();
|
||||
|
||||
List *li = List::factory (*win);
|
||||
li->setAlwaysSelectMode (true);
|
||||
li->setSelectMode (ELM_OBJECT_SELECT_MODE_ALWAYS);
|
||||
li->setWeightHintSize (EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
||||
li->setAlignHintSize (EVAS_HINT_FILL, EVAS_HINT_FILL);
|
||||
bx0->packEnd (*li);
|
||||
|
|
|
@ -31,7 +31,7 @@ public:
|
|||
|
||||
void setHorizontal (bool horizontal);
|
||||
|
||||
void setAlwaysSelectMode (bool alwaysSelect);
|
||||
void setSelectMode (Elm_Object_Select_Mode mode);
|
||||
|
||||
const Eina_List *getItems (); // TODO: port Eina_List
|
||||
|
||||
|
|
|
@ -42,9 +42,9 @@ void List::setHorizontal (bool horizontal)
|
|||
elm_list_horizontal_set (o, horizontal);
|
||||
}
|
||||
|
||||
void List::setAlwaysSelectMode (bool alwaysSelect)
|
||||
void List::setSelectMode (Elm_Object_Select_Mode mode)
|
||||
{
|
||||
elm_list_always_select_mode_set (o, alwaysSelect);
|
||||
elm_list_select_mode_set (o, mode);
|
||||
}
|
||||
|
||||
const Eina_List *List::getItems ()
|
||||
|
|
Loading…
Reference in New Issue