diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-04-03 04:41:42 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-04-03 04:41:42 +0000 |
commit | 34196edb60e0c0b12572590e399f74c959b294d7 (patch) | |
tree | 7840d0ba9b195f43df219d712cbea9ba6e31e845 /apps/gui/bitmap | |
parent | aae436d3b1e05140098e9c2ec13baa01b30e00bc (diff) | |
download | rockbox-34196edb60e0c0b12572590e399f74c959b294d7.tar.gz rockbox-34196edb60e0c0b12572590e399f74c959b294d7.zip |
fix FS#8841 - scrolling doesnt work when using cursor seelction icon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16941 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/bitmap')
-rw-r--r-- | apps/gui/bitmap/list.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index 4bffca84bc..13329e22f9 100644 --- a/apps/gui/bitmap/list.c +++ b/apps/gui/bitmap/list.c | |||
@@ -201,12 +201,16 @@ void list_draw(struct screen *display, struct viewport *parent, | |||
201 | } | 201 | } |
202 | } | 202 | } |
203 | #endif | 203 | #endif |
204 | 204 | if(i >= list->selected_item && | |
205 | if(list->show_selection_marker && global_settings.cursor_style && | ||
206 | i >= list->selected_item && | ||
207 | i < list->selected_item + list->selected_size) | 205 | i < list->selected_item + list->selected_size) |
208 | {/* The selected item must be displayed scrolling */ | 206 | {/* The selected item must be displayed scrolling */ |
209 | if (global_settings.cursor_style == 1 || display->depth < 16) | 207 | if (global_settings.cursor_style == 1 |
208 | #ifdef HAVE_REMOTE_LCD | ||
209 | /* the global_settings.cursor_style check is here to make sure | ||
210 | if they want the cursor instead of bar it will work */ | ||
211 | || (display->depth < 16 && global_settings.cursor_style) | ||
212 | #endif | ||
213 | ) | ||
210 | { | 214 | { |
211 | /* Display inverted-line-style */ | 215 | /* Display inverted-line-style */ |
212 | list_text[display->screen_type].drawmode |= STYLE_INVERT; | 216 | list_text[display->screen_type].drawmode |= STYLE_INVERT; |