mirror of
https://github.com/aap/librw.git
synced 2026-04-19 21:13:13 +01:00
little cleanup and mousewheel support for skeleton
This commit is contained in:
@@ -72,6 +72,7 @@ enum Event
|
||||
CHARINPUT,
|
||||
MOUSEMOVE,
|
||||
MOUSEBTN,
|
||||
MOUSEWHEEL,
|
||||
RESIZE,
|
||||
IDLE,
|
||||
QUIT
|
||||
@@ -91,6 +92,7 @@ struct MouseState
|
||||
{
|
||||
int posx, posy;
|
||||
int buttons; // bits 0-2 are left, middle, right button down
|
||||
float wheelDelta;
|
||||
};
|
||||
|
||||
struct Args
|
||||
|
||||
Reference in New Issue
Block a user