Efl_Ui_Pager_Data *pd,
Efl_Gfx_Entity *subobj)
{
- if (!EINA_DBL_EQ(pd->curr.pos, 0.0)) return EINA_FALSE;
-
pd->content_list = eina_list_prepend(pd->content_list, subobj);
pd->cnt++;
Efl_Ui_Pager_Data *pd,
Efl_Gfx_Entity *subobj)
{
- if (!EINA_DBL_EQ(pd->curr.pos, 0.0)) return EINA_FALSE;
-
pd->content_list = eina_list_append(pd->content_list, subobj);
pd->cnt++;
Efl_Gfx_Entity *subobj,
const Efl_Gfx_Entity *existing)
{
- if (!EINA_DBL_EQ(pd->curr.pos, 0.0)) return EINA_FALSE;
-
int index = eina_list_data_idx(pd->content_list, (void *)existing);
if (index == -1) return EINA_FALSE;
Efl_Gfx_Entity *subobj,
const Efl_Gfx_Entity *existing)
{
- if (!EINA_DBL_EQ(pd->curr.pos, 0.0)) return EINA_FALSE;
-
int index = eina_list_data_idx(pd->content_list, (void *)existing);
if (index == -1) return EINA_FALSE;
Efl_Gfx_Entity *subobj,
int index)
{
- if (!EINA_DBL_EQ(pd->curr.pos, 0.0)) return EINA_FALSE;
-
if ((index > pd->cnt) || (index < 0))
{
return EINA_FALSE;
Efl_Ui_Pager_Data *pd,
Efl_Gfx_Entity *subobj)
{
- if (!EINA_DBL_EQ(pd->curr.pos, 0.0)) return EINA_FALSE;
-
if (!subobj) return EINA_FALSE;
int index = eina_list_data_idx(pd->content_list, subobj);
Efl_Ui_Pager_Data *pd,
int index)
{
- if (!EINA_DBL_EQ(pd->curr.pos, 0.0)) return NULL;
-
if ((index >= pd->cnt) || (index < 0)) return NULL;
Efl_Gfx_Entity *subobj = eina_list_nth(pd->content_list, index);