|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inline |
Draw a text label over the header, background included.
When set, place() draws text with the current open/closed color as Portal::Text::PressParams::background, and every toggle draws it again with the new color - background and label are one slice, so they can never drift out of sync the way two independent draws could. When empty (default), the header stays a plain color-only quad with no text machinery at all.
buf passed to place() still needs the "text" additional_textures slot when a label is set, same as Element::with_text.
Definition at line 117 of file Collapsible.hpp.
References m_label_text.
Referenced by MayaFlux::Portal::Forma::make_collapsible(), and MayaFlux::Portal::Forma::make_entry_group().
Here is the caller graph for this function: