13 class WindowEventSource;
33 std::shared_ptr<Core::Window>
window,
53 std::shared_ptr<Core::Window>
window,
69 std::shared_ptr<Core::Window>
window,
85 std::shared_ptr<Core::Window>
window,
86 std::function<
void(uint32_t)>
callback);
102 MAYAFLUX_API Vruta::Event
any_key(
103 std::shared_ptr<Core::Window>
window,
122 std::shared_ptr<Core::Window>
window,
124 std::function<
void(
double,
double)>
callback);
142 std::shared_ptr<Core::Window>
window,
144 std::function<
void(
double,
double)>
callback);
161 std::shared_ptr<Core::Window>
window,
162 std::function<
void(
double,
double)>
callback);
180 std::shared_ptr<Core::Window>
window,
182 std::function<
void(
double,
double)>
callback);
199 std::shared_ptr<Core::Window>
window,
200 std::function<
void(
double,
double)>
callback);
214 std::shared_ptr<Core::Window>
window,
215 std::function<
void(uint32_t, uint32_t)>
callback);
225 std::shared_ptr<Core::Window>
window,
std::weak_ptr< Core::Window > window
MouseButtons
Enumeration for mouse buttons.
@ Vruta
Coroutines, schedulers, clocks, task management.
@ Core
Core engine, backend, subsystems.
@ Kriya
Automatable tasks and fluent scheduling api for Nodes and Buffers.
Vruta::Event key_released(std::shared_ptr< Core::Window > window, IO::Keys key, std::function< void()> callback)
Creates an Event coroutine that triggers on specific key release.
Vruta::Event any_key(std::shared_ptr< Core::Window > window, std::function< void(IO::Keys)> callback)
Creates an Event coroutine that triggers on any key press.
Vruta::Event key_pressed(std::shared_ptr< Core::Window > window, IO::Keys key, std::function< void()> callback)
Creates an Event coroutine that triggers on specific key press.
Vruta::Event mouse_moved(std::shared_ptr< Core::Window > window, std::function< void(double, double)> callback)
Creates an Event coroutine that triggers on mouse movement.
Vruta::Event mouse_scrolled(std::shared_ptr< Core::Window > window, std::function< void(double, double)> callback)
Creates an Event coroutine that triggers on mouse scroll.
Vruta::Event window_closed(std::shared_ptr< Core::Window > window, std::function< void()> callback)
Creates an Event coroutine that triggers on window close.
Vruta::Event key_held(std::shared_ptr< Core::Window > window, IO::Keys key, std::function< void()> callback)
Creates an Event coroutine that triggers on key press and repeats while held.
Vruta::Event mouse_released(std::shared_ptr< Core::Window > window, IO::MouseButtons button, std::function< void(double, double)> callback)
Creates an Event coroutine that triggers on specific mouse button release.
Vruta::Event mouse_pressed(std::shared_ptr< Core::Window > window, IO::MouseButtons button, std::function< void(double, double)> callback)
Creates an Event coroutine that triggers on specific mouse button press.
Vruta::Event window_resized(std::shared_ptr< Core::Window > window, std::function< void(uint32_t, uint32_t)> callback)
Creates an Event coroutine that triggers on window resize.
Vruta::Event mouse_dragged(std::shared_ptr< Core::Window > window, IO::MouseButtons button, std::function< void(double, double)> callback)
Creates an Event coroutine that triggers on mouse drag with specific button.
Vruta::Event text_input(std::shared_ptr< Core::Window > window, std::function< void(uint32_t)> callback)
Creates an Event coroutine that triggers on resolved text input.
Main namespace for the Maya Flux audio engine.