Colobot
Public Member Functions | Public Attributes | List of all members
MouseWheelEventData Struct Reference

Additional data for mouse wheel event. More...

#include <event.h>

Inheritance diagram for MouseWheelEventData:
Inheritance graph
[legend]

Public Member Functions

std::unique_ptr< EventDataClone () const override
 

Public Attributes

signed int y = 0
 Amount scrolled vertically, positive value is away from the user. More...
 
signed int x = 0
 Amount scrolled horizontally (if the mouse supports it), positive value is to the right. More...
 

Detailed Description

Additional data for mouse wheel event.

Member Data Documentation

signed int MouseWheelEventData::y = 0

Amount scrolled vertically, positive value is away from the user.

signed int MouseWheelEventData::x = 0

Amount scrolled horizontally (if the mouse supports it), positive value is to the right.


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