2009-11-20 08:12:16 -08:00
|
|
|
/* Splash Screen */
|
|
|
|
|
2012-11-30 06:38:34 -08:00
|
|
|
#include "e_wizard.h"
|
2007-09-14 09:57:01 -07:00
|
|
|
|
2012-09-27 01:40:24 -07:00
|
|
|
static Ecore_Timer *_next_timer = NULL;
|
|
|
|
|
2012-11-30 02:46:48 -08:00
|
|
|
/*
|
2007-09-14 09:57:01 -07:00
|
|
|
EAPI int
|
2012-11-26 04:40:31 -08:00
|
|
|
wizard_page_init(E_Wizard_Page *pg __UNUSED__, Eina_Bool *need_xdg_desktops __UNUSED__, Eina_Bool *need_xdg_icons __UNUSED__)
|
2007-09-14 09:57:01 -07:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2009-11-25 10:55:15 -08:00
|
|
|
|
2007-09-14 09:57:01 -07:00
|
|
|
EAPI int
|
2010-08-19 09:52:09 -07:00
|
|
|
wizard_page_shutdown(E_Wizard_Page *pg __UNUSED__)
|
2007-09-14 09:57:01 -07:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2012-11-30 02:46:48 -08:00
|
|
|
*/
|
2010-06-24 09:19:12 -07:00
|
|
|
static Eina_Bool
|
2010-08-19 09:52:09 -07:00
|
|
|
_next_page(void *data __UNUSED__)
|
2008-10-24 23:54:38 -07:00
|
|
|
{
|
2012-09-27 01:40:24 -07:00
|
|
|
_next_timer = NULL;
|
2008-10-24 23:54:38 -07:00
|
|
|
e_wizard_button_next_enable_set(1);
|
|
|
|
e_wizard_next();
|
2010-06-24 09:19:12 -07:00
|
|
|
return ECORE_CALLBACK_CANCEL;
|
2008-10-24 23:54:38 -07:00
|
|
|
}
|
2009-11-25 10:55:15 -08:00
|
|
|
|
2007-09-14 09:57:01 -07:00
|
|
|
EAPI int
|
2010-08-19 09:52:09 -07:00
|
|
|
wizard_page_show(E_Wizard_Page *pg __UNUSED__)
|
2007-09-14 09:57:01 -07:00
|
|
|
{
|
2012-05-01 04:33:19 -07:00
|
|
|
Evas_Object *o;
|
2012-06-28 06:12:13 -07:00
|
|
|
|
2008-10-24 23:54:38 -07:00
|
|
|
e_wizard_title_set(_("Enlightenment"));
|
|
|
|
e_wizard_button_next_enable_set(0);
|
2012-05-01 04:33:19 -07:00
|
|
|
o = edje_object_add(pg->evas);
|
|
|
|
e_theme_edje_object_set(o, "base/theme/wizard", "e/wizard/firstpage");
|
|
|
|
e_wizard_page_show(o);
|
2012-06-28 06:12:13 -07:00
|
|
|
|
2012-11-26 04:40:31 -08:00
|
|
|
/* advance in 1 sec */
|
2012-11-30 02:46:48 -08:00
|
|
|
if (!_next_timer)
|
|
|
|
_next_timer = ecore_timer_add(1.0, _next_page, NULL);
|
2008-10-24 23:54:38 -07:00
|
|
|
return 1;
|
2007-09-14 09:57:01 -07:00
|
|
|
}
|
2009-11-25 10:55:15 -08:00
|
|
|
|
2007-09-14 09:57:01 -07:00
|
|
|
EAPI int
|
2010-08-19 09:52:09 -07:00
|
|
|
wizard_page_hide(E_Wizard_Page *pg __UNUSED__)
|
2007-09-14 09:57:01 -07:00
|
|
|
{
|
2012-11-30 02:46:48 -08:00
|
|
|
if (_next_timer) ecore_timer_del(_next_timer);
|
|
|
|
_next_timer = NULL;
|
2007-09-14 09:57:01 -07:00
|
|
|
return 1;
|
|
|
|
}
|
2012-11-30 02:46:48 -08:00
|
|
|
/*
|
2007-09-14 09:57:01 -07:00
|
|
|
EAPI int
|
2010-08-19 09:52:09 -07:00
|
|
|
wizard_page_apply(E_Wizard_Page *pg __UNUSED__)
|
2007-09-14 09:57:01 -07:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2012-11-30 02:46:48 -08:00
|
|
|
*/
|