|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
nodiscard |
Register a clickable text row on surface.
Draws label over the idle background and adds the element to the surface's layer. The row is a slice of batch when one is given, otherwise of the surface's shared buffer.
| surface | Surface to register on. |
| label | Row text. |
| bounds | NDC region of the row. |
| dims | Pixel size to lay the text out at. |
| batch | Text-capable buffer to draw into as a slice, or empty for the surface's shared buffer. |
Definition at line 28 of file TextRow.cpp.
References MayaFlux::Portal::Forma::Surface::add(), atelier(), MayaFlux::Portal::Forma::internal::Atelier::batch_slice(), row_caption(), row_idle_color(), row_press_params(), MayaFlux::Portal::Forma::FormaTarget::slice_of(), and MayaFlux::Portal::Graphics::TRIANGLE_LIST.
Referenced by MayaFlux::Portal::Forma::pick(), and MayaFlux::Portal::Forma::Dropdown::place().