Ultralight icon indicating copy to clipboard operation
Ultralight copied to clipboard

CAPI: Create Overlay with View/Replace View

Open Gurkengewuerz opened this issue 4 years ago • 2 comments

Hey,

i am using the CAPI and i created an inspector view by using ulViewCreateInspectorView. But now i dont know how to attach this view to an new/existing overlay :/ Am i missing something in the api?

Using the C++ API you can create an overlay with a existing view with Overlay::Create.

Gurkengewuerz avatar May 17 '20 13:05 Gurkengewuerz

Something along the lines of:

ACExport ULOverlay ulCreateOverlayFromView(ULWindow window, ULView view, int x, int y)

in the AppCore C API would allow the use of the inspector view in non-C++ applications, and bring the C API closer to feature parity.

+1 for this to be implemented

maneac avatar May 17 '20 16:05 maneac

Any updates on this?

Gurkengewuerz avatar Oct 11 '21 13:10 Gurkengewuerz