> home > Custom Layer Boundary API

view_close

September 8th 2024
Close a view

Signature

C++
b32
view_close(Application_Links* app,
           View_ID view_id);

Parameters

app

the standard custom layer context pointer

view_id

the id of the view to close

Return

non-zero if the view exists, zero otherwise

Details

When the view is closed, it's associated panel is also closed and the layout is adjusted to compensate, possibly changing the associations of of panels and views.