> home > Custom Layer Boundary API

view_set_active

January 19th 2020
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