diff --git a/apps/Makefile b/apps/Makefile index 07b093eb40..a501bb2747 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -42,6 +42,8 @@ ifeq ($(TARGET),-DARCHOS_RECORDER) CFLAGS += -Irecorder OUTNAME = ajbrec.ajz else + SRC += $(wildcard player/*.c) + CFLAGS += -Iplayer OUTNAME = archos.mod endif @@ -77,7 +79,12 @@ clean: -$(RM) -r $(OBJDIR)/$(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)) 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 @@ +/*************************************************************************** + * __________ __ ___. + * 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 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 @@ +/*************************************************************************** + * __________ __ ___. + * 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 + +/* + * 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