libdonut  2.3.2
Application framework for cross-platform game development in C++20
List of all members
donut::events::MouseButtonPressedEvent Struct Reference

Mouse button was pressed. More...

#include <donut/events/Event.hpp>

Inheritance diagram for donut::events::MouseButtonPressedEvent:
donut::events::MouseButtonEventBase donut::events::MouseEventBase donut::events::InputEventBase donut::events::EventBase

Additional Inherited Members

- Public Attributes inherited from donut::events::MouseButtonEventBase
Input physicalMouseButtonInput
 Physical button input identifier. More...
 
std::uint8_t clickCount
 Number of consecutive clicks within a short time interval. More...
 
- Public Attributes inherited from donut::events::MouseEventBase
std::uint32_t mouseId
 Unique identifier of the mouse instance. More...
 
ivec2 mousePosition
 Current mouse position relative to the window. More...
 
ivec2 relativeMouseMotion
 Position offset relative to the previous position. More...
 
- Public Attributes inherited from donut::events::InputEventBase
std::uint32_t windowId
 Unique identifier of the window that this event belongs to, if any. More...
 

Detailed Description

Mouse button was pressed.


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