MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ handle_drags()

void MayaFlux::Portal::Forma::Context::handle_drags ( double  px,
double  py 
)
private

Definition at line 433 of file Context.cpp.

434{
435 const auto& source = m_window->get_event_source();
437 if (source.is_mouse_pressed(static_cast<int>(btn)))
438 handle_drag(px, py, btn);
439 }
440}
uint32_t py
uint32_t px
std::shared_ptr< Core::Window > m_window
Definition Context.hpp:356
void handle_drag(double px, double py, IO::MouseButtons btn)
Definition Context.cpp:442
MouseButtons
Enumeration for mouse buttons.
Definition Keys.hpp:147
Source source()
Begin a Source chain.
Definition Plot.hpp:127

References handle_drag(), MayaFlux::IO::Left, m_window, MayaFlux::IO::Middle, px, py, and MayaFlux::IO::Right.

Referenced by register_handlers().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: