diff options
Diffstat (limited to 'new/uipriv.h')
| -rw-r--r-- | new/uipriv.h | 6 |
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 *); |
