![]() |
CYD-UI
A C++ library for building native graphic user interfaces
|
Typedefs | |
| using | window_map = std::map<std::size_t, fabric::async::async_bus_t*> |
Functions | |
| void | dispatch_window_event (window_map *busses, const SDL_WindowEvent &event) |
| void | dispatch_display_event (window_map *busses, const SDL_DisplayEvent &event) |
| void | dispatch_event (fabric::async::async_bus_t *app_bus, window_map *busses, const SDL_Event &event) |
| void | 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 > | thread_ptr {nullptr} | |
| std::atomic_flag | running {} | |
| struct { | ||
| std::unordered_map< std::size_t, std::pair< float, float > > cydui::window_events::accs {} | ||
| } | motion_accumulator | |
| struct { | ||
| std::unordered_map< std::size_t, std::pair< float, float > > cydui::window_events::accs {} | ||
| } | resize_accumulator | |
| struct { | ||
| std::unordered_set< std::size_t > cydui::window_events::accs {} | ||
| } | redraw_accumulator | |
| using cydui::window_events::window_map = std::map<std::size_t, fabric::async::async_bus_t*> |
Definition at line 30 of file window_events.cppm.
| 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 ) |
Definition at line 185 of file window_events.cppm.
Here is the call graph for this function:
Here is the caller graph for this function:| void cydui::window_events::dispatch_window_event | ( | window_map * | busses, |
| const SDL_WindowEvent & | event ) |
|
export |
| void cydui::window_events::task | ( | fabric::async::async_bus_t * | app_bus, |
| window_map * | busses ) |
Definition at line 300 of file window_events.cppm.
Here is the call graph for this function:
Here is the caller graph for this function:| std::unordered_set<std::size_t> cydui::window_events::accs {} |
Definition at line 33 of file window_events.cppm.
| struct { ... } cydui::window_events::motion_accumulator |
| struct { ... } cydui::window_events::redraw_accumulator |
| struct { ... } cydui::window_events::resize_accumulator |
| std::atomic_flag cydui::window_events::running {} |
Definition at line 28 of file window_events.cppm.
| std::unique_ptr<std::thread> cydui::window_events::thread_ptr {nullptr} |
Definition at line 27 of file window_events.cppm.