1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2005 by Kevin Ferrare
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 #ifndef _GUI_SPLASH_H_
23 #define _GUI_SPLASH_H_
25 #include "screen_access.h"
26 #include "gcc_extensions.h"
29 * Puts a splash message centered on all the screens for a given period
30 * - ticks : how long the splash is displayed (in rb ticks)
31 * - fmt : what to say *printf style
33 extern void splashf(int ticks
, const char *fmt
, ...) ATTRIBUTE_PRINTF(2, 3);
36 * Puts a splash message centered on all the screens for a given period
37 * - ticks : how long the splash is displayed (in rb ticks)
38 * - str : what to say, if this is a LANG_* string (from ID2P)
41 extern void splash(int ticks
, const char *str
);
42 #endif /* _GUI_ICON_H_ */