From 00e37846b2534619b14e382284b6c5dbf5357555 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 25 Apr 2009 21:51:40 +0000 Subject: 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 --- amiga/gui.c | 6 +++--- 1 file 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; } -- cgit v1.2.3