summaryrefslogtreecommitdiffstats
path: root/src/splash-plugins/text
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-05-15 15:52:19 -0400
committerRay Strode <rstrode@redhat.com>2008-05-17 02:16:22 -0400
commit9cf51bcce4907fe5104fca10ce395f529ccff0d0 (patch)
treed05d7a008619e880d68721d05b7c175a0cc5b0b4 /src/splash-plugins/text
parent262e8b5f75c7a9897446703e5815b06e47f0fcfb (diff)
downloadplymouth-9cf51bcce4907fe5104fca10ce395f529ccff0d0.tar.gz
plymouth-9cf51bcce4907fe5104fca10ce395f529ccff0d0.tar.xz
plymouth-9cf51bcce4907fe5104fca10ce395f529ccff0d0.zip
add new ply_window_t type to manage text versus graphics mode,
and eventually key events
Diffstat (limited to 'src/splash-plugins/text')
-rw-r--r--src/splash-plugins/text/text.c13
1 files changed, 3 insertions, 10 deletions
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 <linux/kd.h>
@@ -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);