diff options
Diffstat (limited to 'apps/player')
-rw-r--r-- | apps/player/icons.c | 34 | ||||
-rw-r--r-- | apps/player/icons.h | 34 |
2 files changed, 68 insertions, 0 deletions
diff --git a/apps/player/icons.c b/apps/player/icons.c new file mode 100644 index 0000000000..b01961d546 --- /dev/null +++ b/apps/player/icons.c | |||
@@ -0,0 +1,34 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2002 Justin Heiner | ||
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 | #include "lcd.h" | ||
20 | #include "icons.h" | ||
21 | |||
22 | #ifdef HAVE_LCD_CHARCELLS | ||
23 | |||
24 | char tree_icons_5x7[LastTreeIcon][8] = | ||
25 | { | ||
26 | { 0x06, 0x09, 0x09, 0x02, 0x02, 0x00, 0x02, 0x00 }, /* Unknown */ | ||
27 | { 0x0c, 0x13, 0x11, 0x11, 0x11, 0x11, 0x1f, 0x00 }, /* Folder */ | ||
28 | { 0x07, 0x04, 0x07, 0x04, 0x1c, 0x1c, 0x08, 0x00 }, /* File */ | ||
29 | { 0x17, 0x00, 0x17, 0x00, 0x17, 0x00, 0x17, 0x00 }, /* Playlist */ | ||
30 | { 0x01, 0x01, 0x02, 0x02, 0x14, 0x0c, 0x04, 0x00 }, /* WPS */ | ||
31 | { 0x1f, 0x11, 0x1b, 0x15, 0x1b, 0x11, 0x1f, 0x00 } /* MOD/AJZ */ | ||
32 | }; | ||
33 | |||
34 | #endif | ||
diff --git a/apps/player/icons.h b/apps/player/icons.h new file mode 100644 index 0000000000..87608961b8 --- /dev/null +++ b/apps/player/icons.h | |||
@@ -0,0 +1,34 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2002 Justin Heiner | ||
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 | #include <lcd.h> | ||
20 | |||
21 | /* | ||
22 | * Icons of size 5x7 pixels for the Player LCD | ||
23 | */ | ||
24 | |||
25 | #ifdef HAVE_LCD_CHARCELLS | ||
26 | |||
27 | enum icons_6x8 { | ||
28 | Unknown, File, Folder, Playlist, Wps, Mod_Ajz, | ||
29 | LastTreeIcon | ||
30 | }; | ||
31 | |||
32 | extern char tree_icons_5x7[LastTreeIcon][8]; | ||
33 | |||
34 | #endif | ||