|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| Layer::Slot MayaFlux::Portal::Forma::Layer::add | ( | Element | element | ) |
Add an element to the layer.
Assigns a stable id and returns a Slot carrying that id. The Slot supports chained post-registration mutations (relate_to, hidden, non_interactive, to_front, to_back) and converts implicitly to uint32_t, preserving all existing callsites.
Definition at line 9 of file Layer.cpp.
References MayaFlux::Portal::Forma::Element::id, m_elements, and m_next_id.
Referenced by MayaFlux::Portal::Forma::make_value_row(), MayaFlux::Portal::Forma::Collapsible::place(), MayaFlux::Portal::Forma::Plot::place(), MayaFlux::Portal::Forma::Plot::place_label(), and MayaFlux::Portal::Forma::Plot::place_rect().
Here is the caller graph for this function: