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

◆ make_collapsible() [1/2]

Collapsible MayaFlux::Portal::Forma::make_collapsible ( std::shared_ptr< Buffers::FormaBuffer buf,
Surface surface,
LayoutCursor cursor,
float  x_min,
float  x_max,
float  row_h,
bool  initially_open,
glm::vec3  color_closed,
glm::vec3  color_open 
)

Definition at line 127 of file Collapsible.cpp.

137{
138 return Collapsible {}
139 .initially_open(initially_open)
140 .closed_color(color_closed)
141 .open_color(color_open)
142 .place(std::move(buf), surface, cursor, x_min, x_max, row_h);
143}
Collapsible & closed_color(glm::vec3 c)
Collapsible & open_color(glm::vec3 c)
MAYAFLUX_API Collapsible & place(std::shared_ptr< Buffers::FormaBuffer > buf, Surface &surface, LayoutCursor &cursor, float x_min, float x_max, float row_h)
Register the header element and wire the toggle callback.
Collapsible & initially_open(bool v)
A collapsible header strip.

References MayaFlux::Portal::Forma::Collapsible::closed_color(), MayaFlux::Portal::Forma::Collapsible::initially_open(), MayaFlux::Portal::Forma::Collapsible::open_color(), and MayaFlux::Portal::Forma::Collapsible::place().

+ Here is the call graph for this function: