Hopefully fix FS#8506 (OF cant be loaded on some PP targets). also hopefully fixes...
[Rockbox.git] / apps / gui / splash.h
blob206674d9d043cbbcfc41d811ad05ccf1888d06a9
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2005 by Kevin Ferrare
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.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #ifndef _GUI_SPLASH_H_
21 #define _GUI_SPLASH_H_
22 #include <_ansi.h>
23 #include "screen_access.h"
26 * Puts a splash message centered on the given screen for a given period
27 * - screen : the screen to put the splash on
28 * - ticks : how long the splash is displayed (in rb ticks)
29 * - fmt : what to say *printf style
31 extern void gui_splash(struct screen * screen, int ticks,
32 const char *fmt, ...) ATTRIBUTE_PRINTF(3, 4);
35 * Puts a splash message centered on all the screens for a given period
36 * - ticks : how long the splash is displayed (in rb ticks)
37 * - fmt : what to say *printf style
39 extern void gui_syncsplash(int ticks, const char *fmt, ...)
40 ATTRIBUTE_PRINTF(2, 3);
42 #endif /* _GUI_ICON_H_ */