SFML community forums
Help => Window => Topic started by: Groogy on April 06, 2009, 01:15:02 am
-
I'm just wondering how you use MouseWheelEvent? It's the event to use when the event type is MouseWheelMoved right?
Is it that negative is scrolling downwards and positive is upwards? Is it relative? So the more scroll the higher/lower number?
-
I'm just wondering how you use MouseWheelEvent? It's the event to use when the event type is MouseWheelMoved right?
Right.
Is it that negative is scrolling downwards and positive is upwards?
I never remember :lol:
You'd better test it ;)
Is it relative?
Yes, everytime you scroll you'll get a value starting at zero (so unless you scroll very fast, you'll probably only get 1 and -1).
-
Aight I was right. I tested it and negative is down and positive is up.
-
Something for Doxygen, maybe? :)