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

◆ handle_resize()

void MayaFlux::Portal::Forma::Context::handle_resize ( uint32_t  width,
uint32_t  height 
)
private

Definition at line 549 of file Context.cpp.

550{
553 for (auto& [id, callbacks] : m_callbacks) {
554 if (callbacks.resize)
555 callbacks.resize(width, height);
556 }
557}
uint32_t width
uint32_t height
std::unordered_map< uint32_t, ElementCallbacks > m_callbacks
Definition Context.hpp:361

References height, m_callbacks, m_known_height, m_known_width, and width.

Referenced by register_handlers(), and sync_size().

+ Here is the caller graph for this function: