s/HAVE_LCD_REMOTE/HAVE_REMOTE_LCD/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27539 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4eda82ba58
commit
d3fd3a372b
2 changed files with 5 additions and 5 deletions
|
@ -1661,7 +1661,7 @@ static void display_time(void)
|
|||
static inline void set_to_default(struct screen *display)
|
||||
{
|
||||
#if (LCD_DEPTH > 1)
|
||||
#ifdef HAVE_LCD_REMOTE
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
if (display->screen_type != SCREEN_REMOTE)
|
||||
#endif
|
||||
display->set_foreground(prefs.active_color);
|
||||
|
@ -1671,7 +1671,7 @@ static inline void set_to_default(struct screen *display)
|
|||
static inline void set_to_active(struct screen *display)
|
||||
{
|
||||
#if (LCD_DEPTH > 1)
|
||||
#ifdef HAVE_LCD_REMOTE
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
if (display->screen_type == SCREEN_REMOTE)
|
||||
display->set_drawmode(DRMODE_INVERSEVID);
|
||||
else
|
||||
|
@ -1687,7 +1687,7 @@ static inline void set_to_active(struct screen *display)
|
|||
static inline void set_to_inactive(struct screen *display)
|
||||
{
|
||||
#if (LCD_DEPTH > 1)
|
||||
#ifdef HAVE_LCD_REMOTE
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
if (display->screen_type != SCREEN_REMOTE)
|
||||
#endif
|
||||
display->set_foreground(prefs.inactive_color);
|
||||
|
@ -1796,7 +1796,7 @@ static int display_lrc_line(struct lrc_line *lrc_line, int ypos, int i)
|
|||
display->fillrect(xpos+elapsed, ypos,
|
||||
w-elapsed, font_ui_height);
|
||||
#if (LCD_DEPTH > 1)
|
||||
#ifdef HAVE_LCD_REMOTE
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
if (display->screen_type == SCREEN_REMOTE)
|
||||
display->set_drawmode(DRMODE_INVERSEVID);
|
||||
else
|
||||
|
|
|
@ -133,7 +133,7 @@ extern const unsigned short vi_pattern[4];
|
|||
#endif
|
||||
|
||||
/* Number of data elements in a remote native bitmap width pixels wide */
|
||||
#ifdef HAVE_LCD_REMOTE
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
#if LCD_REMOTE_DEPTH == 2 && LCD_REMOTE_PIXELFORMAT == HORIZONTAL_PACKING
|
||||
#define LCD_REMOTE_BM_WIDTH(width) (((width) + 3) >> 2)
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue