enlightenment/src/modules/wizard/page_000.c

46 lines
653 B
C
Raw Normal View History

/* Splash Screen */
#include "e.h"
#include "e_mod_main.h"
EAPI int
wizard_page_init(E_Wizard_Page *pg)
{
return 1;
}
EAPI int
wizard_page_shutdown(E_Wizard_Page *pg)
{
return 1;
}
static Eina_Bool
_next_page(__UNUSED__ void *data)
{
e_wizard_button_next_enable_set(1);
e_wizard_next();
return ECORE_CALLBACK_CANCEL;
}
EAPI int
wizard_page_show(E_Wizard_Page *pg)
{
e_wizard_title_set(_("Enlightenment"));
e_wizard_button_next_enable_set(0);
ecore_timer_add(2.0, _next_page, NULL);
return 1;
}
EAPI int
wizard_page_hide(E_Wizard_Page *pg)
{
return 1;
}
EAPI int
wizard_page_apply(E_Wizard_Page *pg)
{
return 1;
}