Platform-agnostic window event data. More...
#include <iwindow.h>
Public Attributes | |
| WindowEventType | type = WindowEventType::None |
| int | window_width = 0 |
| int | window_height = 0 |
| int | key_code = 0 |
| int | scan_code = 0 |
| bool | key_shift = false |
| bool | key_ctrl = false |
| bool | key_alt = false |
| bool | key_super = false |
| float | mouse_x = 0.0f |
| float | mouse_y = 0.0f |
| int | mouse_button = 0 |
| float | wheel_x = 0.0f |
| float | wheel_y = 0.0f |
| std::string | dropped_file |
| bool | has_native_event = false |
| SDL_Event | native_event {} |
| WindowEventType yaze::platform::WindowEvent::type = WindowEventType::None |
Definition at line 64 of file iwindow.h.
Referenced by yaze::platform::SDL2WindowBackend::ConvertSDL2Event(), main(), and yaze::Controller::OnInput().
| std::string yaze::platform::WindowEvent::dropped_file |
| bool yaze::platform::WindowEvent::has_native_event = false |
Definition at line 89 of file iwindow.h.
Referenced by yaze::Controller::OnInput(), and yaze::platform::SDL2WindowBackend::PollEvent().
| SDL_Event yaze::platform::WindowEvent::native_event {} |
Definition at line 90 of file iwindow.h.
Referenced by yaze::Controller::OnInput(), and yaze::platform::SDL2WindowBackend::PollEvent().