13 class WindowEventSource;
33 std::shared_ptr<Core::Window> window,
35 std::function<
void()> callback);
53 std::shared_ptr<Core::Window> window,
55 std::function<
void()> callback);
69 std::shared_ptr<Core::Window> window,
71 std::function<
void()> callback);
87 MAYAFLUX_API Vruta::Event
any_key(
88 std::shared_ptr<Core::Window> window,
89 std::function<
void(
IO::Keys)> callback);
107 std::shared_ptr<Core::Window> window,
109 std::function<
void(
double,
double)> callback);
127 std::shared_ptr<Core::Window> window,
129 std::function<
void(
double,
double)> callback);
146 std::shared_ptr<Core::Window> window,
147 std::function<
void(
double,
double)> callback);
165 std::shared_ptr<Core::Window> window,
167 std::function<
void(
double,
double)> callback);
184 std::shared_ptr<Core::Window> window,
185 std::function<
void(
double,
double)> callback);
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 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 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.
Main namespace for the Maya Flux audio engine.