annotate dwt/internal/objc/cocoa/Cocoa.d @ 116:580596d83ac4

Ported dwt.opengl.GLCanvas
author Jacob Carlborg <doob@me.com>
date Wed, 31 Dec 2008 15:46:19 +0100
parents c7f7f4d7091a
children e1c48e37e0f5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
380af2bdd8e5 Upload of whole dwt tree
Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
parents:
diff changeset
1 /**
380af2bdd8e5 Upload of whole dwt tree
Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
parents:
diff changeset
2 * Copyright: Copyright (c) 2008 Jacob Carlborg. All rights reserved.
380af2bdd8e5 Upload of whole dwt tree
Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
parents:
diff changeset
3 * Authors: Jacob Carlborg
45
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
4 * Version: Initial created: Nov 18, 2008
0
380af2bdd8e5 Upload of whole dwt tree
Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
parents:
diff changeset
5 * License: $(LINK2 http://opensource.org/licenses/bsd-license.php, BSD Style)
380af2bdd8e5 Upload of whole dwt tree
Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
parents:
diff changeset
6 *
380af2bdd8e5 Upload of whole dwt tree
Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
parents:
diff changeset
7 */
380af2bdd8e5 Upload of whole dwt tree
Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
parents:
diff changeset
8 module dwt.internal.objc.cocoa.Cocoa;
380af2bdd8e5 Upload of whole dwt tree
Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
parents:
diff changeset
9
45
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
10 import tango.stdc.config;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
11 import bindings = dwt.internal.objc.cocoa.bindings;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
12 import dwt.internal.objc.runtime;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
13
60
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
14 extern (C)
45
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
15 {
60
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
16 // *.h
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
17 extern
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
18 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
19 id NSAccessibilityButtonRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
20 id NSAccessibilityCheckBoxRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
21 id NSAccessibilityChildrenAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
22 id NSAccessibilityColumnRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
23 id NSAccessibilityComboBoxRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
24 id NSAccessibilityConfirmAction;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
25 id NSAccessibilityContentsAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
26 id NSAccessibilityDescriptionAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
27 id NSAccessibilityDialogSubrole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
28 id NSAccessibilityEnabledAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
29 id NSAccessibilityExpandedAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
30 id NSAccessibilityFloatingWindowSubrole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
31 id NSAccessibilityFocusedAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
32 id NSAccessibilityFocusedUIElementChangedNotification;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
33 id NSAccessibilityGridRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
34 id NSAccessibilityGroupRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
35 id NSAccessibilityHelpAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
36 id NSAccessibilityHelpTagRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
37 id NSAccessibilityHorizontalOrientationValue;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
38 id NSAccessibilityHorizontalScrollBarAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
39 id NSAccessibilityImageRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
40 id NSAccessibilityIncrementorRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
41 id NSAccessibilityInsertionPointLineNumberAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
42 id NSAccessibilityLabelValueAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
43 id NSAccessibilityLineForIndexParameterizedAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
44 id NSAccessibilityLinkRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
45 id NSAccessibilityLinkTextAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
46 id NSAccessibilityListRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
47 id NSAccessibilityMaxValueAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
48 id NSAccessibilityMenuBarRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
49 id NSAccessibilityMenuButtonRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
50 id NSAccessibilityMenuItemRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
51 id NSAccessibilityMenuRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
52 id NSAccessibilityMinValueAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
53 id NSAccessibilityNextContentsAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
54 id NSAccessibilityNumberOfCharactersAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
55 id NSAccessibilityOrientationAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
56 id NSAccessibilityOutlineRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
57 id NSAccessibilityOutlineRowSubrole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
58 id NSAccessibilityParentAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
59 id NSAccessibilityPopUpButtonRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
60 id NSAccessibilityPositionAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
61 id NSAccessibilityPressAction;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
62 id NSAccessibilityPreviousContentsAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
63 id NSAccessibilityProgressIndicatorRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
64 id NSAccessibilityRTFForRangeParameterizedAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
65 id NSAccessibilityRadioButtonRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
66 id NSAccessibilityRadioGroupRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
67 id NSAccessibilityRangeForIndexParameterizedAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
68 id NSAccessibilityRangeForLineParameterizedAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
69 id NSAccessibilityRangeForPositionParameterizedAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
70 id NSAccessibilityRoleAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
71 id NSAccessibilityRoleDescriptionAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
72 id NSAccessibilityRowRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
73 id NSAccessibilityScrollAreaRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
74 id NSAccessibilityScrollBarRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
75 id NSAccessibilitySelectedAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
76 id NSAccessibilitySelectedChildrenAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
77 id NSAccessibilitySelectedChildrenChangedNotification;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
78 id NSAccessibilitySelectedTextAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
79 id NSAccessibilitySelectedTextChangedNotification;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
80 id NSAccessibilitySelectedTextRangeAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
81 id NSAccessibilitySelectedTextRangesAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
82 id NSAccessibilitySizeAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
83 id NSAccessibilitySliderRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
84 id NSAccessibilitySortButtonRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
85 id NSAccessibilitySplitterRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
86 id NSAccessibilityStandardWindowSubrole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
87 id NSAccessibilityStaticTextRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
88 id NSAccessibilityStringForRangeParameterizedAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
89 id NSAccessibilityStyleRangeForIndexParameterizedAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
90 id NSAccessibilitySubroleAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
91 id NSAccessibilitySystemDialogSubrole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
92 id NSAccessibilityTabGroupRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
93 id NSAccessibilityTableRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
94 id NSAccessibilityTableRowSubrole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
95 id NSAccessibilityTabsAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
96 id NSAccessibilityTextAreaRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
97 id NSAccessibilityTextFieldRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
98 id NSAccessibilityTextLinkSubrole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
99 id NSAccessibilityTitleAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
100 id NSAccessibilityTitleUIElementAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
101 id NSAccessibilityToolbarRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
102 id NSAccessibilityTopLevelUIElementAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
103 id NSAccessibilityUnknownRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
104 id NSAccessibilityUnknownSubrole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
105 id NSAccessibilityValueAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
106 id NSAccessibilityValueChangedNotification;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
107 id NSAccessibilityValueDescriptionAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
108 id NSAccessibilityValueIndicatorRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
109 id NSAccessibilityVerticalOrientationValue;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
110 id NSAccessibilityVerticalScrollBarAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
111 id NSAccessibilityVisibleCharacterRangeAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
112 id NSAccessibilityVisibleChildrenAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
113 id NSAccessibilityWindowAttribute;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
114 id NSAccessibilityWindowRole;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
115 id NSBackgroundColorAttributeName;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
116 id NSBaselineOffsetAttributeName;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
117 id NSCalibratedRGBColorSpace;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
118 id NSDeviceRGBColorSpace;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
119 id NSDeviceResolution;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
120 id NSDragPboard;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
121 id NSFilenamesPboardType;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
122 id NSFontAttributeName;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
123 id NSForegroundColorAttributeName;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
124 id NSHTMLPboardType;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
125 id NSLinkAttributeName;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
126 id NSParagraphStyleAttributeName;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
127 id NSPrintAllPages;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
128 id NSPrintCopies;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
129 id NSPrintFirstPage;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
130 id NSPrintJobDisposition;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
131 id NSPrintLastPage;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
132 id NSPrintMustCollate;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
133 id NSPrintPreviewJob;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
134 id NSPrintSaveJob;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
135 id NSPrintSavePath;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
136 id NSPrintSpoolJob;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
137 id NSRTFPboardType;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
138 id NSStrikethroughColorAttributeName;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
139 id NSStrikethroughStyleAttributeName;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
140 id NSStringPboardType;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
141 id NSTIFFPboardType;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
142 id NSURLPboardType;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
143 id NSUnderlineColorAttributeName;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
144 id NSUnderlineStyleAttributeName;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
145 id NSDefaultRunLoopMode;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
146 id NSErrorFailingURLStringKey;
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
147 }
45
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
148 }
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
149
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
150
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
151
60
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
152
45
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
153 //NSAccessibility.h
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
154 alias bindings.NSAccessibilityActionDescription NSAccessibilityActionDescription;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
155 alias bindings.NSAccessibilityPostNotification NSAccessibilityPostNotification;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
156 alias bindings.NSAccessibilityRaiseBadArgumentException NSAccessibilityRaiseBadArgumentException;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
157 alias bindings.NSAccessibilityRoleDescription NSAccessibilityRoleDescription;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
158 alias bindings.NSAccessibilityRoleDescriptionForUIElement NSAccessibilityRoleDescriptionForUIElement;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
159 alias bindings.NSAccessibilityUnignoredAncestor NSAccessibilityUnignoredAncestor;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
160 alias bindings.NSAccessibilityUnignoredChildren NSAccessibilityUnignoredChildren;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
161 alias bindings.NSAccessibilityUnignoredChildrenForOnlyChild NSAccessibilityUnignoredChildrenForOnlyChild;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
162 alias bindings.NSAccessibilityUnignoredDescendant NSAccessibilityUnignoredDescendant;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
163
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
164
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
165
60
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
166 // NSAlert.h
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
167 enum NSAlertStyle : NSUInteger
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
168 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
169 NSWarningAlertStyle = 0,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
170 NSInformationalAlertStyle = 1,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
171 NSCriticalAlertStyle = 2
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
172 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
173
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
174
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
175
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
176 // NSApplication.h
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
177 enum NSApplicationTerminateReply
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
178 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
179 NSTerminateCancel = 0,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
180 NSTerminateNow = 1,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
181 NSTerminateLater = 2
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
182 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
183
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
184
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
185
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
186 // NSBezierPath.h
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
187 enum NSBezierPathElement
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
188 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
189 NSMoveToBezierPathElement,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
190 NSLineToBezierPathElement,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
191 NSCurveToBezierPathElement,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
192 NSClosePathBezierPathElement
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
193 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
194
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
195 enum NSLineCapStyle
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
196 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
197 NSButtLineCapStyle = 0,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
198 NSRoundLineCapStyle = 1,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
199 NSSquareLineCapStyle = 2
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
200 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
201
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
202 enum NSLineJoinStyle
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
203 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
204 NSMiterLineJoinStyle = 0,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
205 NSRoundLineJoinStyle = 1,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
206 NSBevelLineJoinStyle = 2
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
207 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
208
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
209 enum NSWindingRule
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
210 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
211 NSNonZeroWindingRule = 0,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
212 NSEvenOddWindingRule = 1
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
213 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
214
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
215
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
216
90
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
217 // NSBox.h
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
218 enum NSTitlePosition
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
219 {
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
220 NSNoTitle = 0,
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
221 NSAboveTop = 1,
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
222 NSAtTop = 2,
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
223 NSBelowTop = 3,
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
224 NSAboveBottom = 4,
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
225 NSAtBottom = 5,
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
226 NSBelowBottom = 6
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
227 }
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
228
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
229
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
230
60
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
231 // NSButtonCell.h
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
232 enum NSBezelStyle : NSUInteger {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
233 NSRoundedBezelStyle = 1,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
234 NSRegularSquareBezelStyle = 2,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
235 NSThickSquareBezelStyle = 3,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
236 NSThickerSquareBezelStyle = 4,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
237 NSDisclosureBezelStyle = 5,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
238 NSShadowlessSquareBezelStyle = 6,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
239 NSCircularBezelStyle = 7,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
240 NSTexturedSquareBezelStyle = 8,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
241 NSHelpButtonBezelStyle = 9,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
242 NSSmallSquareBezelStyle = 10,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
243 NSTexturedRoundedBezelStyle = 11,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
244 NSRoundRectBezelStyle = 12,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
245 NSRecessedBezelStyle = 13,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
246 NSRoundedDisclosureBezelStyle = 14,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
247 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
248
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
249 enum NSButtonType : NSUInteger {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
250 NSMomentaryLightButton = 0,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
251 NSPushOnPushOffButton = 1,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
252 NSToggleButton = 2,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
253 NSSwitchButton = 3,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
254 NSRadioButton = 4,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
255 NSMomentaryChangeButton = 5,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
256 NSOnOffButton = 6,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
257 NSMomentaryPushInButton = 7,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
258 NSMomentaryPushButton = 0,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
259 NSMomentaryLight = 7
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
260 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
261
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
262
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
263
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
264 // NSCell.h
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
265 enum NSControlSize : NSUInteger
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
266 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
267 NSRegularControlSize,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
268 NSSmallControlSize,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
269 NSMiniControlSize
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
270 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
271
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
272 enum NSImageScaling : NSUInteger
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
273 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
274 NSImageScaleProportionallyDown = 0,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
275 NSImageScaleAxesIndependently,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
276 NSImageScaleNone,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
277 NSImageScaleProportionallyUpOrDown
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
278 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
279
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
280 enum NSCellImagePosition : NSUInteger
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
281 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
282 NSNoImage = 0,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
283 NSImageOnly = 1,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
284 NSImageLeft = 2,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
285 NSImageRight = 3,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
286 NSImageBelow = 4,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
287 NSImageAbove = 5,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
288 NSImageOverlaps = 6
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
289 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
290
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
291
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
292
45
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
293 // NSDragging.h
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
294 enum NSDragOperation : uint
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
295 {
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
296 NSDragOperationNone = 0,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
297 NSDragOperationCopy = 1,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
298 NSDragOperationLink = 2,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
299 NSDragOperationGeneric = 4,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
300 NSDragOperationPrivate = 8,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
301 NSDragOperationAll_Obsolete = 15,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
302 NSDragOperationMove = 16,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
303 NSDragOperationDelete = 32,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
304 NSDragOperationEvery = uint.max // UINT_MAX
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
305 }
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
306
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
307
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
308
60
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
309 // NSEvent.h
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
310 enum NSEventType
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
311 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
312 NSLeftMouseDown = 1,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
313 NSLeftMouseUp = 2,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
314 NSRightMouseDown = 3,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
315 NSRightMouseUp = 4,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
316 NSMouseMoved = 5,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
317 NSLeftMouseDragged = 6,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
318 NSRightMouseDragged = 7,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
319 NSMouseEntered = 8,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
320 NSMouseExited = 9,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
321 NSKeyDown = 10,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
322 NSKeyUp = 11,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
323 NSFlagsChanged = 12,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
324 NSAppKitDefined = 13,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
325 NSSystemDefined = 14,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
326 NSApplicationDefined = 15,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
327 NSPeriodic = 16,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
328 NSCursorUpdate = 17,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
329 NSScrollWheel = 22,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
330 NSTabletPoint = 23,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
331 NSTabletProximity = 24,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
332 NSOtherMouseDown = 25,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
333 NSOtherMouseUp = 26,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
334 NSOtherMouseDragged = 27
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
335 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
336
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
337
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
338
45
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
339 // NSGraphics.h
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
340 alias int NSWindowDepth;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
341
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
342 alias bindings.NSBeep NSBeep;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
343 alias bindings.NSBitsPerPixelFromDepth NSBitsPerPixelFromDepth;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
344
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
345 enum NSCompositingOperation
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
346 {
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
347 NSCompositeClear = 0,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
348 NSCompositeCopy = 1,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
349 NSCompositeSourceOver = 2,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
350 NSCompositeSourceIn = 3,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
351 NSCompositeSourceOut = 4,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
352 NSCompositeSourceAtop = 5,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
353 NSCompositeDestinationOver = 6,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
354 NSCompositeDestinationIn = 7,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
355 NSCompositeDestinationOut = 8,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
356 NSCompositeDestinationAtop = 9,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
357 NSCompositeXOR = 10,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
358 NSCompositePlusDarker = 11,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
359 NSCompositeHighlight = 12,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
360 NSCompositePlusLighter = 13
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
361 }
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
362
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
363 enum NSWindowOrderingMode
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
364 {
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
365 NSWindowAbove = 1,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
366 NSWindowBelow = -1,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
367 NSWindowOut = 0
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
368 }
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
369
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
370 enum NSFocusRingType
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
371 {
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
372 NSFocusRingTypeDefault = 0,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
373 NSFocusRingTypeNone = 1,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
374 NSFocusRingTypeExterior = 2
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
375 }
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
376
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
377 enum NSBackingStoreType
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
378 {
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
379 NSBackingStoreRetained = 0,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
380 NSBackingStoreNonretained = 1,
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
381 NSBackingStoreBuffered = 2
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
382 }
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
383
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
384
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
385
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
386 //NSGeometry.h
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
387 alias bindings.NSIntersectionRect NSIntersectionRect;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
388
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
389
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
390
60
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
391 // NSGradient.h
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
392 enum NSGradientDrawingOptions : NSUInteger
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
393 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
394 NSGradientDrawsBeforeStartingLocation = (1 << 0),
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
395 NSGradientDrawsAfterEndingLocation = (1 << 1),
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
396 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
397
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
398
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
399
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
400 // NSGraphicsContext.h
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
401 enum NSImageInterpolation
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
402 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
403 NSImageInterpolationDefault,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
404 NSImageInterpolationNone,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
405 NSImageInterpolationLow,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
406 NSImageInterpolationHigh
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
407 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
408
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
409
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
410
45
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
411 // NSHFSFileTypes.h
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
412 alias bindings.NSFileTypeForHFSTypeCode NSFileTypeForHFSTypeCode;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
413
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
414
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
415
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
416 //IKPictureTaker.h
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
417 alias c_long NSInteger;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
418 alias c_ulong NSUInteger;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
419
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
420
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
421
60
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
422 // NSImage.h
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
423 enum NSImageCacheMode
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
424 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
425 NSImageCacheDefault,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
426 NSImageCacheAlways,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
427 NSImageCacheBySize,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
428 NSImageCacheNever
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
429 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
430
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
431
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
432
90
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
433 // NSImageCell.h
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
434 enum NSImageAlignment
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
435 {
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
436 NSImageAlignCenter = 0,
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
437 NSImageAlignTop,
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
438 NSImageAlignTopLeft,
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
439 NSImageAlignTopRight,
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
440 NSImageAlignLeft,
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
441 NSImageAlignBottom,
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
442 NSImageAlignBottomLeft,
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
443 NSImageAlignBottomRight,
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
444 NSImageAlignRight
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
445 }
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
446
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
447
c7f7f4d7091a All widgets are ported
Jacob Carlborg <doob@me.com>
parents: 60
diff changeset
448
60
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
449 // NSBitmapImageRep.h
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
450 enum NSTIFFCompression : NSUInteger {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
451 NSTIFFCompressionNone = 1,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
452 NSTIFFCompressionCCITTFAX3 = 3,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
453 NSTIFFCompressionCCITTFAX4 = 4,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
454 NSTIFFCompressionLZW = 5,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
455 NSTIFFCompressionJPEG = 6,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
456 NSTIFFCompressionNEXT = 32766,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
457 NSTIFFCompressionPackBits = 32773,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
458 NSTIFFCompressionOldJPEG = 32865
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
459 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
460
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
461 enum NSBitmapFormat : NSUInteger {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
462 NSAlphaFirstBitmapFormat = 1 << 0,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
463 NSAlphaNonpremultipliedBitmapFormat = 1 << 1,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
464 NSFloatingPointSamplesBitmapFormat = 1 << 2
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
465 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
466
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
467
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
468
45
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
469 // NSObjCRuntime.h
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
470 alias bindings.NSGetSizeAndAlignment NSGetSizeAndAlignment;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
471
51
e6f04eb518ae Updated Canvas to 3.514
Jacob Carlborg <doob@me.com>
parents: 45
diff changeset
472 enum
e6f04eb518ae Updated Canvas to 3.514
Jacob Carlborg <doob@me.com>
parents: 45
diff changeset
473 {
e6f04eb518ae Updated Canvas to 3.514
Jacob Carlborg <doob@me.com>
parents: 45
diff changeset
474 NSNotFound = 0x7fffffff
e6f04eb518ae Updated Canvas to 3.514
Jacob Carlborg <doob@me.com>
parents: 45
diff changeset
475 }
45
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
476
60
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
477
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
478
116
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
479 // NSOpenGL.h
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
480 enum NSOpenGLPixelFormatAttribute : uint
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
481 {
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
482 NSOpenGLPFAAllRenderers = 1,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
483 NSOpenGLPFADoubleBuffer = 5,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
484 NSOpenGLPFAStereo = 6,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
485 NSOpenGLPFAAuxBuffers = 7,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
486 NSOpenGLPFAColorSize = 8,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
487 NSOpenGLPFAAlphaSize = 11,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
488 NSOpenGLPFADepthSize = 12,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
489 NSOpenGLPFAStencilSize = 13,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
490 NSOpenGLPFAAccumSize = 14,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
491 NSOpenGLPFAMinimumPolicy = 51,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
492 NSOpenGLPFAMaximumPolicy = 52,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
493 NSOpenGLPFAOffScreen = 53,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
494 NSOpenGLPFAFullScreen = 54,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
495 NSOpenGLPFASampleBuffers = 55,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
496 NSOpenGLPFASamples = 56,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
497 NSOpenGLPFAAuxDepthStencil = 57,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
498 NSOpenGLPFAColorFloat = 58,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
499 NSOpenGLPFAMultisample = 59,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
500 NSOpenGLPFASupersample = 60,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
501 NSOpenGLPFASampleAlpha = 61,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
502 NSOpenGLPFARendererID = 70,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
503 NSOpenGLPFASingleRenderer = 71,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
504 NSOpenGLPFANoRecovery = 72,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
505 NSOpenGLPFAAccelerated = 73,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
506 NSOpenGLPFAClosestPolicy = 74,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
507 NSOpenGLPFARobust = 75,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
508 NSOpenGLPFABackingStore = 76,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
509 NSOpenGLPFAMPSafe = 78,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
510 NSOpenGLPFAWindow = 80,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
511 NSOpenGLPFAMultiScreen = 81,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
512 NSOpenGLPFACompliant = 83,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
513 NSOpenGLPFAScreenMask = 84,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
514 NSOpenGLPFAPixelBuffer = 90,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
515 NSOpenGLPFAAllowOfflineRenderers = 96,
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
516 NSOpenGLPFAVirtualScreenCount = 128
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
517 }
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
518
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
519
580596d83ac4 Ported dwt.opengl.GLCanvas
Jacob Carlborg <doob@me.com>
parents: 90
diff changeset
520
60
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
521 // NSParagraphStyle.h
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
522 enum NSLineBreakMode
45
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
523 {
60
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
524 NSLineBreakByWordWrapping = 0,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
525 NSLineBreakByCharWrapping,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
526 NSLineBreakByClipping,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
527 NSLineBreakByTruncatingHead,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
528 NSLineBreakByTruncatingTail,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
529 NSLineBreakByTruncatingMiddle
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
530 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
531
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
532 enum NSTextTabType
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
533 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
534 NSLeftTabStopType = 0,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
535 NSRightTabStopType,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
536 NSCenterTabStopType,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
537 NSDecimalTabStopType
45
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
538 }
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
539
60
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
540
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
541
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
542 // NSPathUtilities.h
45
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
543 alias bindings.NSSearchPathForDirectoriesInDomains NSSearchPathForDirectoriesInDomains;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
544 alias bindings.NSTemporaryDirectory NSTemporaryDirectory;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
545
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
546
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
547
60
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
548 // NSText.h
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
549 enum NSTextAlignment
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
550 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
551 NSLeftTextAlignment = 0,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
552 NSRightTextAlignment = 1,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
553 NSCenterTextAlignment = 2,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
554 NSJustifiedTextAlignment = 3,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
555 NSNaturalTextAlignment = 4
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
556 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
557
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
558
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
559
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
560 // NSWindow.h
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
561 enum : NSUInteger
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
562 {
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
563 NSBorderlessWindowMask = 0,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
564 NSTitledWindowMask = 1 << 0,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
565 NSClosableWindowMask = 1 << 1,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
566 NSMiniaturizableWindowMask = 1 << 2,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
567 NSResizableWindowMask = 1 << 3,
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
568 NSTexturedBackgroundWindowMask = 1 << 8
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
569 }
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
570
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
571
62202ce0039f Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents: 51
diff changeset
572
45
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
573 // NSZone.h
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
574 alias void* _NSZone;
d8635bb48c7c Merge with SWT 3.5
Jacob Carlborg <doob@me.com>
parents: 0
diff changeset
575 alias _NSZone NSZone;