Mercurial > projects > dwt-mac
comparison dwt/internal/cocoa/NSCell.d @ 37:642f460a0908
Fixed a lot of compile errors, a "hello world" app compiles now
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Fri, 10 Oct 2008 12:29:48 +0200 |
parents | f565d3a95c0a |
children | d8635bb48c7c |
comparison
equal
deleted
inserted
replaced
36:db5a898b2119 | 37:642f460a0908 |
---|---|
98 alias NSControlTint.NSDefaultControlTint NSDefaultControlTint; | 98 alias NSControlTint.NSDefaultControlTint NSDefaultControlTint; |
99 alias NSControlTint.NSBlueControlTint NSBlueControlTint; | 99 alias NSControlTint.NSBlueControlTint NSBlueControlTint; |
100 alias NSControlTint.NSGraphiteControlTint NSGraphiteControlTint; | 100 alias NSControlTint.NSGraphiteControlTint NSGraphiteControlTint; |
101 alias NSControlTint.NSClearControlTint NSClearControlTint; | 101 alias NSControlTint.NSClearControlTint NSClearControlTint; |
102 | 102 |
103 enum NSCellImagePosition : NSUInteger | |
104 { | |
105 NSNoImage = 0, | |
106 NSImageOnly = 1, | |
107 NSImageLeft = 2, | |
108 NSImageRight = 3, | |
109 NSImageBelow = 4, | |
110 NSImageAbove = 5, | |
111 NSImageOverlaps = 6 | |
112 } | |
113 | |
114 alias NSCellImagePosition.NSNoImage NSNoImage; | |
115 alias NSCellImagePosition.NSImageOnly NSImageOnly; | |
116 alias NSCellImagePosition.NSImageLeft NSImageLeft; | |
117 alias NSCellImagePosition.NSImageRight NSImageRight; | |
118 alias NSCellImagePosition.NSImageBelow NSImageBelow; | |
119 alias NSCellImagePosition.NSImageAbove NSImageAbove; | |
120 alias NSCellImagePosition.NSImageOverlaps NSImageOverlaps; | |
121 | |
103 public class NSCell : NSObject | 122 public class NSCell : NSObject |
104 { | 123 { |
105 | 124 |
106 public this () | 125 public this () |
107 { | 126 { |