2015-04-28 13:40:51 -05:00
|
|
|
// 7 april 2015
|
|
|
|
|
|
|
|
/*
|
|
|
|
This file assumes that you have imported <Cocoa/Cocoa.h> and "ui.h" beforehand. It provides API-specific functions for interfacing with foreign controls on Mac OS X.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __UI_UI_DARWIN_H__
|
|
|
|
#define __UI_UI_DARWIN_H__
|
|
|
|
|
2015-07-03 22:32:01 -05:00
|
|
|
// TODO document
|
2015-07-28 13:14:41 -05:00
|
|
|
_UI_EXTERN void uiDarwinMakeSingleViewControl(uiControl *, NSView *, BOOL);
|
2015-04-28 13:40:51 -05:00
|
|
|
|
2015-05-07 11:58:33 -05:00
|
|
|
// You can use this function from within your control implementations to return text strings that can be freed with uiFreeText().
|
2015-05-07 17:38:47 -05:00
|
|
|
_UI_EXTERN char *uiDarwinNSStringToText(NSString *);
|
2015-04-28 13:40:51 -05:00
|
|
|
|
|
|
|
struct uiSizingSys {
|
|
|
|
// this structure currently left blank
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|