|
rigImGui 0.1.1
RigKit pack API - rigImGui
|
Generic re-orderable chain of collapsing-header rows. More...
#include <rigImGui/src/ChainEditor.h>
Public Member Functions | |
| void | setPayloadTag (const char *tag) |
| Unique drag-drop scope per list (required when multiple editors share a panel). | |
| void | setSectionTitle (std::string title) |
| Optional outer section (e.g. | |
| void | setFooterHint (std::string hint) |
| Optional hint below the list. | |
| void | setAddTypes (std::vector< std::string > types) |
| Add combo: labels[0] is placeholder; onAdd receives index >= 1 when Add is clicked. | |
| void | setDefaultOpen (bool open) |
| When true (default), new step headers start expanded. | |
| void | setAddOnSelect (bool on) |
| When true, selecting a type in the add combo fires onAdd immediately (no Add button). | |
| void | setSectionFooter (std::function< void()> fn) |
| Optional widgets drawn inside the section CollapsingHeader (after add row + hint). | |
Generic re-orderable chain of collapsing-header rows.
Domain-agnostic - the host supplies data and behaviour via callbacks. Typical use: prepare pipeline, image/draw filters, generators.
|
inline |
When true, selecting a type in the add combo fires onAdd immediately (no Add button).
The combo resets to the placeholder afterwards.
|
inline |
Optional outer section (e.g.
"Processors"). Empty = flat list only.