diff options
author | Kevin Ferrare <kevin@rockbox.org> | 2005-11-22 21:55:05 +0000 |
---|---|---|
committer | Kevin Ferrare <kevin@rockbox.org> | 2005-11-22 21:55:05 +0000 |
commit | f57d0220dd216937a210a18f8ab8394091bb6a08 (patch) | |
tree | 79b724000023174b931ce898a42f8a2fbf6d1438 /apps/gui/logo.h | |
parent | fd02642ee0238ae2b32b7a5ea7005abf0e72489d (diff) | |
download | rockbox-f57d0220dd216937a210a18f8ab8394091bb6a08.tar.gz rockbox-f57d0220dd216937a210a18f8ab8394091bb6a08.zip |
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
Diffstat (limited to 'apps/gui/logo.h')
-rw-r--r-- | apps/gui/logo.h | 43 |
1 files changed, 43 insertions, 0 deletions
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 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2005 by Kevin Ferrare | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | |||
20 | #ifndef _GUI_LOGO_H_ | ||
21 | #define _GUI_LOGO_H_ | ||
22 | #include "screen_access.h" | ||
23 | |||
24 | struct logo{ | ||
25 | #ifdef HAVE_LCD_BITMAP | ||
26 | const unsigned char * bitmap; | ||
27 | int width; | ||
28 | int height; | ||
29 | #else | ||
30 | const char * text; | ||
31 | #endif | ||
32 | }; | ||
33 | |||
34 | extern struct logo usb_logos[]; | ||
35 | |||
36 | /* | ||
37 | * Draws the given logo at the center of the given screen | ||
38 | * - logo : the logo | ||
39 | * - display : the screen to draw on | ||
40 | */ | ||
41 | void gui_logo_draw(struct logo * logo, struct screen * display); | ||
42 | |||
43 | #endif /* _GUI_LOGO_H_ */ | ||