> home > Custom Layer Boundary API

panel_swap_children

September 8th 2024
Swap the min and max children of a split panel

Signature

C++
b32
panel_swap_children(Application_Links* app,
                    Panel_ID panel_id);

Parameters

app

the standard custom layer context pointer

panel_id

the id of the panel to modify

Return

non-zero if the panel exists and is a split panel