Dusk Audio Framework
Loading...
Searching...
No Matches
Widget::BaseEvent Struct Reference

#include <Widget.hpp>

Inheritance diagram for Widget::BaseEvent:
Widget::CharacterInputEvent Widget::KeyboardEvent Widget::MotionEvent Widget::MouseEvent Widget::ScrollEvent

Public Member Functions

 BaseEvent () noexcept
virtual ~BaseEvent () noexcept

Public Attributes

uint mod
uint flags
uint time

Detailed Description

Base event data. These are the fields present on all Widget events.

Constructor & Destructor Documentation

◆ BaseEvent()

Widget::BaseEvent::BaseEvent ( )
inlinenoexcept

Constructor for default/null values

◆ ~BaseEvent()

virtual Widget::BaseEvent::~BaseEvent ( )
inlinevirtualnoexcept

Destructor

Member Data Documentation

◆ mod

uint Widget::BaseEvent::mod

Currently active keyboard modifiers.

See also
Modifier

◆ flags

uint Widget::BaseEvent::flags

Event flags.

See also
EventFlag

◆ time

uint Widget::BaseEvent::time

Event timestamp in milliseconds (if any).


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