From 0a51d3915cba09a95ee13185a1a2c9e15fd63545 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sun, 2 Aug 2009 15:44:40 +0000 Subject: Remove redundant definitions of SCROLLBAR_WIDTH git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22114 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/bitmap/list.c | 1 - apps/gui/list.h | 2 +- apps/screens.c | 4 ---- 3 files changed, 1 insertion(+), 6 deletions(-) (limited to 'apps') diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index 4ab493d169..a0f3d7706e 100644 --- a/apps/gui/bitmap/list.c +++ b/apps/gui/bitmap/list.c @@ -41,7 +41,6 @@ #include "talk.h" #include "viewport.h" -#define SCROLLBAR_WIDTH 6 #define ICON_PADDING 1 /* these are static to make scrolling work */ diff --git a/apps/gui/list.h b/apps/gui/list.h index 040002222c..6b9f557d38 100644 --- a/apps/gui/list.h +++ b/apps/gui/list.h @@ -26,7 +26,7 @@ #include "icon.h" #include "screen_access.h" -#define SCROLLBAR_WIDTH 6 +#define SCROLLBAR_WIDTH 6 enum list_wrap { LIST_WRAP_ON = 0, diff --git a/apps/screens.c b/apps/screens.c index a19614dcd9..9a986716f3 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -79,10 +79,6 @@ #include "dsp.h" #endif -#ifdef HAVE_LCD_BITMAP -#define SCROLLBAR_WIDTH 6 -#endif - /* only used in set_time screen */ #if defined(HAVE_LCD_BITMAP) && (CONFIG_RTC != 0) static int clamp_value_wrap(int value, int max, int min) -- cgit v1.2.3