![]() |
Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
|
Provides data for widget keyboard input events routed by WidgetInputRouter. More...
Public Member Functions | |
| WidgetKeyboardEventArgs (WidgetBase widget, int key, KeyAction keyAction, KeyboardModifierState modifiers, long tick=0) | |
| Initializes a new instance of the WidgetKeyboardEventArgs class. | |
Properties | |
| int | Key [get] |
| Gets the integer key identifier. | |
| KeyAction | KeyAction [get] |
| Gets the action associated with this key event. | |
| KeyboardModifierState | Modifiers [get] |
| Gets the keyboard modifier state at the time of the event. | |
| Properties inherited from Gondwana.Widgets.WidgetEventArgs | |
| WidgetBase | Widget [get] |
| Gets the widget that raised the callback. | |
| long | Tick [get] |
| Gets the engine or timer tick associated with the callback. | |
| bool | Handled [get, set] |
| Gets or sets whether this widget interaction was handled. | |
Additional Inherited Members | |
| Protected Member Functions inherited from Gondwana.Widgets.WidgetEventArgs | |
| WidgetEventArgs (WidgetBase widget, long tick) | |
| Initializes a new instance of the WidgetEventArgs class. | |
Provides data for widget keyboard input events routed by WidgetInputRouter.
Definition at line 8 of file WidgetKeyboardEventArgs.cs.
| Gondwana.Widgets.WidgetKeyboardEventArgs.WidgetKeyboardEventArgs | ( | WidgetBase | widget, |
| int | key, | ||
| KeyAction | keyAction, | ||
| KeyboardModifierState | modifiers, | ||
| long | tick = 0 ) |
Initializes a new instance of the WidgetKeyboardEventArgs class.
| widget | The widget that raised the event. |
| key | The integer key identifier (as routed from the underlying keyboard adapter). |
| keyAction | The key action (pressed, released, repeated). |
| modifiers | The keyboard modifier state at the time of the event. |
| tick | The engine tick at which the event was emitted. |
Definition at line 18 of file WidgetKeyboardEventArgs.cs.
|
get |
Gets the integer key identifier.
Definition at line 33 of file WidgetKeyboardEventArgs.cs.
|
get |
Gets the action associated with this key event.
Definition at line 38 of file WidgetKeyboardEventArgs.cs.
|
get |
Gets the keyboard modifier state at the time of the event.
Definition at line 43 of file WidgetKeyboardEventArgs.cs.