}
static Eina_Bool
-_cb_ani_ready_to_start(void *data, int type EINA_UNUSED, void *event)
+_cb_ani_ready_to_resume(void *data, int type EINA_UNUSED, void *event)
{
app_data_t *app = (app_data_t *)data;
PUI_Event_Animation_Status *ev;
ev = event;
debug_info("[%s] ani id=%s, status=%d, window=0x%x\n", __FUNCTION__, pui_ani_get_id(ev->ani_h), ev->status, ev->win);
- /* start animation */
+ /* resume animation */
+ app->ani_idx--;
ani_collection_play(app);
return ECORE_CALLBACK_PASS_ON;
h = ecore_event_handler_add(PUI_EVENT_ANI_STOPPED, _cb_ani_stopped, app);
eina_array_push(_ecore_event_hdls, h);
- h = ecore_event_handler_add(PUI_EVENT_ANI_READY_TO_START, _cb_ani_ready_to_start, app);
+ h = ecore_event_handler_add(PUI_EVENT_ANI_READY_TO_RESUME, _cb_ani_ready_to_resume, app);
eina_array_push(_ecore_event_hdls, h);
}