diff 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
line wrap: on
line diff
--- a/dwt/internal/cocoa/NSCell.d	Tue Oct 07 12:56:18 2008 +0200
+++ b/dwt/internal/cocoa/NSCell.d	Fri Oct 10 12:29:48 2008 +0200
@@ -100,6 +100,25 @@
 alias NSControlTint.NSGraphiteControlTint NSGraphiteControlTint;
 alias NSControlTint.NSClearControlTint NSClearControlTint;
 
+enum NSCellImagePosition : NSUInteger
+{
+    NSNoImage = 0,
+    NSImageOnly = 1,
+    NSImageLeft = 2,
+    NSImageRight = 3,
+    NSImageBelow = 4,
+    NSImageAbove = 5,
+    NSImageOverlaps = 6
+}
+
+alias NSCellImagePosition.NSNoImage NSNoImage;
+alias NSCellImagePosition.NSImageOnly NSImageOnly;
+alias NSCellImagePosition.NSImageLeft NSImageLeft;
+alias NSCellImagePosition.NSImageRight NSImageRight;
+alias NSCellImagePosition.NSImageBelow NSImageBelow;
+alias NSCellImagePosition.NSImageAbove NSImageAbove;
+alias NSCellImagePosition.NSImageOverlaps NSImageOverlaps;
+
 public class NSCell : NSObject
 {