diff options
| author | Nils Wallménius <nils@rockbox.org> | 2009-08-02 15:44:40 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2009-08-02 15:44:40 +0000 |
| commit | 0a51d3915cba09a95ee13185a1a2c9e15fd63545 (patch) | |
| tree | 489f42e3424b41023af20f20d42f7ce117945352 | |
| parent | ece0b227a4d5dbb3d6d71aca647d9f4236136392 (diff) | |
| download | rockbox-0a51d3915cba09a95ee13185a1a2c9e15fd63545.zip rockbox-0a51d3915cba09a95ee13185a1a2c9e15fd63545.tar.gz rockbox-0a51d3915cba09a95ee13185a1a2c9e15fd63545.tar.bz2 rockbox-0a51d3915cba09a95ee13185a1a2c9e15fd63545.tar.xz | |
Remove redundant definitions of SCROLLBAR_WIDTH
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22114 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/gui/bitmap/list.c | 1 | ||||
| -rw-r--r-- | apps/gui/list.h | 2 | ||||
| -rw-r--r-- | apps/screens.c | 4 |
3 files changed, 1 insertions, 6 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index 4ab493d..a0f3d77 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 0400022..6b9f557 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 a19614d..9a98671 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) |