aboutsummaryrefslogtreecommitdiffstats
path: root/psplash-config.h
diff options
context:
space:
mode:
authorOlaf Mandel <o.mandel@menlosystems.com>2014-10-07 15:43:20 +0200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2014-10-31 15:24:47 +0000
commit14c8f7b705de944beb4de3f296506d80871e410f (patch)
tree0661f92166771f4c659769b4f84ba516fca20fe2 /psplash-config.h
parentbea784ad25deef6e7d5ed50450d0b347f30f180b (diff)
downloadpsplash-14c8f7b705de944beb4de3f296506d80871e410f.tar.gz
psplash-14c8f7b705de944beb4de3f296506d80871e410f.tar.bz2
psplash-14c8f7b705de944beb4de3f296506d80871e410f.zip
Make appearance more configurable
* Allow not showing the startup message * Make the screen-split (between image and progress bar) configurable * Allow for fullscreen image (overlaid by progress bar) Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Diffstat (limited to 'psplash-config.h')
-rw-r--r--psplash-config.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/psplash-config.h b/psplash-config.h
new file mode 100644
index 0000000..82bb76d
--- /dev/null
+++ b/psplash-config.h
@@ -0,0 +1,34 @@
+/*
+ * pslash - a lightweight framebuffer splashscreen for embedded devices.
+ *
+ * Copyright (c) 2014 MenloSystems GmbH
+ * Author: Olaf Mandel <o.mandel@menlosystems.com>
+ *
+ * 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
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+
+#ifndef _HAVE_PSPLASH_CONFIG_H
+#define _HAVE_PSPLASH_CONFIG_H
+
+/* Text to output on program start; if undefined, output nothing */
+#define PSPLASH_STARTUP_MSG ""
+
+/* Bool indicating if the image is fullscreen, as opposed to split screen */
+#define PSPLASH_IMG_FULLSCREEN 0
+
+/* Position of the image split from top edge, numerator of fraction */
+#define PSPLASH_IMG_SPLIT_NUMERATOR 5
+
+/* Position of the image split from top edge, denominator of fraction */
+#define PSPLASH_IMG_SPLIT_DENOMINATOR 6
+
+#endif