nomlib
Loading...
Searching...
No Matches
nom::MouseWheelEvent Struct Reference

A structure containing information on a mouse wheel event. More...

#include <Event.hpp>

Public Attributes

uint32 id
 The mouse instance identifier, or SDL_TOUCH_MOUSEID.
int32 x
 X axis value; relative to the direction of the wheel.
int32 y
 Y axis value, relative to the direction of the wheel.
uint32 window_id
 The identifier of the window at the moment of event.

Detailed Description

A structure containing information on a mouse wheel event.

Definition at line 212 of file Event.hpp.

Member Data Documentation

◆ id

uint32 nom::MouseWheelEvent::id

The mouse instance identifier, or SDL_TOUCH_MOUSEID.

Remarks
'id' may be SDL_TOUCH_MOUSEID, for events that were generated by a touch input device, and not a real mouse. (You may want to ignore such events, if your application already handles SDL_TouchFingerEvent).

Definition at line 219 of file Event.hpp.

◆ window_id

uint32 nom::MouseWheelEvent::window_id

The identifier of the window at the moment of event.

Definition at line 228 of file Event.hpp.

◆ x

int32 nom::MouseWheelEvent::x

X axis value; relative to the direction of the wheel.

Definition at line 222 of file Event.hpp.

◆ y

int32 nom::MouseWheelEvent::y

Y axis value, relative to the direction of the wheel.

Definition at line 225 of file Event.hpp.


The documentation for this struct was generated from the following file: