> home > Custom Layer Boundary API

panel_set_split

January 19th 2020
Set the split properties of a split panel

Signature

C++
b32
panel_set_split(Application_Links* app,
                Panel_ID panel_id,
                Panel_Split_Kind kind,
                f32 t);

Parameters

app

the standard custom layer context pointer

panel_id

the id of the panel to modify

kind

the kind of split rule used to determine the position of the split

t

the value parameter of the split rule

Return

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

Details