> home > Custom Layer Boundary API

view_set_active

September 8th 2024
Set the active view

Signature

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

Parameters

app

the standard custom layer context pointer

view_id

the id of the view to set as active

Return

non-zero if the view exists, zero otherwise