Change some ifdefs for the recent backdrop changes (fixes the yellow builds) and move the backdrop files.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13265 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nicolas Pennequin 2007-04-25 22:08:00 +00:00
parent 9db669e1af
commit 1cf2ec38b1
14 changed files with 34 additions and 24 deletions

View File

@ -62,6 +62,10 @@ gui/yesno.c
gui/wps_debug.c
gui/wps_parser.c
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
gui/backdrop.c
#endif
#ifdef HAVE_LCD_CHARCELLS
player/icons.c
player/keyboard.c
@ -71,9 +75,6 @@ recorder/bmp.c
recorder/icons.c
recorder/keyboard.c
recorder/peakmeter.c
#if LCD_DEPTH > 1
recorder/backdrop.c
#endif
#ifdef HAVE_LCD_COLOR
gui/color_picker.c
#endif

View File

@ -51,7 +51,7 @@
#include "splash.h"
#include "yesno.h"
#if LCD_DEPTH > 1
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
#include "backdrop.h"
#endif

View File

@ -50,7 +50,7 @@
#include "radio.h"
#endif
#if LCD_DEPTH > 1
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
#include "backdrop.h"
#endif

View File

@ -49,13 +49,14 @@
#include "bmp.h"
#include "atoi.h"
#endif
#if LCD_DEPTH > 1
#include "backdrop.h"
#endif
#include "dsp.h"
#include "action.h"
#include "cuesheet.h"
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
#include "backdrop.h"
#endif
#define FF_REWIND_MAX_PERCENT 3 /* cap ff/rewind step size at max % of file */
/* 3% of 30min file == 54s step size */
#define MIN_FF_REWIND_STEP 500

View File

@ -55,12 +55,13 @@
#include "playback.h"
#include "splash.h"
#include "cuesheet.h"
#if LCD_DEPTH > 1
#include "backdrop.h"
#endif
#include "ata_idle_notify.h"
#include "root_menu.h"
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
#include "backdrop.h"
#endif
/* currently only on wps_state is needed */
struct wps_state wps_state;
struct gui_wps gui_wps[NB_SCREENS];

View File

@ -30,9 +30,10 @@
#ifdef HAVE_LCD_BITMAP
#include "bmp.h"
#if LCD_DEPTH > 1
#include "backdrop.h"
#endif
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
#include "backdrop.h"
#endif
#define WPS_DEFAULTCFG WPS_DIR "/rockbox_default.wps"

View File

@ -29,7 +29,6 @@
#include "tree.h"
#include "list.h"
#ifdef HAVE_LCD_BITMAP
#include "backdrop.h"
#include "peakmeter.h"
#endif
#include "talk.h"
@ -37,6 +36,10 @@
#include "lcd.h"
#include "lcd-remote.h"
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
#include "backdrop.h"
#endif
#ifdef HAVE_BACKLIGHT
int filterfirstkeypress_callback(int action,const struct menu_item_ex *this_item)

View File

@ -50,9 +50,6 @@
#include "action.h"
#include "splash.h"
#include "yesno.h"
#if LCD_DEPTH > 1
#include "backdrop.h"
#endif
#ifdef HAVE_LCD_BITMAP
#include "icons.h"
#endif
@ -67,6 +64,10 @@
#include "tagtree.h"
#endif
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
#include "backdrop.h"
#endif
static int context;
static char* selected_file = NULL;
static int selected_file_attr = 0;

View File

@ -32,13 +32,14 @@
#include "rolo.h"
#include "powermgmt.h"
#include "power.h"
#if LCD_DEPTH > 1
#include "backdrop.h"
#endif
#include "talk.h"
#include "audio.h"
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
#include "backdrop.h"
#endif
/* gui api */
#include "list.h"
#include "statusbar.h"

View File

@ -72,7 +72,7 @@
#include "dsp.h"
#endif
#ifdef HAVE_LCD_COLOR
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
#include "backdrop.h"
#endif

View File

@ -61,7 +61,8 @@
#include "splash.h"
#include "list.h"
#include "settings_list.h"
#if LCD_DEPTH > 1
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
#include "backdrop.h"
#endif

View File

@ -81,7 +81,7 @@
#include "root_menu.h"
#if LCD_DEPTH > 1
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
#include "backdrop.h"
#endif