summaryrefslogtreecommitdiff
path: root/apps/gui/splash.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/splash.h')
-rw-r--r--apps/gui/splash.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/apps/gui/splash.h b/apps/gui/splash.h
new file mode 100644
index 0000000000..b0d55db890
--- /dev/null
+++ b/apps/gui/splash.h
@@ -0,0 +1,39 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2005 by Kévin FERRARE
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20/*
21 * Puts a splash message on the given screen for a given period
22 * - screen : the screen to put the splash on
23 * - ticks : how long the splash is displayed (in rb ticks)
24 * - center : FALSE means left-justified, TRUE means
25 * horizontal and vertical center
26 * - fmt : what to say *printf style
27 */
28extern void gui_splash(struct screen * screen, int ticks,
29 bool center, const char *fmt, ...);
30
31/*
32 * Puts a splash message on all the screens for a given period
33 * - ticks : how long the splash is displayed (in rb ticks)
34 * - center : FALSE means left-justified, TRUE means
35 * horizontal and vertical center
36 * - fmt : what to say *printf style
37 */
38extern void gui_syncsplash(int ticks, bool center,
39 const char *fmt, ...);