summaryrefslogtreecommitdiff
path: root/new/uipriv.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-08 00:43:35 -0400
committerPietro Gagliardi <[email protected]>2015-04-08 00:43:35 -0400
commit54e947eed3d75d0fbae533e7e4cce8fe84aaf77c (patch)
treed510e639dfdb00f7ae8d8ce9de90a9e54001f901 /new/uipriv.h
parent521829a0a66f62e9ed4256440a1ed34565e4d51f (diff)
Started work on ensuring things get cleaned up. Added a destroy() method to uiControl and implemented most of the work for Windows.
Diffstat (limited to 'new/uipriv.h')
-rw-r--r--new/uipriv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/new/uipriv.h b/new/uipriv.h
index 2999d0c..ed156c2 100644
--- a/new/uipriv.h
+++ b/new/uipriv.h
@@ -12,6 +12,7 @@ struct uiSize {
// TODO handle destruction
struct uiControl {
+ void (*destroy)(uiControl *);
uintptr_t (*handle)(uiControl *);
void (*setParent)(uiControl *, uintptr_t);
uiSize (*preferredSize)(uiControl *, uiSizing *);