summaryrefslogtreecommitdiff
path: root/new/uipriv.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-06 22:26:53 -0400
committerPietro Gagliardi <[email protected]>2015-04-06 22:26:53 -0400
commit35e1f8e14c98807652d12f6213d7af70f6130bf6 (patch)
tree015c1a39314fe386dd6593a7903d00f774a3d2a2 /new/uipriv.h
parent93b99a690c7b241d62bf09e7c325bf29ca2687b0 (diff)
Started writing code for handling single-HWND controls on Windows. Similar code will exist for single-GtkWidget controls on GTK+ and single-NSView controls on Cocoa.
Diffstat (limited to 'new/uipriv.h')
-rw-r--r--new/uipriv.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/new/uipriv.h b/new/uipriv.h
index 158d30c..002adf0 100644
--- a/new/uipriv.h
+++ b/new/uipriv.h
@@ -9,11 +9,12 @@ struct uiSize {
intmax_t height;
};
+// TODO handle destruction
struct uiControl {
uintptr_t (*handle)(uiControl *);
- void (*setParent)(uiControl *, uintptr_t);
+//TODO void (*setParent)(uiControl *, uintptr_t);
uiSize (*preferredSize)(uiControl *, uiSizing *);
- void (*resizing)(uiControl *, intmax_t, intmax_t, intmax_t, intmax_t, uiSizing *);
+ void (*resize)(uiControl *, intmax_t, intmax_t, intmax_t, intmax_t, uiSizing *);
void (*containerShow)(uiControl *);
void (*containerHide)(uiControl *);
};