rockbox/apps/screens.h
Daniel Stenberg 2517523c30 Hey Linus! Here it is!
Added splash(). Shows a message on screen during a given period, waiting for
the given keymask.

This function word-wraps the input message itself to show it as nicely as
possible. Multi platform function.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3462 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 19:32:12 +00:00

35 lines
1.2 KiB
C

/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
* \/ \/ \/ \/ \/
* $Id$
*
* Copyright (C) 2002 Björn Stenberg
*
* 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.
*
****************************************************************************/
#ifndef _SCREENS_H_
#define _SCREENS_H_
void usb_display_info(void);
void usb_screen(void);
#ifdef HAVE_RECORDER_KEYPAD
int on_screen(void);
bool f2_screen(void);
bool f3_screen(void);
#endif
void splash(char *text, /* what to say */
int ticks, /* fow how long */
int button);/* what keymask aborts the waiting (if any) */
#endif