From f57d0220dd216937a210a18f8ab8394091bb6a08 Mon Sep 17 00:00:00 2001 From: Kevin Ferrare Date: Tue, 22 Nov 2005 21:55:05 +0000 Subject: Adapted and commited Markus Kaufhold's remote hold icon on statusbar patch for iriver ; generic logo handler (now it's possible to have a different USB logo on main screen and on remote), made the quickscreen behave as it was before git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8044 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/logo.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 apps/gui/logo.h (limited to 'apps/gui/logo.h') diff --git a/apps/gui/logo.h b/apps/gui/logo.h new file mode 100644 index 0000000000..38eafeaef2 --- /dev/null +++ b/apps/gui/logo.h @@ -0,0 +1,43 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2005 by Kevin 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. + * + ****************************************************************************/ + +#ifndef _GUI_LOGO_H_ +#define _GUI_LOGO_H_ +#include "screen_access.h" + +struct logo{ +#ifdef HAVE_LCD_BITMAP + const unsigned char * bitmap; + int width; + int height; +#else + const char * text; +#endif +}; + +extern struct logo usb_logos[]; + +/* + * Draws the given logo at the center of the given screen + * - logo : the logo + * - display : the screen to draw on + */ +void gui_logo_draw(struct logo * logo, struct screen * display); + +#endif /* _GUI_LOGO_H_ */ -- cgit v1.2.3