> home > Custom Layer Boundary API

view_alter_context

January 19th 2020
Modify the context details at the top of a view's context details stack

Signature

C++
b32
view_alter_context(Application_Links* app,
                   View_ID view_id,
                   View_Context* ctx);

Parameters

app

the standard custom layer context pointer

view_id

the id of the view to modify

ctx

the new field values of the view context details to be copied onto the top of the stack

Return

non-zero if the view exists, zero otherwise

Related

View_Context