cacao icon indicating copy to clipboard operation
cacao copied to clipboard

Please add NSOpenGLView

Open dagit opened this issue 1 year ago • 2 comments

I tried to do this in my project code but it seems like I need access to ObjcAccess in order to write a Layout impl. It seems like maybe new widgets need to be wrapped directly in cacao or certain interfaces would need to be made public?

I just want a way to render to an OpenGL area from within a program that I was thinking of writing in cacao. I don't really know the API well enough, but looking at the image example it seemed like maybe I need to use add_subview or set_content_view passing the wrapper I made for NSOpenGLView? That's the point where I run into the issue that I can't write a Layout impl.

dagit avatar Nov 21 '22 00:11 dagit