From 9cf51bcce4907fe5104fca10ce395f529ccff0d0 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Thu, 15 May 2008 15:52:19 -0400 Subject: add new ply_window_t type to manage text versus graphics mode, and eventually key events --- src/splash-plugins/text/text.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src/splash-plugins/text') diff --git a/src/splash-plugins/text/text.c b/src/splash-plugins/text/text.c index d2f9b99..014885a 100644 --- a/src/splash-plugins/text/text.c +++ b/src/splash-plugins/text/text.c @@ -46,7 +46,7 @@ #include "ply-frame-buffer.h" #include "ply-image.h" #include "ply-utils.h" - +#include "ply-window.h" #include @@ -94,16 +94,9 @@ open_console (ply_boot_splash_plugin_t *plugin) return true; } -static void -close_console (ply_boot_splash_plugin_t *plugin) -{ - ply_trace ("closing console"); - close (plugin->console_fd); - plugin->console_fd = -1; -} - bool -show_splash_screen (ply_boot_splash_plugin_t *plugin) +show_splash_screen (ply_boot_splash_plugin_t *plugin, + ply_window_t *window) { assert (plugin != NULL); -- cgit