Mercurial > projects > dwt-mac
comparison dwt/internal/cocoa/OS.d @ 90:c7f7f4d7091a
All widgets are ported
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Tue, 30 Dec 2008 18:54:31 +0100 |
parents | 102ff2adce19 |
children | 52007db1276d |
comparison
equal
deleted
inserted
replaced
89:8e3c85e1733d | 90:c7f7f4d7091a |
---|---|
55 import dwt.internal.cocoa.NSDatePicker; | 55 import dwt.internal.cocoa.NSDatePicker; |
56 import dwt.internal.cocoa.NSEvent; | 56 import dwt.internal.cocoa.NSEvent; |
57 import dwt.internal.cocoa.NSGradient; | 57 import dwt.internal.cocoa.NSGradient; |
58 import dwt.internal.cocoa.NSGraphicsContext; | 58 import dwt.internal.cocoa.NSGraphicsContext; |
59 import dwt.internal.cocoa.NSImage; | 59 import dwt.internal.cocoa.NSImage; |
60 import dwt.internal.cocoa.NSNumberFormatter; | |
60 import dwt.internal.cocoa.NSParagraphStyle; | 61 import dwt.internal.cocoa.NSParagraphStyle; |
61 import dwt.internal.cocoa.NSPoint; | 62 import dwt.internal.cocoa.NSPoint; |
62 import dwt.internal.cocoa.NSRange; | 63 import dwt.internal.cocoa.NSRange; |
63 import dwt.internal.cocoa.NSRect; | 64 import dwt.internal.cocoa.NSRect; |
64 import dwt.internal.cocoa.NSScrollView; | 65 import dwt.internal.cocoa.NSScrollView; |
65 import dwt.internal.cocoa.NSScroller; | 66 import dwt.internal.cocoa.NSScroller; |
66 import dwt.internal.cocoa.NSSize; | 67 import dwt.internal.cocoa.NSSize; |
67 import dwt.internal.cocoa.NSString; | 68 import dwt.internal.cocoa.NSString; |
69 import dwt.internal.cocoa.NSTabView; | |
68 import dwt.internal.cocoa.NSTableView; | 70 import dwt.internal.cocoa.NSTableView; |
69 import dwt.internal.cocoa.NSText; | 71 import dwt.internal.cocoa.NSText; |
70 import dwt.internal.cocoa.NSView; | 72 import dwt.internal.cocoa.NSView; |
71 import NSWindowTypes = dwt.internal.cocoa.NSWindow; | 73 import NSWindowTypes = dwt.internal.cocoa.NSWindow; |
72 import Cocoa = dwt.internal.objc.cocoa.Cocoa; | 74 import Cocoa = dwt.internal.objc.cocoa.Cocoa; |
2737 public static const int NSApplicationDelegateReplyCancel = 1; | 2739 public static const int NSApplicationDelegateReplyCancel = 1; |
2738 public static const int NSApplicationDelegateReplyFailure = 2; | 2740 public static const int NSApplicationDelegateReplyFailure = 2; |
2739 public static const int NSApplicationDelegateReplySuccess = 0; | 2741 public static const int NSApplicationDelegateReplySuccess = 0; |
2740 public static const int NSAscendingPageOrder = 1; | 2742 public static const int NSAscendingPageOrder = 1; |
2741 public static const int NSAtBottom = 5; | 2743 public static const int NSAtBottom = 5; |
2742 alias NSTitlePosition.NSAtTop NSAtTop; | 2744 alias Cocoa.NSTitlePosition.NSAtTop NSAtTop; |
2743 public static const int NSAttachmentCharacter = 65532; | 2745 public static const int NSAttachmentCharacter = 65532; |
2744 public static const int NSAutoPagination = 0; | 2746 public static const int NSAutoPagination = 0; |
2745 public static const int NSAutosaveOperation = 3; | 2747 public static const int NSAutosaveOperation = 3; |
2746 public static const int NSBMPFileType = 1; | 2748 public static const int NSBMPFileType = 1; |
2747 public static const int NSBackTabCharacter = 25; | 2749 public static const int NSBackTabCharacter = 25; |
2761 alias Cocoa.NSLineJoinStyle.NSBevelLineJoinStyle NSBevelLineJoinStyle; | 2763 alias Cocoa.NSLineJoinStyle.NSBevelLineJoinStyle NSBevelLineJoinStyle; |
2762 alias NSBorderType.NSBezelBorder NSBezelBorder; | 2764 alias NSBorderType.NSBezelBorder NSBezelBorder; |
2763 public static const int NSBlueControlTint = 1; | 2765 public static const int NSBlueControlTint = 1; |
2764 public static const int NSBoldFontMask = 2; | 2766 public static const int NSBoldFontMask = 2; |
2765 alias Cocoa.NSBorderlessWindowMask NSBorderlessWindowMask; | 2767 alias Cocoa.NSBorderlessWindowMask NSBorderlessWindowMask; |
2766 public static const int NSBottomTabsBezelBorder = 2; | 2768 alias NSTabViewType.NSBottomTabsBezelBorder NSBottomTabsBezelBorder; |
2767 public static const int NSBoxCustom = 4; | 2769 public static const int NSBoxCustom = 4; |
2768 public static const int NSBoxOldStyle = 3; | 2770 public static const int NSBoxOldStyle = 3; |
2769 public static const int NSBoxPrimary = 0; | 2771 public static const int NSBoxPrimary = 0; |
2770 public static const int NSBoxSecondary = 1; | 2772 public static const int NSBoxSecondary = 1; |
2771 public static const NSBoxType NSBoxSeparator = 2; | 2773 public static const NSBoxType NSBoxSeparator = 2; |
2815 public static const int NSCircularSlider = 1; | 2817 public static const int NSCircularSlider = 1; |
2816 public static const int NSClearControlTint = 7; | 2818 public static const int NSClearControlTint = 7; |
2817 public static const int NSClearDisplayFunctionKey = 63290; | 2819 public static const int NSClearDisplayFunctionKey = 63290; |
2818 public static const int NSClearLineFunctionKey = 63289; | 2820 public static const int NSClearLineFunctionKey = 63289; |
2819 public static const int NSClipPagination = 2; | 2821 public static const int NSClipPagination = 2; |
2820 public static const int NSClockAndCalendarDatePickerStyle = 1; | 2822 alias NSDatePickerStyle.NSClockAndCalendarDatePickerStyle NSClockAndCalendarDatePickerStyle; |
2821 public static const int NSClosableWindowMask = 2; | 2823 public static const int NSClosableWindowMask = 2; |
2822 alias Cocoa.NSBezierPathElement.NSClosePathBezierPathElement NSClosePathBezierPathElement; | 2824 alias Cocoa.NSBezierPathElement.NSClosePathBezierPathElement NSClosePathBezierPathElement; |
2823 public static const int NSColorListModeColorPanel = 5; | 2825 public static const int NSColorListModeColorPanel = 5; |
2824 public static const int NSColorPanelAllModesMask = 65535; | 2826 public static const int NSColorPanelAllModesMask = 65535; |
2825 public static const int NSColorPanelCMYKModeMask = 4; | 2827 public static const int NSColorPanelCMYKModeMask = 4; |
3048 alias NSDatePickerElementFlags.NSHourMinuteDatePickerElementFlag NSHourMinuteDatePickerElementFlag; | 3050 alias NSDatePickerElementFlags.NSHourMinuteDatePickerElementFlag NSHourMinuteDatePickerElementFlag; |
3049 alias NSDatePickerElementFlags.NSHourMinuteSecondDatePickerElementFlag NSHourMinuteSecondDatePickerElementFlag; | 3051 alias NSDatePickerElementFlags.NSHourMinuteSecondDatePickerElementFlag NSHourMinuteSecondDatePickerElementFlag; |
3050 public static const int NSIdentityMappingCharacterCollection = 0; | 3052 public static const int NSIdentityMappingCharacterCollection = 0; |
3051 public static const int NSIllegalTextMovement = 0; | 3053 public static const int NSIllegalTextMovement = 0; |
3052 alias Cocoa.NSCellImagePosition.NSImageAbove NSImageAbove; | 3054 alias Cocoa.NSCellImagePosition.NSImageAbove NSImageAbove; |
3053 public static const int NSImageAlignBottom = 5; | 3055 alias Cocoa.NSImageAlignment.NSImageAlignBottom NSImageAlignBottom; |
3054 public static const int NSImageAlignBottomLeft = 6; | 3056 alias Cocoa.NSImageAlignment.NSImageAlignBottomLeft NSImageAlignBottomLeft; |
3055 public static const int NSImageAlignBottomRight = 7; | 3057 alias Cocoa.NSImageAlignment.NSImageAlignBottomRight NSImageAlignBottomRight; |
3056 public static const int NSImageAlignCenter = 0; | 3058 alias Cocoa.NSImageAlignment.NSImageAlignCenter NSImageAlignCenter; |
3057 public static const int NSImageAlignLeft = 4; | 3059 alias Cocoa.NSImageAlignment.NSImageAlignLeft NSImageAlignLeft; |
3058 public static const int NSImageAlignRight = 8; | 3060 alias Cocoa.NSImageAlignment.NSImageAlignRight NSImageAlignRight; |
3059 public static const int NSImageAlignTop = 1; | 3061 public static const int NSImageAlignTop = 1; |
3060 public static const int NSImageAlignTopLeft = 2; | 3062 public static const int NSImageAlignTopLeft = 2; |
3061 public static const int NSImageAlignTopRight = 3; | 3063 public static const int NSImageAlignTopRight = 3; |
3062 public static const int NSImageBelow = 4; | 3064 public static const int NSImageBelow = 4; |
3063 public static const int NSImageCacheAlways = 1; | 3065 public static const int NSImageCacheAlways = 1; |
3179 public static const int NSNoModeColorPanel = -1; | 3181 public static const int NSNoModeColorPanel = -1; |
3180 public static const int NSNoScrollerParts = 0; | 3182 public static const int NSNoScrollerParts = 0; |
3181 public static const int NSNoTabsBezelBorder = 4; | 3183 public static const int NSNoTabsBezelBorder = 4; |
3182 public static const int NSNoTabsLineBorder = 5; | 3184 public static const int NSNoTabsLineBorder = 5; |
3183 public static const int NSNoTabsNoBorder = 6; | 3185 public static const int NSNoTabsNoBorder = 6; |
3184 alias NSTitlePosition.NSNoTitle NSNoTitle; | 3186 alias Cocoa.NSTitlePosition.NSNoTitle NSNoTitle; |
3185 public static const int NSNoUnderlineStyle = 0; | 3187 public static const int NSNoUnderlineStyle = 0; |
3186 public static const int NSNonStandardCharacterSetFontMask = 8; | 3188 public static const int NSNonStandardCharacterSetFontMask = 8; |
3187 alias Cocoa.NSWindingRule.NSNonZeroWindingRule NSNonZeroWindingRule; | 3189 alias Cocoa.NSWindingRule.NSNonZeroWindingRule NSNonZeroWindingRule; |
3188 public static const int NSNonactivatingPanelMask = 128; | 3190 public static const int NSNonactivatingPanelMask = 128; |
3189 public static const int NSNormalWindowLevel = 0; | 3191 public static const int NSNormalWindowLevel = 0; |
3349 public static const int NSRunContinuesResponse = -1002; | 3351 public static const int NSRunContinuesResponse = -1002; |
3350 public static const int NSRunStoppedResponse = -1000; | 3352 public static const int NSRunStoppedResponse = -1000; |
3351 public static const int NSSaveAsOperation = 1; | 3353 public static const int NSSaveAsOperation = 1; |
3352 public static const int NSSaveOperation = 0; | 3354 public static const int NSSaveOperation = 0; |
3353 public static const int NSSaveToOperation = 2; | 3355 public static const int NSSaveToOperation = 2; |
3354 public static const int NSScaleNone = 2; | 3356 alias Cocoa.NSImageScaling.NSImageScaleNone NSScaleNone; |
3355 public static const int NSScaleProportionally = 0; | 3357 public static const int NSScaleProportionally = 0; |
3356 public static const int NSScaleToFit = 1; | 3358 public static const int NSScaleToFit = 1; |
3357 public static const int NSScreenChangedEventType = 8; | 3359 public static const int NSScreenChangedEventType = 8; |
3358 public static const int NSScreenSaverWindowLevel = 1000; | 3360 public static const int NSScreenSaverWindowLevel = 1000; |
3359 public static const int NSScrollLockFunctionKey = 63279; | 3361 public static const int NSScrollLockFunctionKey = 63279; |
3859 public static const int NSNotificationSuspensionBehaviorHold = 3; | 3861 public static const int NSNotificationSuspensionBehaviorHold = 3; |
3860 public static const int NSNumberFormatterBehavior10_0 = 1000; | 3862 public static const int NSNumberFormatterBehavior10_0 = 1000; |
3861 public static const int NSNumberFormatterBehavior10_4 = 1040; | 3863 public static const int NSNumberFormatterBehavior10_4 = 1040; |
3862 public static const int NSNumberFormatterBehaviorDefault = 0; | 3864 public static const int NSNumberFormatterBehaviorDefault = 0; |
3863 public static const int NSNumberFormatterCurrencyStyle = 2; | 3865 public static const int NSNumberFormatterCurrencyStyle = 2; |
3864 public static const int NSNumberFormatterDecimalStyle = 1; | 3866 alias NSNumberFormatterStyle.NSNumberFormatterDecimalStyle NSNumberFormatterDecimalStyle; |
3865 public static const int NSNumberFormatterNoStyle = 0; | 3867 public static const int NSNumberFormatterNoStyle = 0; |
3866 public static const int NSNumberFormatterPadAfterPrefix = 1; | 3868 public static const int NSNumberFormatterPadAfterPrefix = 1; |
3867 public static const int NSNumberFormatterPadAfterSuffix = 3; | 3869 public static const int NSNumberFormatterPadAfterSuffix = 3; |
3868 public static const int NSNumberFormatterPadBeforePrefix = 0; | 3870 public static const int NSNumberFormatterPadBeforePrefix = 0; |
3869 public static const int NSNumberFormatterPadBeforeSuffix = 2; | 3871 public static const int NSNumberFormatterPadBeforeSuffix = 2; |