diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-10-28 00:00:00 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-10-28 00:00:00 +0000 |
commit | 7da9477bc3401cbd90b2984f625f96f451ecaf6b (patch) | |
tree | 8aea2c154ad0f666f57c4752fa541fa539de757c /apps/gui/splash.h | |
parent | 3efa91ed03797dd533c0add6db750ade67499587 (diff) | |
download | rockbox-7da9477bc3401cbd90b2984f625f96f451ecaf6b.tar.gz rockbox-7da9477bc3401cbd90b2984f625f96f451ecaf6b.tar.bz2 rockbox-7da9477bc3401cbd90b2984f625f96f451ecaf6b.zip |
Initial multi screen support by Kévin Ferrare (Patch #1318081)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7666 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/splash.h')
-rw-r--r-- | apps/gui/splash.h | 39 |
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 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2005 by Kévin FERRARE + * + * All files in this archive are subject to the GNU General Public License. + * See the file COPYING in the source tree root for full license agreement. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +/* + * Puts a splash message on the given screen for a given period + * - screen : the screen to put the splash on + * - ticks : how long the splash is displayed (in rb ticks) + * - center : FALSE means left-justified, TRUE means + * horizontal and vertical center + * - fmt : what to say *printf style + */ +extern void gui_splash(struct screen * screen, int ticks, + bool center, const char *fmt, ...); + +/* + * Puts a splash message on all the screens for a given period + * - ticks : how long the splash is displayed (in rb ticks) + * - center : FALSE means left-justified, TRUE means + * horizontal and vertical center + * - fmt : what to say *printf style + */ +extern void gui_syncsplash(int ticks, bool center, + const char *fmt, ...); |