diff options
author | David-John Willis <John.Willis@Distant-earth.com> | 2009-10-28 09:11:26 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-10-28 10:16:32 +0100 |
commit | bee83ea1d917a276e4c8a945f95c76d10f5cf933 (patch) | |
tree | 32900612b0e0eed715204548a86935edc699a3e9 /recipes/psplash/psplash-omap3pandora/splashfuncs | |
parent | 06b7f2e81a082a5ef40a32008e0e244fb9fe6050 (diff) | |
download | openembedded-bee83ea1d917a276e4c8a945f95c76d10f5cf933.tar.gz |
psplash-omap3pandora: Add psplash splashscreen for the omap3-pandora.
Diffstat (limited to 'recipes/psplash/psplash-omap3pandora/splashfuncs')
-rw-r--r-- | recipes/psplash/psplash-omap3pandora/splashfuncs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/psplash/psplash-omap3pandora/splashfuncs b/recipes/psplash/psplash-omap3pandora/splashfuncs new file mode 100644 index 0000000000..ada2a96dd4 --- /dev/null +++ b/recipes/psplash/psplash-omap3pandora/splashfuncs @@ -0,0 +1,29 @@ +status() { + if type splash-write >/dev/null 2>&1; then + (TMPDIR="/mnt/.splash" EXQUISITE_IPC="$TMPDIR/exquisite" splash-write "$1" || true) & + fi +} + +status_position() { + status "PROGRESS $1" +} + +status_title() { + status "TITLE $1" +} + +status_text() { + if test -n "$1"; then + status "MSG $1" + else + status "CLEAR" + fi +} + +status_pulse() { + status "PULSATE" +} + +status_tick() { + status "TICK" +} |