2015-08-16 21:46:18 -05:00
|
|
|
// 6 january 2015
|
2017-06-02 23:33:40 -05:00
|
|
|
// note: as of OS X Sierra, the -mmacosx-version-min compiler options governs deprecation warnings; keep these around anyway just in case
|
2016-05-28 12:06:16 -05:00
|
|
|
#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_8
|
|
|
|
#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_8
|
2015-08-16 21:46:18 -05:00
|
|
|
#import <Cocoa/Cocoa.h>
|
2018-05-03 21:28:02 -05:00
|
|
|
#import <dlfcn.h> // see future.m
|
2015-08-16 21:46:18 -05:00
|
|
|
#import "../ui.h"
|
|
|
|
#import "../ui_darwin.h"
|
2015-10-16 17:31:14 -05:00
|
|
|
#import "../common/uipriv.h"
|
2015-08-16 21:46:18 -05:00
|
|
|
|
2016-01-02 08:22:24 -06:00
|
|
|
#if __has_feature(objc_arc)
|
|
|
|
#error Sorry, libui cannot be compiled with ARC.
|
|
|
|
#endif
|
|
|
|
|
2018-05-03 21:38:21 -05:00
|
|
|
#define uiprivToNSString(str) [NSString stringWithUTF8String:(str)]
|
|
|
|
#define uiprivFromNSString(str) [(str) UTF8String]
|
|
|
|
|
|
|
|
// TODO find a better place for this
|
|
|
|
#ifndef NSAppKitVersionNumber10_9
|
|
|
|
#define NSAppKitVersionNumber10_9 1265
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*TODO remove this*/typedef struct uiImage uiImage;
|
|
|
|
|
2018-05-03 21:28:02 -05:00
|
|
|
#import "OLD_uipriv_darwin.h"
|