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 /apps | |
parent | ece0b227a4d5dbb3d6d71aca647d9f4236136392 (diff) | |
download | rockbox-0a51d3915cba09a95ee13185a1a2c9e15fd63545.tar.gz rockbox-0a51d3915cba09a95ee13185a1a2c9e15fd63545.zip |
Remove redundant definitions of SCROLLBAR_WIDTH
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22114 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-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 4ab493d169..a0f3d7706e 100644 --- a/apps/gui/bitmap/list.c +++ b/apps/gui/bitmap/list.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include "talk.h" | 41 | #include "talk.h" |
42 | #include "viewport.h" | 42 | #include "viewport.h" |
43 | 43 | ||
44 | #define SCROLLBAR_WIDTH 6 | ||
45 | #define ICON_PADDING 1 | 44 | #define ICON_PADDING 1 |
46 | 45 | ||
47 | /* these are static to make scrolling work */ | 46 | /* 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 @@ | |||
26 | #include "icon.h" | 26 | #include "icon.h" |
27 | #include "screen_access.h" | 27 | #include "screen_access.h" |
28 | 28 | ||
29 | #define SCROLLBAR_WIDTH 6 | 29 | #define SCROLLBAR_WIDTH 6 |
30 | 30 | ||
31 | enum list_wrap { | 31 | enum list_wrap { |
32 | LIST_WRAP_ON = 0, | 32 | 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 @@ | |||
79 | #include "dsp.h" | 79 | #include "dsp.h" |
80 | #endif | 80 | #endif |
81 | 81 | ||
82 | #ifdef HAVE_LCD_BITMAP | ||
83 | #define SCROLLBAR_WIDTH 6 | ||
84 | #endif | ||
85 | |||
86 | /* only used in set_time screen */ | 82 | /* only used in set_time screen */ |
87 | #if defined(HAVE_LCD_BITMAP) && (CONFIG_RTC != 0) | 83 | #if defined(HAVE_LCD_BITMAP) && (CONFIG_RTC != 0) |
88 | static int clamp_value_wrap(int value, int max, int min) | 84 | static int clamp_value_wrap(int value, int max, int min) |