rigImGui 0.1.1
RigKit pack API - rigImGui
Loading...
Searching...
No Matches
ReorderDragDrop.h File Reference
#include <imgui.h>
Include dependency graph for ReorderDragDrop.h:

Classes

struct  rigkit::IndexDropResult
 Result of an index-based list reorder drop. More...

Functions

IndexDropResult rigkit::ReorderDragDropIndexRow (const char *payloadTag, int index, const char *previewLabel, float rowMinY, float rowMaxY)
 Flat-list drag-reorder (pipeline steps, effect chains).

Function Documentation

◆ ReorderDragDropIndexRow()

IndexDropResult rigkit::ReorderDragDropIndexRow ( const char * payloadTag,
int index,
const char * previewLabel,
float rowMinY,
float rowMaxY )

Flat-list drag-reorder (pipeline steps, effect chains).

Call immediately after the row's interactive ImGui item. Before/After zones use the top/bottom thirds of [rowMinY, rowMaxY].