Dawoodoz / DFPSR

Fast realtime softare rendering library for C++14 using SSE/AVX/NEON. 2D, 3D and isometric rendering with minimal system dependencies.
https://dawoodoz.com/dfpsr.html
78 stars 6 forks source link

Graphical sub-interfaces #70

Closed Dawoodoz closed 1 year ago

Dawoodoz commented 1 year ago

The 3D model editor is now so complex that it requires loading visual interfaces from separate layouts, so this PR makes it possible to create a component and its child components from a layout file, into another component instead of a window. Because of potential name collisions, it is also possible to find components from within a parent component recursively, instead of searching in the entire window. A destroy event was also created, so that a sub-interface listening for update notifications about information to display, can tell others not to call it back anymore.