summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-04-25 21:51:40 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-04-25 21:51:40 +0000
commit00e37846b2534619b14e382284b6c5dbf5357555 (patch)
tree286484a5e569e7f09aa5330178de272e45e4fa37 /amiga
parentb8dde8e473fb39decc931fe4ff9ee8ad552b8f26 (diff)
downloadnetsurf-00e37846b2534619b14e382284b6c5dbf5357555.tar.gz
netsurf-00e37846b2534619b14e382284b6c5dbf5357555.tar.bz2
Speed up scrollwheel scrolling due to complaints :)
Restrict screen mode requester to 24 and 32-bit modes only, as the alpha blitting doesn't work in 16-bit modes (may not work in 24-bit either, but I'm not sure and Classic OS4 users are likely to have 24-bit cards so don't really want to restrict it further) svn path=/trunk/netsurf/; revision=7316
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/gui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 64aa06162..8e0c91b5f 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -471,7 +471,7 @@ void gui_init2(int argc, char** argv)
if(screenmodereq = AllocAslRequest(ASL_ScreenModeRequest,NULL))
{
AslRequestTags(screenmodereq,
- ASLSM_MinDepth,16,
+ ASLSM_MinDepth,24,
ASLSM_MaxDepth,32,
TAG_DONE);
@@ -2818,8 +2818,8 @@ void ami_scroller_hook(struct Hook *hook,Object *object,struct IntuiMessage *msg
wheel = (struct IntuiWheelData *)msg->IAddress;
gui_window_set_scroll(gwin->bw->window,
- gwin->bw->window->scrollx + (wheel->WheelX * 10),
- gwin->bw->window->scrolly + (wheel->WheelY * 10));
+ gwin->bw->window->scrollx + (wheel->WheelX * 20),
+ gwin->bw->window->scrolly + (wheel->WheelY * 20));
}
break;
}