src/plugins/splash/Makefile
src/plugins/splash/throbgress/Makefile
src/plugins/splash/fade-throbber/Makefile
- src/plugins/splash/contact/Makefile
+ src/plugins/splash/tribar/Makefile
src/plugins/splash/text/Makefile
src/plugins/splash/details/Makefile
src/plugins/splash/space-flares/Makefile
themes/Makefile
themes/spinfinity/Makefile
themes/fade-in/Makefile
- themes/contact/Makefile
+ themes/tribar/Makefile
themes/text/Makefile
themes/details/Makefile
themes/solar/Makefile
-SUBDIRS = throbgress fade-throbber text details space-flares two-step script contact
+SUBDIRS = throbgress fade-throbber text details space-flares two-step script tribar
MAINTAINERCLEANFILES = Makefile.in
-/* text.c - boot splash plugin
- *
- * Copyright (C) 2008 Red Hat, Inc.
+/*
+ * Copyright (C) 2008-2012 Red Hat, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*
- * Written by: Adam Jackson <ajax@redhat.com>
- * Ray Strode <rstrode@redhat.com>
*/
#include "config.h"
#include "ply-list.h"
#include "ply-logger.h"
#include "ply-text-display.h"
-#include "ply-text-progress-bar.h"
+#include "ply-text-step-bar.h"
#include "ply-utils.h"
#include <linux/kd.h>
{
ply_boot_splash_plugin_t *plugin;
ply_text_display_t *display;
- ply_text_progress_bar_t *progress_bar;
+ ply_text_step_bar_t *step_bar;
} view_t;
view->plugin = plugin;
view->display = display;
- view->progress_bar = ply_text_progress_bar_new ();
+ view->step_bar = ply_text_step_bar_new ();
return view;
}
static void
view_free (view_t *view)
{
- ply_text_progress_bar_free (view->progress_bar);
+ ply_text_step_bar_free (view->step_bar);
free (view);
}
0xffffff);
ply_terminal_set_color_hex_value (terminal,
PLY_TERMINAL_COLOR_BLUE,
- 0x0073B3);
+ 0x3465a4);
ply_terminal_set_color_hex_value (terminal,
PLY_TERMINAL_COLOR_BROWN,
- 0x00457E);
+ 0x979a9b);
ply_text_display_set_background_color (view->display,
PLY_TERMINAL_COLOR_BLACK);
if (plugin->mode == PLY_BOOT_SPLASH_MODE_SHUTDOWN)
{
- ply_text_progress_bar_hide (view->progress_bar);
+ ply_text_step_bar_hide (view->step_bar);
return;
}
- ply_text_progress_bar_show (view->progress_bar,
+ ply_text_step_bar_show (view->step_bar,
view->display);
}
view = ply_list_node_get_data (node);
next_node = ply_list_get_next_node (plugin->views, node);
- ply_text_progress_bar_hide (view->progress_bar);
+ ply_text_step_bar_hide (view->step_bar);
node = next_node;
}
view = ply_list_node_get_data (node);
next_node = ply_list_get_next_node (plugin->views, node);
- ply_text_progress_bar_set_percent_done (view->progress_bar, percent_done);
- ply_text_progress_bar_draw (view->progress_bar);
+ ply_text_step_bar_set_percent_done (view->step_bar, percent_done);
+ ply_text_step_bar_draw (view->step_bar);
node = next_node;
}
-I$(srcdir)
plugindir = $(libdir)/plymouth
-plugin_LTLIBRARIES = contact.la
+plugin_LTLIBRARIES = tribar.la
-contact_la_CFLAGS = $(PLYMOUTH_CFLAGS) \
+tribar_la_CFLAGS = $(PLYMOUTH_CFLAGS) \
-DPLYMOUTH_BACKGROUND_COLOR=$(background_color) \
-DPLYMOUTH_BACKGROUND_END_COLOR=$(background_end_color) \
-DPLYMOUTH_BACKGROUND_START_COLOR=$(background_start_color)
-contact_la_LDFLAGS = -module -avoid-version -export-dynamic
-contact_la_LIBADD = $(PLYMOUTH_LIBS) \
+tribar_la_LDFLAGS = -module -avoid-version -export-dynamic
+tribar_la_LIBADD = $(PLYMOUTH_LIBS) \
../../../libply/libply.la \
../../../libply-splash-core/libply-splash-core.la
-contact_la_SOURCES = $(srcdir)/plugin.c
+tribar_la_SOURCES = $(srcdir)/plugin.c
MAINTAINERCLEANFILES = Makefile.in
/*
- * Copyright (C) 2008-2012 Red Hat, Inc.
+ *
+ * Copyright (C) 2008 Red Hat, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*
+ * Written by: Adam Jackson <ajax@redhat.com>
+ * Ray Strode <rstrode@redhat.com>
*/
#include "config.h"
#include "ply-list.h"
#include "ply-logger.h"
#include "ply-text-display.h"
-#include "ply-text-step-bar.h"
+#include "ply-text-progress-bar.h"
#include "ply-utils.h"
#include <linux/kd.h>
{
ply_boot_splash_plugin_t *plugin;
ply_text_display_t *display;
- ply_text_step_bar_t *step_bar;
+ ply_text_progress_bar_t *progress_bar;
} view_t;
view->plugin = plugin;
view->display = display;
- view->step_bar = ply_text_step_bar_new ();
+ view->progress_bar = ply_text_progress_bar_new ();
return view;
}
static void
view_free (view_t *view)
{
- ply_text_step_bar_free (view->step_bar);
+ ply_text_progress_bar_free (view->progress_bar);
free (view);
}
0xffffff);
ply_terminal_set_color_hex_value (terminal,
PLY_TERMINAL_COLOR_BLUE,
- 0x3465a4);
+ 0x0073B3);
ply_terminal_set_color_hex_value (terminal,
PLY_TERMINAL_COLOR_BROWN,
- 0x979a9b);
+ 0x00457E);
ply_text_display_set_background_color (view->display,
PLY_TERMINAL_COLOR_BLACK);
if (plugin->mode == PLY_BOOT_SPLASH_MODE_SHUTDOWN)
{
- ply_text_step_bar_hide (view->step_bar);
+ ply_text_progress_bar_hide (view->progress_bar);
return;
}
- ply_text_step_bar_show (view->step_bar,
+ ply_text_progress_bar_show (view->progress_bar,
view->display);
}
view = ply_list_node_get_data (node);
next_node = ply_list_get_next_node (plugin->views, node);
- ply_text_step_bar_hide (view->step_bar);
+ ply_text_progress_bar_hide (view->progress_bar);
node = next_node;
}
view = ply_list_node_get_data (node);
next_node = ply_list_get_next_node (plugin->views, node);
- ply_text_step_bar_set_percent_done (view->step_bar, percent_done);
- ply_text_step_bar_draw (view->step_bar);
+ ply_text_progress_bar_set_percent_done (view->progress_bar, percent_done);
+ ply_text_progress_bar_draw (view->progress_bar);
node = next_node;
}
-SUBDIRS = spinfinity fade-in text details solar glow script spinner contact
+SUBDIRS = spinfinity fade-in text details solar glow script spinner tribar
MAINTAINERCLEANFILES = Makefile.in
+++ /dev/null
-! contact.plymouth
+++ /dev/null
-themedir = $(datadir)/plymouth/themes/contact
-dist_theme_DATA = contact.plymouth
-
-MAINTAINERCLEANFILES = Makefile.in
+++ /dev/null
-[Plymouth Theme]
-Name=Contact
-Description=Text mode theme with a 3 box countdown
-ModuleName=contact
-! text.plymouth
+! contact.plymouth
[Plymouth Theme]
Name=Text
-Description=Text mode theme with tricolor progress bar
+Description=Text mode theme with a 3 box countdown
ModuleName=text
--- /dev/null
+! text.plymouth
--- /dev/null
+themedir = $(datadir)/plymouth/themes/tribar
+dist_theme_DATA = tribar.plymouth
+
+MAINTAINERCLEANFILES = Makefile.in
--- /dev/null
+[Plymouth Theme]
+Name=Tribar
+Description=Text mode theme with tricolor progress bar
+ModuleName=tribar