summaryrefslogtreecommitdiff
path: root/redo/sizing_darwin.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-04 17:46:08 -0400
committerPietro Gagliardi <[email protected]>2014-08-04 17:47:39 -0400
commit88c01bf69532243f432e03121b922a94d19b0ae1 (patch)
tree0685f9e001aff4f6cebe0b06b26ac2212346445e /redo/sizing_darwin.m
parent74e2214f4391d105f439b0190ac7fa640b9053f1 (diff)
Began the big sizer cleanup: renamed sizer to container, renamed sizer.go to container.go, did the Mac OS X migration, moved containerctrls.go out of the way by merging its declarations into basicctrls.go, and did a quick cleanup fix to container_darwin.m.
Diffstat (limited to 'redo/sizing_darwin.m')
-rw-r--r--redo/sizing_darwin.m12
1 files changed, 0 insertions, 12 deletions
diff --git a/redo/sizing_darwin.m b/redo/sizing_darwin.m
deleted file mode 100644
index b379465..0000000
--- a/redo/sizing_darwin.m
+++ /dev/null
@@ -1,12 +0,0 @@
-// 17 july 2014
-
-#import "objc_darwin.h"
-#import "_cgo_export.h"
-#import <Cocoa/Cocoa.h>
-
-#define toNSView(x) ((NSView *) (x))
-
-void moveControl(id c, intptr_t x, intptr_t y, intptr_t width, intptr_t height)
-{
- [toNSView(c) setFrame:NSMakeRect((CGFloat) x, (CGFloat) y, (CGFloat) width, (CGFloat) height)];
-}