2002-09-24 17:22:12 +00:00
|
|
|
|
/***************************************************************************
|
|
|
|
|
* __________ __ ___.
|
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
|
* $Id$
|
|
|
|
|
*
|
|
|
|
|
* Copyright (C) 2002 Bj<EFBFBD>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_
|
|
|
|
|
|
2004-04-21 06:49:12 +00:00
|
|
|
|
#include "timefuncs.h"
|
|
|
|
|
|
2002-10-11 08:56:23 +00:00
|
|
|
|
void usb_display_info(void);
|
2002-09-24 17:22:12 +00:00
|
|
|
|
void usb_screen(void);
|
2003-07-17 20:29:51 +00:00
|
|
|
|
int charging_screen(void);
|
2003-12-04 00:08:25 +00:00
|
|
|
|
void charging_splash(void);
|
2002-09-24 17:22:12 +00:00
|
|
|
|
|
2004-09-28 22:13:26 +00:00
|
|
|
|
#if CONFIG_KEYPAD == RECORDER_PAD
|
2004-09-19 21:58:37 +00:00
|
|
|
|
int pitch_screen(void);
|
2004-03-12 10:20:33 +00:00
|
|
|
|
bool quick_screen(const int, const int);
|
2002-09-24 17:22:12 +00:00
|
|
|
|
#endif
|
|
|
|
|
|
2004-08-18 01:09:31 +00:00
|
|
|
|
void splash(int ticks, /* how long */
|
|
|
|
|
bool center, /* FALSE means left-justified, TRUE means
|
|
|
|
|
horizontal and vertical center */
|
|
|
|
|
const char *fmt, /* what to say *printf style */
|
2003-03-17 21:14:46 +00:00
|
|
|
|
...);
|
2003-03-17 19:32:12 +00:00
|
|
|
|
|
2004-04-21 06:49:12 +00:00
|
|
|
|
#ifdef HAVE_RTC
|
2004-08-18 01:09:31 +00:00
|
|
|
|
bool set_time_screen(const char* string, struct tm *tm);
|
2004-04-21 06:49:12 +00:00
|
|
|
|
#endif
|
2004-07-24 21:26:41 +00:00
|
|
|
|
|
|
|
|
|
bool shutdown_screen(void);
|
2004-09-19 21:58:37 +00:00
|
|
|
|
bool browse_id3(void);
|
2004-07-24 21:26:41 +00:00
|
|
|
|
|
2002-09-24 17:22:12 +00:00
|
|
|
|
#endif
|
2003-07-17 20:29:51 +00:00
|
|
|
|
|