diff options
Diffstat (limited to 'new/ui_darwin.h')
| -rw-r--r-- | new/ui_darwin.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/new/ui_darwin.h b/new/ui_darwin.h index 672eb63..153ff51 100644 --- a/new/ui_darwin.h +++ b/new/ui_darwin.h @@ -15,6 +15,9 @@ This file assumes that you have imported <Cocoa/Cocoa.h> and "ui.h" beforehand. extern uiControl *uiDarwinNewControl(Class class, BOOL inScrollView, BOOL scrollViewHasBorder); extern BOOL uiDarwinControlFreeWhenAppropriate(uiControl *c, NSView *newSuperview); +// You can use this function from within your control implementations to return text strings that can be freed with uiTextFree(). +extern char *uiDarwinNSStringToText(NSString *); + struct uiSizingSys { // this structure currently left blank }; |
