BINDINGS/cxx elementaryxx: Applied recent gen/gengrid/genlist api

changes.


SVN revision: 65748
This commit is contained in:
Daniel Juyung Seo 2011-12-01 05:38:35 +00:00
parent 3d921de346
commit a4078829c8
1 changed files with 7 additions and 7 deletions

View File

@ -19,38 +19,38 @@ Gen::~Gen () {}
void Gen::clear ()
{
elm_gen_clear (o);
elm_genlist_clear (o);
}
void Gen::setAlwaysSelectMode (bool alwaysSelect)
{
elm_gen_always_select_mode_set (o, alwaysSelect);
elm_genlist_always_select_mode_set (o, alwaysSelect);
}
bool Gen::getAlwaysSelectMode ()
{
return elm_gen_always_select_mode_get (o);
return elm_genlist_always_select_mode_get (o);
}
void Gen::setNoSelectMode (bool noSelect)
{
elm_gen_no_select_mode_set (o, noSelect);
elm_genlist_no_select_mode_set (o, noSelect);
}
bool Gen::getNoSelectMode ()
{
return elm_gen_no_select_mode_get (o);
return elm_genlist_no_select_mode_get (o);
}
void Gen::setBounce (bool hBounce, bool vBounce)
{
elm_gen_bounce_set (o, hBounce, vBounce);
elm_genlist_bounce_set (o, hBounce, vBounce);
}
void Gen::getBounce (bool &hBounceOut, bool &vBounceOut)
{
Eina_Bool h, v;
elm_gen_bounce_get (o, &h, &v);
elm_genlist_bounce_get (o, &h, &v);
hBounceOut = h;
vBounceOut = v;
}