summaryrefslogtreecommitdiff
path: root/new/darwin/uipriv_darwin.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-16 20:33:28 -0400
committerPietro Gagliardi <[email protected]>2015-04-16 20:33:28 -0400
commite34c561ed5bedeb180437ec165882b98d70d38c1 (patch)
treed095e5db16d7a23e883526c8c1d3c524639c97cf /new/darwin/uipriv_darwin.h
parentde9d72299fb89a8b6cdc8963cd6b6ae708a81e80 (diff)
Split the rewrite into a new repository.
Diffstat (limited to 'new/darwin/uipriv_darwin.h')
-rw-r--r--new/darwin/uipriv_darwin.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/new/darwin/uipriv_darwin.h b/new/darwin/uipriv_darwin.h
deleted file mode 100644
index 36de1f1..0000000
--- a/new/darwin/uipriv_darwin.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// 6 january 2015
-#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_7
-#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_7
-#import <Cocoa/Cocoa.h>
-#import "../uipriv.h"
-#import "../ui_darwin.h"
-
-#define toNSString(str) [NSString stringWithUTF8String:(str)]
-#define fromNSString(str) [(str) UTF8String]
-
-#define uiLogObjCClassAllocations \
-+ (id)alloc \
-{ \
- id thing; \
- thing = [super alloc]; \
- if (options.debugLogAllocations) \
- fprintf(stderr, "%p alloc %s\n", thing, [[self className] UTF8String]); \
- return thing; \
-} \
-- (void)dealloc \
-{ \
- [super dealloc]; \
- if (options.debugLogAllocations) \
- fprintf(stderr, "%p free\n", self); \
-}
-
-// init_darwin.m
-extern NSView *destroyedControlsView;
-
-// util_darwin.m
-extern void setStandardControlFont(NSControl *);
-extern void disableAutocorrect(NSTextView *);
-
-// These are based on measurements from Interface Builder.
-// These seem to be based on Auto Layout constants, but I don't see an API that exposes these...
-#define macXMargin 20
-#define macYMargin 20
-
-// entry_darwin.m
-extern void finishNewTextField(NSTextField *, BOOL);