[ scummvm-Patches-620627 ] NewGUI: mouse wheel support

noreply at sourceforge.net noreply at sourceforge.net
Wed Oct 9 08:43:18 CEST 2002


Patches item #620627, was opened at 2002-10-09 08:43
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=620627&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: NewGUI: mouse wheel support

Initial Comment:
This is an attempt to add mouse wheel support to the
NewGUI list and scrollbar widgets. (I haven't looked
much at the NewGUI code before. I hope I didn't mess it
up too badly. :-)

Of course, this means the backend has to be updated
slightly so that it will generate EVENT_WHEELUP and
EVENT_WHEELDOWN events. I only know enough to do this
for the SDL backend, and only for SDL 1.2.5 and later
since it uses the SDL_BUTTON_WHEELUP and
SDL_BUTTON_WHEELDOWN constants.

It's probably easy to support earlier SDL versions, but
I didn't see much point in doing so.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=620627&group_id=37116




More information about the Scummvm-tracker mailing list