1
0

GUIEditor clears now existing elements before loading new ones.

Thanks @Artem Shoobovych for the patch (#323)
I changed it a bit, but basically same idea.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6210 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien
2021-05-02 12:59:55 +00:00
parent 9417b22b86
commit 22a7280e95
2 changed files with 32 additions and 13 deletions

View File

@@ -46,6 +46,9 @@ namespace gui
//! Removes a child.
virtual void removeChild(IGUIElement* child);
//! Remove all gui elements from parent except this one
virtual void clearParentElements();
//! draws the element and its children
virtual void draw();