> home > Custom Layer Boundary API

view_compute_cursor

January 19th 2020
Compute a view cursor from a view and a seek target

Signature

C++
Buffer_Cursor
view_compute_cursor(Application_Links* app,
                    View_ID view_id,
                    Buffer_Seek seek);

Parameters

app

the standard custom layer context pointer

view_id

the id of the view to query

seek

the seek target to use in a query for full cursor information

Return

the full cursor information for the position specified by the seek, if the view exists, otherwise cleared to zero

Details

Equivalent to calling the buffer related function with the same name using view to derive the buffer parameter.

Related

Buffer_Seek
Buffer_Cursor