diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-26 10:06:58 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-26 10:06:58 -0400 |
| commit | 67f1bcfc3c9d5dd9df61e4822dcf6abe111f3f5b (patch) | |
| tree | e3db358414f16622dd66b38400f7f870f590f59a /objc_darwin.h | |
| parent | dd305141fd9c4a8564926d3b9638891187a4fe04 (diff) | |
Fixed label alignment on Mac OS X for real now.
Diffstat (limited to 'objc_darwin.h')
| -rw-r--r-- | objc_darwin.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/objc_darwin.h b/objc_darwin.h index 03dafdf..87acea2 100644 --- a/objc_darwin.h +++ b/objc_darwin.h @@ -15,7 +15,7 @@ #include <stdint.h> -/* wrapper types since the meaning of NSRect, NSSize, and NSPoint are CPU architectured-dependent; also because they're in an Objective-C-only header */ +/* wrapper types since the meaning of NSRect, NSSize, and NSPoint are CPU architecture3d-dependent; also because they're in an Objective-C-only header */ struct xrect { intptr_t x; intptr_t y; @@ -33,6 +33,11 @@ struct xpoint { intptr_t y; }; +struct xalignment { + struct xrect alignmentRect; + intptr_t baseline; +}; + /* objc_darwin.m */ extern id toNSString(char *); extern char *fromNSString(id); @@ -90,6 +95,7 @@ extern struct xsize controlPrefSize(id); extern struct xsize listboxPrefSize(id); extern struct xsize pbarPrefSize(id); extern struct xsize areaPrefSize(id); +extern struct xalignment alignmentInfo(id, struct xrect); /* sysdata_darwin.m */ extern void addControl(id, id); |
