ply_label_t *label;
ply_boot_splash_display_type_t state;
- ply_trigger_t *idle_trigger;
-
ply_list_t *sprites;
double now;
}
static void
-stop_animation (ply_boot_splash_plugin_t *plugin,
- ply_trigger_t *trigger)
+stop_animation (ply_boot_splash_plugin_t *plugin)
{
ply_list_node_t *node;
on_interrupt (ply_boot_splash_plugin_t *plugin)
{
ply_event_loop_exit (plugin->loop, 1);
- stop_animation (plugin, NULL);
+ stop_animation (plugin);
ply_window_set_mode (plugin->window, PLY_WINDOW_MODE_TEXT);
}
if (plugin->loop != NULL)
{
- stop_animation (plugin, NULL);
+ stop_animation (plugin);
ply_event_loop_stop_watching_for_exit (plugin->loop, (ply_event_loop_exit_handler_t)
detach_from_event_loop,
become_idle (ply_boot_splash_plugin_t *plugin,
ply_trigger_t *idle_trigger)
{
- stop_animation (plugin, idle_trigger);
+ stop_animation (plugin);
+ ply_trigger_pull (idle_trigger, NULL);
}
void display_normal (ply_boot_splash_plugin_t *plugin)
{
if (plugin->state == PLY_BOOT_SPLASH_DISPLAY_NORMAL)
{
- stop_animation (plugin, NULL);
+ stop_animation (plugin);
}
plugin->state = PLY_BOOT_SPLASH_DISPLAY_PASSWORD_ENTRY;
show_password_prompt (plugin, prompt);
{
if (plugin->state == PLY_BOOT_SPLASH_DISPLAY_NORMAL)
{
- stop_animation (plugin, NULL);
+ stop_animation (plugin);
}
plugin->state = PLY_BOOT_SPLASH_DISPLAY_QUESTION_ENTRY;