inheritance and gui
inheritance and gui
If I inherit a class from IGUIWindow, how can i add that window to the guienvironment? It is enough to make myclass=guienvironmnt->addwindow?
ru guo ni yao ai, ni jiang bu hui shi qu
Simply call
This works. If you want your element be placed directly in the environment, use Environment->getRootGUIElement() as parent.
Code: Select all
new YourElement(aParent);