summaryrefslogtreecommitdiff
path: root/new/uipriv.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-09 16:21:09 -0400
committerPietro Gagliardi <[email protected]>2015-04-09 16:21:09 -0400
commit92b43720b6b33e838f8e9b5dffaa556529de3d52 (patch)
tree5bbfb07548bab0cdbecb2b38a479321e6730d6b4 /new/uipriv.h
parent3f05be544ce9e57e8b00dfe99a64f223c6c2539b (diff)
Decided to split control removal from parent into its own method removeParent() rather than automatically doing it in setParent().
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 26d06ba..7745c2a 100644
--- a/new/uipriv.h
+++ b/new/uipriv.h
@@ -24,6 +24,7 @@ struct uiControl {
void (*destroy)(uiControl *);
uintptr_t (*handle)(uiControl *);
void (*setParent)(uiControl *, uintptr_t);
+ void (*removeParent)(uiControl *);
uiSize (*preferredSize)(uiControl *, uiSizing *);
void (*resize)(uiControl *, intmax_t, intmax_t, intmax_t, intmax_t, uiSizing *);
};