![]() |
CYD-UI
A C++ library for building native graphic user interfaces
|
! More...
#include <cyd_fabric_modules/headers/macros/async_events.h>
#include <tracy/Tracy.hpp>
#include <SDL3/SDL.h>
import cydui.events;
import fabric.async;
import fabric.logging;
import reflect;
import std;
Go to the source code of this file.
Namespaces | |
namespace | cydui |
namespace | cydui::window_events |
Macros | |
#define | SDL_MAIN_HANDLED |
Typedefs | |
using | cydui::window_events::window_map = std::map<std::size_t, fabric::async::async_bus_t*> |
Functions | |
cydui::EVENT (StopApplicationEvent) | |
void | cydui::window_events::dispatch_window_event (window_map *busses, const SDL_WindowEvent &event) |
void | cydui::window_events::dispatch_display_event (window_map *busses, const SDL_DisplayEvent &event) |
void | cydui::window_events::dispatch_event (fabric::async::async_bus_t *app_bus, window_map *busses, const SDL_Event &event) |
void | cydui::window_events::task (fabric::async::async_bus_t *app_bus, window_map *busses) |
void | cydui::window_events::poll_events (fabric::async::async_bus_t *app_bus, window_map *busses) |
Variables | ||
std::unique_ptr< std::thread > | cydui::window_events::thread_ptr {nullptr} | |
std::atomic_flag | cydui::window_events::running {} | |
struct { | ||
std::unordered_map< std::size_t, std::pair< float, float > > cydui::window_events::accs {} | ||
} | cydui::window_events::motion_accumulator | |
struct { | ||
std::unordered_map< std::size_t, std::pair< float, float > > cydui::window_events::accs {} | ||
} | cydui::window_events::resize_accumulator | |
struct { | ||
std::unordered_set< std::size_t > cydui::window_events::accs {} | ||
} | cydui::window_events::redraw_accumulator | |
#define SDL_MAIN_HANDLED |
Definition at line 8 of file window_events.cppm.