forked from len0rd/rockbox
New player directory with icons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2142 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d1bcc58290
commit
0b63760045
3 changed files with 76 additions and 1 deletions
|
|
@ -42,6 +42,8 @@ ifeq ($(TARGET),-DARCHOS_RECORDER)
|
||||||
CFLAGS += -Irecorder
|
CFLAGS += -Irecorder
|
||||||
OUTNAME = ajbrec.ajz
|
OUTNAME = ajbrec.ajz
|
||||||
else
|
else
|
||||||
|
SRC += $(wildcard player/*.c)
|
||||||
|
CFLAGS += -Iplayer
|
||||||
OUTNAME = archos.mod
|
OUTNAME = archos.mod
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
@ -77,7 +79,12 @@ clean:
|
||||||
-$(RM) -r $(OBJDIR)/$(DEPS)
|
-$(RM) -r $(OBJDIR)/$(DEPS)
|
||||||
|
|
||||||
DEPS:=.deps
|
DEPS:=.deps
|
||||||
DEPDIRS:=$(DEPS) $(DEPS)/recorder
|
DEPDIRS:=$(DEPS)
|
||||||
|
ifeq ($(TARGET),-DARCHOS_RECORDER)
|
||||||
|
DEPDIRS += $(DEPS)/recorder
|
||||||
|
else
|
||||||
|
DEPDIRS += $(DEPS)/player
|
||||||
|
endif
|
||||||
|
|
||||||
DIRS = $(subst $(DEPS),".",$(DEPDIRS))
|
DIRS = $(subst $(DEPS),".",$(DEPDIRS))
|
||||||
|
|
||||||
|
|
|
||||||
34
apps/player/icons.c
Normal file
34
apps/player/icons.c
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
/***************************************************************************
|
||||||
|
* __________ __ ___.
|
||||||
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||||
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||||
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||||
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||||
|
* \/ \/ \/ \/ \/
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* Copyright (C) 2002 Justin Heiner
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
****************************************************************************/
|
||||||
|
#include "lcd.h"
|
||||||
|
#include "icons.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LCD_CHARCELLS
|
||||||
|
|
||||||
|
char tree_icons_5x7[LastTreeIcon][8] =
|
||||||
|
{
|
||||||
|
{ 0x06, 0x09, 0x09, 0x02, 0x02, 0x00, 0x02, 0x00 }, /* Unknown */
|
||||||
|
{ 0x0c, 0x13, 0x11, 0x11, 0x11, 0x11, 0x1f, 0x00 }, /* Folder */
|
||||||
|
{ 0x07, 0x04, 0x07, 0x04, 0x1c, 0x1c, 0x08, 0x00 }, /* File */
|
||||||
|
{ 0x17, 0x00, 0x17, 0x00, 0x17, 0x00, 0x17, 0x00 }, /* Playlist */
|
||||||
|
{ 0x01, 0x01, 0x02, 0x02, 0x14, 0x0c, 0x04, 0x00 }, /* WPS */
|
||||||
|
{ 0x1f, 0x11, 0x1b, 0x15, 0x1b, 0x11, 0x1f, 0x00 } /* MOD/AJZ */
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
34
apps/player/icons.h
Normal file
34
apps/player/icons.h
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
/***************************************************************************
|
||||||
|
* __________ __ ___.
|
||||||
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||||
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||||
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||||
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||||
|
* \/ \/ \/ \/ \/
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* Copyright (C) 2002 Justin Heiner
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
****************************************************************************/
|
||||||
|
#include <lcd.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Icons of size 5x7 pixels for the Player LCD
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_LCD_CHARCELLS
|
||||||
|
|
||||||
|
enum icons_6x8 {
|
||||||
|
Unknown, File, Folder, Playlist, Wps, Mod_Ajz,
|
||||||
|
LastTreeIcon
|
||||||
|
};
|
||||||
|
|
||||||
|
extern char tree_icons_5x7[LastTreeIcon][8];
|
||||||
|
|
||||||
|
#endif
|
||||||
Loading…
Add table
Add a link
Reference in a new issue