Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Public Attributes | List of all members
Burger::MouseButtonEvent_t Struct Reference

Structure for mouse button events. More...

Inheritance diagram for Burger::MouseButtonEvent_t:
Inheritance graph
[legend]
Collaboration diagram for Burger::MouseButtonEvent_t:
Collaboration graph
[legend]

Public Attributes

uint32_t m_uX
 Absolute X position on the screen.
 
uint32_t m_uY
 Absolute Y position on the screen.
 
uint32_t m_uButtons
 Mouse buttons.
 
- Public Attributes inherited from Burger::EventHeader_t
eEvent m_uEvent
 Event type.
 
uint_t m_uWhich
 Which device generated the event.
 
uint32_t m_uMSTimeStamp
 Time when the event occurred.
 

Detailed Description

Structure for mouse button events.


m_uEvent must be set to EVENT_MOUSEDOWN or EVENT_MOUSEUP.

When posting a EVENT_MOUSEDOWN or EVENT_MOUSEUP event, only the m_uButtons value needs to be set since m_uX and m_uY will be filled in by the Mouse::PostMouseEvent() function.

When receiving this event, all entries are valid.

See also
EventHeader_t, MouseMotionEvent_t, MousePositionEvent_t or MouseWheelEvent_t

Member Data Documentation

◆ m_uButtons

uint32_t Burger::MouseButtonEvent_t::m_uButtons

Mouse buttons.

◆ m_uX

uint32_t Burger::MouseButtonEvent_t::m_uX

Absolute X position on the screen.

◆ m_uY

uint32_t Burger::MouseButtonEvent_t::m_uY

Absolute Y position on the screen.