ASGE  3.2.0
Simple Game Framework in GL
ASGE::ScrollEvent Struct Reference

#include <InputEvents.hpp>

Inheritance diagram for ASGE::ScrollEvent:
[legend]
Collaboration diagram for ASGE::ScrollEvent:
[legend]

Public Attributes

double xoffset = 0
 
double yoffset = 0
 

Detailed Description

a mouse scrolling event

A scroll event provides any related information that can be used to drive a game or it's interface.

See also
EventData

Definition at line 92 of file InputEvents.hpp.

Member Data Documentation

◆ xoffset

double ASGE::ScrollEvent::xoffset = 0

Delta X. The amount of change incurred by the scrolling action.

Definition at line 94 of file InputEvents.hpp.

◆ yoffset

double ASGE::ScrollEvent::yoffset = 0

Delta Y. The amount of change incurred by the scrolling action.

Definition at line 95 of file InputEvents.hpp.


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