Mercurial > projects > dwt-mac
comparison dwt/internal/cocoa/NSSize.d @ 45:d8635bb48c7c
Merge with SWT 3.5
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 01 Dec 2008 17:07:00 +0100 |
parents | 642f460a0908 |
children | 62202ce0039f |
comparison
equal
deleted
inserted
replaced
44:ca5e494f2bbf | 45:d8635bb48c7c |
---|---|
7 * | 7 * |
8 * Contributors: | 8 * Contributors: |
9 * IBM Corporation - initial API and implementation | 9 * IBM Corporation - initial API and implementation |
10 * | 10 * |
11 * Port to the D programming language: | 11 * Port to the D programming language: |
12 * Jacob Carlborg <jacob.carlborg@gmail.com> | 12 * Jacob Carlborg <doob@me.com> |
13 *******************************************************************************/ | 13 *******************************************************************************/ |
14 | |
14 module dwt.internal.cocoa.NSSize; | 15 module dwt.internal.cocoa.NSSize; |
15 | 16 |
16 import dwt.internal.cocoa.CGFloat; | 17 import dwt.dwthelper.utils; |
18 import dwt.internal.c.Carbon; | |
17 | 19 |
18 extern (C): | |
19 | 20 |
20 alias NSSize* NSSizeArray; | 21 public struct NSSize { |
21 alias NSSize* NSSizePointer; | 22 public CGFloat width; |
22 | 23 public CGFloat height; |
23 struct NSSize { | 24 //public static final int sizeof = OS.NSSize_sizeof(); |
24 CGFloat width = 0; | |
25 CGFloat height = 0; | |
26 } | 25 } |