forked from len0rd/rockbox
Remove unnecessary (and incorrect) #ifdefs surrounding #include "backdrop.h", and correct remaining references to HAVE_LCD_REMOTE to HAVE_REMOTE_LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16873 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2e45ca37ce
commit
d746b79317
13 changed files with 4 additions and 40 deletions
|
|
@ -70,7 +70,7 @@ gui/wps_debug.c
|
||||||
gui/wps_parser.c
|
gui/wps_parser.c
|
||||||
gui/viewport.c
|
gui/viewport.c
|
||||||
|
|
||||||
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
|
#if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1))
|
||||||
gui/backdrop.c
|
gui/backdrop.c
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,10 +51,7 @@
|
||||||
#include "yesno.h"
|
#include "yesno.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
|
|
||||||
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
|
|
||||||
#include "backdrop.h"
|
#include "backdrop.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#define MAX_BOOKMARKS 10
|
#define MAX_BOOKMARKS 10
|
||||||
#define MAX_BOOKMARK_SIZE 350
|
#define MAX_BOOKMARK_SIZE 350
|
||||||
|
|
|
||||||
|
|
@ -49,9 +49,7 @@
|
||||||
#include "radio.h"
|
#include "radio.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
|
|
||||||
#include "backdrop.h"
|
#include "backdrop.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
int ft_build_playlist(struct tree_context* c, int start_index)
|
int ft_build_playlist(struct tree_context* c, int start_index)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -57,10 +57,7 @@
|
||||||
#if CONFIG_CODEC == SWCODEC
|
#if CONFIG_CODEC == SWCODEC
|
||||||
#include "playback.h"
|
#include "playback.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
|
|
||||||
#include "backdrop.h"
|
#include "backdrop.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#define FF_REWIND_MAX_PERCENT 3 /* cap ff/rewind step size at max % of file */
|
#define FF_REWIND_MAX_PERCENT 3 /* cap ff/rewind step size at max % of file */
|
||||||
/* 3% of 30min file == 54s step size */
|
/* 3% of 30min file == 54s step size */
|
||||||
|
|
|
||||||
|
|
@ -56,10 +56,7 @@
|
||||||
#include "cuesheet.h"
|
#include "cuesheet.h"
|
||||||
#include "ata_idle_notify.h"
|
#include "ata_idle_notify.h"
|
||||||
#include "root_menu.h"
|
#include "root_menu.h"
|
||||||
|
|
||||||
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
|
|
||||||
#include "backdrop.h"
|
#include "backdrop.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
/* currently only on wps_state is needed */
|
/* currently only on wps_state is needed */
|
||||||
struct wps_state wps_state;
|
struct wps_state wps_state;
|
||||||
|
|
|
||||||
|
|
@ -47,9 +47,7 @@
|
||||||
#include "bmp.h"
|
#include "bmp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
|
|
||||||
#include "backdrop.h"
|
#include "backdrop.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
@ -329,7 +327,7 @@ static const struct wps_tag all_tags[] = {
|
||||||
|
|
||||||
{ WPS_NO_TOKEN, "V", 0, parse_viewport },
|
{ WPS_NO_TOKEN, "V", 0, parse_viewport },
|
||||||
|
|
||||||
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
|
#if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1))
|
||||||
{ WPS_TOKEN_IMAGE_BACKDROP, "X", 0, parse_image_special },
|
{ WPS_TOKEN_IMAGE_BACKDROP, "X", 0, parse_image_special },
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -1425,7 +1423,7 @@ static bool load_wps_bitmaps(struct wps_data *wps_data, char *bmpdir)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
|
#if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1))
|
||||||
if (bmp_names[BACKDROP_BMP])
|
if (bmp_names[BACKDROP_BMP])
|
||||||
{
|
{
|
||||||
get_image_filename(bmp_names[BACKDROP_BMP], bmpdir,
|
get_image_filename(bmp_names[BACKDROP_BMP], bmpdir,
|
||||||
|
|
|
||||||
|
|
@ -34,11 +34,7 @@
|
||||||
#include "color_picker.h"
|
#include "color_picker.h"
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "lcd-remote.h"
|
#include "lcd-remote.h"
|
||||||
|
|
||||||
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
|
|
||||||
#include "backdrop.h"
|
#include "backdrop.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_BACKLIGHT
|
#ifdef HAVE_BACKLIGHT
|
||||||
int filterfirstkeypress_callback(int action,const struct menu_item_ex *this_item)
|
int filterfirstkeypress_callback(int action,const struct menu_item_ex *this_item)
|
||||||
|
|
|
||||||
|
|
@ -34,10 +34,7 @@
|
||||||
#include "color_picker.h"
|
#include "color_picker.h"
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "lcd-remote.h"
|
#include "lcd-remote.h"
|
||||||
|
|
||||||
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
|
|
||||||
#include "backdrop.h"
|
#include "backdrop.h"
|
||||||
#endif
|
|
||||||
#include "exported_menus.h"
|
#include "exported_menus.h"
|
||||||
|
|
||||||
#if LCD_DEPTH > 1
|
#if LCD_DEPTH > 1
|
||||||
|
|
|
||||||
|
|
@ -64,10 +64,7 @@
|
||||||
#include "tagtree.h"
|
#include "tagtree.h"
|
||||||
#endif
|
#endif
|
||||||
#include "cuesheet.h"
|
#include "cuesheet.h"
|
||||||
|
|
||||||
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
|
|
||||||
#include "backdrop.h"
|
#include "backdrop.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
static int context;
|
static int context;
|
||||||
static char* selected_file = NULL;
|
static char* selected_file = NULL;
|
||||||
|
|
|
||||||
|
|
@ -35,11 +35,7 @@
|
||||||
#include "talk.h"
|
#include "talk.h"
|
||||||
#include "audio.h"
|
#include "audio.h"
|
||||||
#include "hotswap.h"
|
#include "hotswap.h"
|
||||||
|
|
||||||
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
|
|
||||||
#include "backdrop.h"
|
#include "backdrop.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/* gui api */
|
/* gui api */
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,7 @@
|
||||||
#include "pcmbuf.h"
|
#include "pcmbuf.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "yesno.h"
|
#include "yesno.h"
|
||||||
|
#include "backdrop.h"
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
#include <bitmaps/usblogo.h>
|
#include <bitmaps/usblogo.h>
|
||||||
|
|
@ -72,10 +73,6 @@
|
||||||
#include "dsp.h"
|
#include "dsp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
|
|
||||||
#include "backdrop.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
#define SCROLLBAR_WIDTH 6
|
#define SCROLLBAR_WIDTH 6
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -63,10 +63,7 @@
|
||||||
#include "settings_list.h"
|
#include "settings_list.h"
|
||||||
#include "filetypes.h"
|
#include "filetypes.h"
|
||||||
#include "option_select.h"
|
#include "option_select.h"
|
||||||
|
|
||||||
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
|
|
||||||
#include "backdrop.h"
|
#include "backdrop.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#if CONFIG_TUNER
|
#if CONFIG_TUNER
|
||||||
#include "radio.h"
|
#include "radio.h"
|
||||||
|
|
|
||||||
|
|
@ -79,10 +79,7 @@
|
||||||
#include "action.h"
|
#include "action.h"
|
||||||
|
|
||||||
#include "root_menu.h"
|
#include "root_menu.h"
|
||||||
|
|
||||||
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
|
|
||||||
#include "backdrop.h"
|
#include "backdrop.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
static const struct filetype *filetypes;
|
static const struct filetype *filetypes;
|
||||||
static int filetypes_count;
|
static int filetypes_count;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue