Added uiParentDestroy(). Now to implement.

This commit is contained in:
Pietro Gagliardi 2015-04-17 15:45:57 -04:00
parent 81f475000f
commit 87296762b0
2 changed files with 5 additions and 2 deletions

View File

@ -10,7 +10,10 @@ void *Internal;
This pointer is used internally by libui. Do not attempt to alter it or access/alter its data. This pointer is used internally by libui. Do not attempt to alter it or access/alter its data.
## func Destroy() ## func Destroy()
TODO ```c
void uiParentDestroy(uiParent *p);
```
Destroys the uiParent. This also destroys the main child, if any. This is called by `uiWindowDestroy()` and uiTab's/uiGroup's `uiControlDestroy()`.
## func Handle() ## func Handle()
```c ```c

2
ui.idl
View File

@ -59,7 +59,7 @@ interface Control {
interface Parent { interface Parent {
field Internal *void; field Internal *void;
// TODO destroy func Destroy(void);
// TODO object destruction debug handler // TODO object destruction debug handler
func Handle(void) uintptr_t; func Handle(void) uintptr_t;
func SetMainControl(c *Control); func SetMainControl(c *Control);