summaryrefslogtreecommitdiff
path: root/new/uipriv.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-09 15:59:40 -0400
committerPietro Gagliardi <[email protected]>2015-04-09 15:59:40 -0400
commit3f05be544ce9e57e8b00dfe99a64f223c6c2539b (patch)
treed4fb2bfd61fb790525b0cfc631595bac068d9a89 /new/uipriv.h
parent8d64f695e0c34d6801bc9422f7a56ddca7df5b81 (diff)
Implemented padding in uiStack.
Diffstat (limited to 'new/uipriv.h')
-rw-r--r--new/uipriv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/new/uipriv.h b/new/uipriv.h
index ebb1be4..26d06ba 100644
--- a/new/uipriv.h
+++ b/new/uipriv.h
@@ -4,16 +4,22 @@
typedef struct uiSize uiSize;
typedef struct uiSizing uiSizing;
+typedef struct uiSizingComm uiSizingComm;
struct uiSize {
intmax_t width;
intmax_t height;
};
+// TODO this is a bit iffy; clean it up
#define uiSizingCommon \
intmax_t xPadding; \
intmax_t yPadding;
+struct uiSizingComm {
+ uiSizingCommon
+};
+
struct uiControl {
void (*destroy)(uiControl *);
uintptr_t (*handle)(uiControl *);