Mercurial > projects > dwt-mac
comparison dwt/internal/cocoa/NSRect.d @ 15:2952d5604c0a
Ported some widgets, added some stuff to the runtime bindings
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Fri, 29 Aug 2008 21:46:05 +0200 |
parents | f565d3a95c0a |
children | db5a898b2119 |
comparison
equal
deleted
inserted
replaced
14:762fbe6f17d3 | 15:2952d5604c0a |
---|---|
35 | 35 |
36 struct NSRect | 36 struct NSRect |
37 { | 37 { |
38 NSPoint origin; | 38 NSPoint origin; |
39 NSSize size; | 39 NSSize size; |
40 | |
41 // for dwt compatibility | |
42 alias origin.x x; | |
43 alias origin.y y; | |
44 alias size.width width; | |
45 alias size.height height; | |
40 } | 46 } |
41 | |
42 /*public class NSRect { | |
43 public float x; | |
44 public float y; | |
45 public float width; | |
46 public float height; | |
47 public static final int sizeof = 16; | |
48 }*/ |