Mercurial > projects > dwt-mac
annotate dwt/internal/objc/cocoa/Cocoa.d @ 123:63a09873578e
Fixed compile errors
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Thu, 15 Jan 2009 23:08:54 +0100 |
parents | 2e671fa40eec |
children | 3d9eb62cd2e3 |
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 | 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 | 10 import tango.stdc.config; |
123 | 11 |
12 import dwt.internal.c.Carbon; | |
13 import dwt.internal.objc.runtime; | |
14 | |
15 // NSPathUtilities.h | |
16 enum NSSearchPathDirectory | |
17 { | |
18 NSApplicationDirectory = 1, | |
19 NSDemoApplicationDirectory, | |
20 NSDeveloperApplicationDirectory, | |
21 NSAdminApplicationDirectory, | |
22 NSLibraryDirectory, | |
23 NSDeveloperDirectory, | |
24 NSUserDirectory, | |
25 NSDocumentationDirectory, | |
26 NSDocumentDirectory, | |
27 NSCoreServiceDirectory, | |
28 NSDesktopDirectory = 12, | |
29 NSCachesDirectory = 13, | |
30 NSApplicationSupportDirectory = 14, | |
31 NSDownloadsDirectory = 15, | |
32 NSAllApplicationsDirectory = 100, | |
33 NSAllLibrariesDirectory = 101 | |
34 } | |
35 | |
36 enum NSSearchPathDomainMask | |
37 { | |
38 NSUserDomainMask = 1, | |
39 NSLocalDomainMask = 2, | |
40 NSNetworkDomainMask = 4, | |
41 NSSystemDomainMask = 8, | |
42 NSAllDomainsMask = 0x0ffff, | |
43 } | |
44 | |
45 // This needs to be down here otherwise the above enums will cause forward reference errors | |
45 | 46 import bindings = dwt.internal.objc.cocoa.bindings; |
47 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
48 extern (C) |
45 | 49 { |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
50 // *.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
51 extern |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
52 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
53 id NSAccessibilityButtonRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
54 id NSAccessibilityCheckBoxRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
55 id NSAccessibilityChildrenAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
56 id NSAccessibilityColumnRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
57 id NSAccessibilityComboBoxRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
58 id NSAccessibilityConfirmAction; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
59 id NSAccessibilityContentsAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
60 id NSAccessibilityDescriptionAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
61 id NSAccessibilityDialogSubrole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
62 id NSAccessibilityEnabledAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
63 id NSAccessibilityExpandedAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
64 id NSAccessibilityFloatingWindowSubrole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
65 id NSAccessibilityFocusedAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
66 id NSAccessibilityFocusedUIElementChangedNotification; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
67 id NSAccessibilityGridRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
68 id NSAccessibilityGroupRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
69 id NSAccessibilityHelpAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
70 id NSAccessibilityHelpTagRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
71 id NSAccessibilityHorizontalOrientationValue; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
72 id NSAccessibilityHorizontalScrollBarAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
73 id NSAccessibilityImageRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
74 id NSAccessibilityIncrementorRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
75 id NSAccessibilityInsertionPointLineNumberAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
76 id NSAccessibilityLabelValueAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
77 id NSAccessibilityLineForIndexParameterizedAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
78 id NSAccessibilityLinkRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
79 id NSAccessibilityLinkTextAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
80 id NSAccessibilityListRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
81 id NSAccessibilityMaxValueAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
82 id NSAccessibilityMenuBarRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
83 id NSAccessibilityMenuButtonRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
84 id NSAccessibilityMenuItemRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
85 id NSAccessibilityMenuRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
86 id NSAccessibilityMinValueAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
87 id NSAccessibilityNextContentsAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
88 id NSAccessibilityNumberOfCharactersAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
89 id NSAccessibilityOrientationAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
90 id NSAccessibilityOutlineRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
91 id NSAccessibilityOutlineRowSubrole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
92 id NSAccessibilityParentAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
93 id NSAccessibilityPopUpButtonRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
94 id NSAccessibilityPositionAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
95 id NSAccessibilityPressAction; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
96 id NSAccessibilityPreviousContentsAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
97 id NSAccessibilityProgressIndicatorRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
98 id NSAccessibilityRTFForRangeParameterizedAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
99 id NSAccessibilityRadioButtonRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
100 id NSAccessibilityRadioGroupRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
101 id NSAccessibilityRangeForIndexParameterizedAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
102 id NSAccessibilityRangeForLineParameterizedAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
103 id NSAccessibilityRangeForPositionParameterizedAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
104 id NSAccessibilityRoleAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
105 id NSAccessibilityRoleDescriptionAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
106 id NSAccessibilityRowRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
107 id NSAccessibilityScrollAreaRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
108 id NSAccessibilityScrollBarRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
109 id NSAccessibilitySelectedAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
110 id NSAccessibilitySelectedChildrenAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
111 id NSAccessibilitySelectedChildrenChangedNotification; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
112 id NSAccessibilitySelectedTextAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
113 id NSAccessibilitySelectedTextChangedNotification; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
114 id NSAccessibilitySelectedTextRangeAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
115 id NSAccessibilitySelectedTextRangesAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
116 id NSAccessibilitySizeAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
117 id NSAccessibilitySliderRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
118 id NSAccessibilitySortButtonRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
119 id NSAccessibilitySplitterRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
120 id NSAccessibilityStandardWindowSubrole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
121 id NSAccessibilityStaticTextRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
122 id NSAccessibilityStringForRangeParameterizedAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
123 id NSAccessibilityStyleRangeForIndexParameterizedAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
124 id NSAccessibilitySubroleAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
125 id NSAccessibilitySystemDialogSubrole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
126 id NSAccessibilityTabGroupRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
127 id NSAccessibilityTableRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
128 id NSAccessibilityTableRowSubrole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
129 id NSAccessibilityTabsAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
130 id NSAccessibilityTextAreaRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
131 id NSAccessibilityTextFieldRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
132 id NSAccessibilityTextLinkSubrole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
133 id NSAccessibilityTitleAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
134 id NSAccessibilityTitleUIElementAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
135 id NSAccessibilityToolbarRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
136 id NSAccessibilityTopLevelUIElementAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
137 id NSAccessibilityUnknownRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
138 id NSAccessibilityUnknownSubrole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
139 id NSAccessibilityValueAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
140 id NSAccessibilityValueChangedNotification; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
141 id NSAccessibilityValueDescriptionAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
142 id NSAccessibilityValueIndicatorRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
143 id NSAccessibilityVerticalOrientationValue; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
144 id NSAccessibilityVerticalScrollBarAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
145 id NSAccessibilityVisibleCharacterRangeAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
146 id NSAccessibilityVisibleChildrenAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
147 id NSAccessibilityWindowAttribute; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
148 id NSAccessibilityWindowRole; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
149 id NSBackgroundColorAttributeName; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
150 id NSBaselineOffsetAttributeName; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
151 id NSCalibratedRGBColorSpace; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
152 id NSDeviceRGBColorSpace; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
153 id NSDeviceResolution; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
154 id NSDragPboard; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
155 id NSFilenamesPboardType; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
156 id NSFontAttributeName; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
157 id NSForegroundColorAttributeName; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
158 id NSHTMLPboardType; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
159 id NSLinkAttributeName; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
160 id NSParagraphStyleAttributeName; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
161 id NSPrintAllPages; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
162 id NSPrintCopies; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
163 id NSPrintFirstPage; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
164 id NSPrintJobDisposition; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
165 id NSPrintLastPage; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
166 id NSPrintMustCollate; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
167 id NSPrintPreviewJob; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
168 id NSPrintSaveJob; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
169 id NSPrintSavePath; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
170 id NSPrintSpoolJob; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
171 id NSRTFPboardType; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
172 id NSStrikethroughColorAttributeName; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
173 id NSStrikethroughStyleAttributeName; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
174 id NSStringPboardType; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
175 id NSTIFFPboardType; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
176 id NSURLPboardType; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
177 id NSUnderlineColorAttributeName; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
178 id NSUnderlineStyleAttributeName; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
179 id NSDefaultRunLoopMode; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
180 id NSErrorFailingURLStringKey; |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
181 } |
45 | 182 } |
183 | |
184 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
185 |
123 | 186 |
45 | 187 //NSAccessibility.h |
188 alias bindings.NSAccessibilityActionDescription NSAccessibilityActionDescription; | |
189 alias bindings.NSAccessibilityPostNotification NSAccessibilityPostNotification; | |
190 alias bindings.NSAccessibilityRaiseBadArgumentException NSAccessibilityRaiseBadArgumentException; | |
191 alias bindings.NSAccessibilityRoleDescription NSAccessibilityRoleDescription; | |
192 alias bindings.NSAccessibilityRoleDescriptionForUIElement NSAccessibilityRoleDescriptionForUIElement; | |
193 alias bindings.NSAccessibilityUnignoredAncestor NSAccessibilityUnignoredAncestor; | |
194 alias bindings.NSAccessibilityUnignoredChildren NSAccessibilityUnignoredChildren; | |
195 alias bindings.NSAccessibilityUnignoredChildrenForOnlyChild NSAccessibilityUnignoredChildrenForOnlyChild; | |
196 alias bindings.NSAccessibilityUnignoredDescendant NSAccessibilityUnignoredDescendant; | |
197 | |
198 | |
199 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
200 // NSAlert.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
201 enum NSAlertStyle : NSUInteger |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
202 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
203 NSWarningAlertStyle = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
204 NSInformationalAlertStyle = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
205 NSCriticalAlertStyle = 2 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
206 } |
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 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
210 // NSApplication.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
211 enum NSApplicationTerminateReply |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
212 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
213 NSTerminateCancel = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
214 NSTerminateNow = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
215 NSTerminateLater = 2 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
216 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
217 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
218 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
219 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
220 // NSBezierPath.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
221 enum NSBezierPathElement |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
222 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
223 NSMoveToBezierPathElement, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
224 NSLineToBezierPathElement, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
225 NSCurveToBezierPathElement, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
226 NSClosePathBezierPathElement |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
227 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
228 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
229 enum NSLineCapStyle |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
230 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
231 NSButtLineCapStyle = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
232 NSRoundLineCapStyle = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
233 NSSquareLineCapStyle = 2 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
234 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
235 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
236 enum NSLineJoinStyle |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
237 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
238 NSMiterLineJoinStyle = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
239 NSRoundLineJoinStyle = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
240 NSBevelLineJoinStyle = 2 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
241 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
242 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
243 enum NSWindingRule |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
244 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
245 NSNonZeroWindingRule = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
246 NSEvenOddWindingRule = 1 |
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 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
250 |
90 | 251 // NSBox.h |
252 enum NSTitlePosition | |
253 { | |
254 NSNoTitle = 0, | |
255 NSAboveTop = 1, | |
256 NSAtTop = 2, | |
257 NSBelowTop = 3, | |
258 NSAboveBottom = 4, | |
259 NSAtBottom = 5, | |
260 NSBelowBottom = 6 | |
261 } | |
262 | |
263 | |
264 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
265 // NSButtonCell.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
266 enum NSBezelStyle : NSUInteger { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
267 NSRoundedBezelStyle = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
268 NSRegularSquareBezelStyle = 2, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
269 NSThickSquareBezelStyle = 3, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
270 NSThickerSquareBezelStyle = 4, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
271 NSDisclosureBezelStyle = 5, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
272 NSShadowlessSquareBezelStyle = 6, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
273 NSCircularBezelStyle = 7, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
274 NSTexturedSquareBezelStyle = 8, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
275 NSHelpButtonBezelStyle = 9, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
276 NSSmallSquareBezelStyle = 10, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
277 NSTexturedRoundedBezelStyle = 11, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
278 NSRoundRectBezelStyle = 12, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
279 NSRecessedBezelStyle = 13, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
280 NSRoundedDisclosureBezelStyle = 14, |
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 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
283 enum NSButtonType : NSUInteger { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
284 NSMomentaryLightButton = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
285 NSPushOnPushOffButton = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
286 NSToggleButton = 2, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
287 NSSwitchButton = 3, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
288 NSRadioButton = 4, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
289 NSMomentaryChangeButton = 5, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
290 NSOnOffButton = 6, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
291 NSMomentaryPushInButton = 7, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
292 NSMomentaryPushButton = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
293 NSMomentaryLight = 7 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
294 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
295 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
296 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
297 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
298 // NSCell.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
299 enum NSControlSize : NSUInteger |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
300 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
301 NSRegularControlSize, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
302 NSSmallControlSize, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
303 NSMiniControlSize |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
304 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
305 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
306 enum NSImageScaling : NSUInteger |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
307 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
308 NSImageScaleProportionallyDown = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
309 NSImageScaleAxesIndependently, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
310 NSImageScaleNone, |
123 | 311 NSImageScaleProportionallyUpOrDown, |
312 | |
313 // Deprecated, only for dwt compatibility | |
314 NSScaleProportionally = NSImageScaleProportionallyDown, | |
315 NSScaleToFit = NSImageScaleAxesIndependently, | |
316 NSScaleNone = NSImageScaleNone | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
317 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
318 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
319 enum NSCellImagePosition : NSUInteger |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
320 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
321 NSNoImage = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
322 NSImageOnly = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
323 NSImageLeft = 2, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
324 NSImageRight = 3, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
325 NSImageBelow = 4, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
326 NSImageAbove = 5, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
327 NSImageOverlaps = 6 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
328 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
329 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
330 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
331 |
123 | 332 // NSDatePicker.h |
333 enum NSDatePickerElementFlags : NSUInteger | |
334 { | |
335 NSHourMinuteDatePickerElementFlag = 0x000c, | |
336 NSHourMinuteSecondDatePickerElementFlag = 0x000e, | |
337 NSTimeZoneDatePickerElementFlag = 0x0010, | |
338 NSYearMonthDatePickerElementFlag = 0x00c0, | |
339 NSYearMonthDayDatePickerElementFlag = 0x00e0, | |
340 NSEraDatePickerElementFlag = 0x0100, | |
341 } | |
342 | |
343 enum NSDatePickerStyle : NSUInteger | |
344 { | |
345 NSTextFieldAndStepperDatePickerStyle = 0, | |
346 NSClockAndCalendarDatePickerStyle = 1, | |
347 NSTextFieldDatePickerStyle = 2 | |
348 } | |
349 | |
350 | |
351 | |
45 | 352 // NSDragging.h |
353 enum NSDragOperation : uint | |
354 { | |
355 NSDragOperationNone = 0, | |
356 NSDragOperationCopy = 1, | |
357 NSDragOperationLink = 2, | |
358 NSDragOperationGeneric = 4, | |
359 NSDragOperationPrivate = 8, | |
360 NSDragOperationAll_Obsolete = 15, | |
361 NSDragOperationMove = 16, | |
362 NSDragOperationDelete = 32, | |
363 NSDragOperationEvery = uint.max // UINT_MAX | |
364 } | |
365 | |
366 | |
367 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
368 // NSEvent.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
369 enum NSEventType |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
370 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
371 NSLeftMouseDown = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
372 NSLeftMouseUp = 2, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
373 NSRightMouseDown = 3, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
374 NSRightMouseUp = 4, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
375 NSMouseMoved = 5, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
376 NSLeftMouseDragged = 6, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
377 NSRightMouseDragged = 7, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
378 NSMouseEntered = 8, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
379 NSMouseExited = 9, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
380 NSKeyDown = 10, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
381 NSKeyUp = 11, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
382 NSFlagsChanged = 12, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
383 NSAppKitDefined = 13, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
384 NSSystemDefined = 14, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
385 NSApplicationDefined = 15, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
386 NSPeriodic = 16, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
387 NSCursorUpdate = 17, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
388 NSScrollWheel = 22, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
389 NSTabletPoint = 23, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
390 NSTabletProximity = 24, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
391 NSOtherMouseDown = 25, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
392 NSOtherMouseUp = 26, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
393 NSOtherMouseDragged = 27 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
394 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
395 |
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 |
45 | 398 // NSGraphics.h |
399 alias int NSWindowDepth; | |
400 | |
401 alias bindings.NSBeep NSBeep; | |
402 alias bindings.NSBitsPerPixelFromDepth NSBitsPerPixelFromDepth; | |
403 | |
404 enum NSCompositingOperation | |
405 { | |
406 NSCompositeClear = 0, | |
407 NSCompositeCopy = 1, | |
408 NSCompositeSourceOver = 2, | |
409 NSCompositeSourceIn = 3, | |
410 NSCompositeSourceOut = 4, | |
411 NSCompositeSourceAtop = 5, | |
412 NSCompositeDestinationOver = 6, | |
413 NSCompositeDestinationIn = 7, | |
414 NSCompositeDestinationOut = 8, | |
415 NSCompositeDestinationAtop = 9, | |
416 NSCompositeXOR = 10, | |
417 NSCompositePlusDarker = 11, | |
418 NSCompositeHighlight = 12, | |
419 NSCompositePlusLighter = 13 | |
420 } | |
421 | |
422 enum NSWindowOrderingMode | |
423 { | |
424 NSWindowAbove = 1, | |
425 NSWindowBelow = -1, | |
426 NSWindowOut = 0 | |
427 } | |
428 | |
429 enum NSFocusRingType | |
430 { | |
431 NSFocusRingTypeDefault = 0, | |
432 NSFocusRingTypeNone = 1, | |
433 NSFocusRingTypeExterior = 2 | |
434 } | |
435 | |
436 enum NSBackingStoreType | |
437 { | |
438 NSBackingStoreRetained = 0, | |
439 NSBackingStoreNonretained = 1, | |
440 NSBackingStoreBuffered = 2 | |
441 } | |
442 | |
443 | |
444 | |
445 //NSGeometry.h | |
446 alias bindings.NSIntersectionRect NSIntersectionRect; | |
447 | |
448 | |
449 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
450 // NSGradient.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
451 enum NSGradientDrawingOptions : NSUInteger |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
452 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
453 NSGradientDrawsBeforeStartingLocation = (1 << 0), |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
454 NSGradientDrawsAfterEndingLocation = (1 << 1), |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
455 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
456 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
457 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
458 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
459 // NSGraphicsContext.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
460 enum NSImageInterpolation |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
461 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
462 NSImageInterpolationDefault, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
463 NSImageInterpolationNone, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
464 NSImageInterpolationLow, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
465 NSImageInterpolationHigh |
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 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
469 |
45 | 470 // NSHFSFileTypes.h |
471 alias bindings.NSFileTypeForHFSTypeCode NSFileTypeForHFSTypeCode; | |
472 | |
473 | |
474 | |
475 //IKPictureTaker.h | |
476 alias c_long NSInteger; | |
477 alias c_ulong NSUInteger; | |
478 | |
479 | |
480 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
481 // NSImage.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
482 enum NSImageCacheMode |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
483 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
484 NSImageCacheDefault, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
485 NSImageCacheAlways, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
486 NSImageCacheBySize, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
487 NSImageCacheNever |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
488 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
489 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
490 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
491 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
492 // NSBitmapImageRep.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
493 enum NSTIFFCompression : NSUInteger { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
494 NSTIFFCompressionNone = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
495 NSTIFFCompressionCCITTFAX3 = 3, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
496 NSTIFFCompressionCCITTFAX4 = 4, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
497 NSTIFFCompressionLZW = 5, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
498 NSTIFFCompressionJPEG = 6, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
499 NSTIFFCompressionNEXT = 32766, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
500 NSTIFFCompressionPackBits = 32773, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
501 NSTIFFCompressionOldJPEG = 32865 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
502 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
503 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
504 enum NSBitmapFormat : NSUInteger { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
505 NSAlphaFirstBitmapFormat = 1 << 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
506 NSAlphaNonpremultipliedBitmapFormat = 1 << 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
507 NSFloatingPointSamplesBitmapFormat = 1 << 2 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
508 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
509 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
510 |
123 | 511 // NSNumberFormatter.h |
512 enum NSNumberFormatterStyle | |
513 { | |
514 NSNumberFormatterNoStyle = kCFNumberFormatterNoStyle, | |
515 NSNumberFormatterDecimalStyle = kCFNumberFormatterDecimalStyle, | |
516 NSNumberFormatterCurrencyStyle = kCFNumberFormatterCurrencyStyle, | |
517 NSNumberFormatterPercentStyle = kCFNumberFormatterPercentStyle, | |
518 NSNumberFormatterScientificStyle = kCFNumberFormatterScientificStyle, | |
519 NSNumberFormatterSpellOutStyle = kCFNumberFormatterSpellOutStyle | |
520 } | |
521 | |
522 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
523 |
45 | 524 // NSObjCRuntime.h |
525 alias bindings.NSGetSizeAndAlignment NSGetSizeAndAlignment; | |
526 | |
51 | 527 enum |
528 { | |
529 NSNotFound = 0x7fffffff | |
530 } | |
45 | 531 |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
532 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
533 |
116 | 534 // NSOpenGL.h |
535 enum NSOpenGLPixelFormatAttribute : uint | |
536 { | |
537 NSOpenGLPFAAllRenderers = 1, | |
538 NSOpenGLPFADoubleBuffer = 5, | |
539 NSOpenGLPFAStereo = 6, | |
540 NSOpenGLPFAAuxBuffers = 7, | |
541 NSOpenGLPFAColorSize = 8, | |
542 NSOpenGLPFAAlphaSize = 11, | |
543 NSOpenGLPFADepthSize = 12, | |
544 NSOpenGLPFAStencilSize = 13, | |
545 NSOpenGLPFAAccumSize = 14, | |
546 NSOpenGLPFAMinimumPolicy = 51, | |
547 NSOpenGLPFAMaximumPolicy = 52, | |
548 NSOpenGLPFAOffScreen = 53, | |
549 NSOpenGLPFAFullScreen = 54, | |
550 NSOpenGLPFASampleBuffers = 55, | |
551 NSOpenGLPFASamples = 56, | |
552 NSOpenGLPFAAuxDepthStencil = 57, | |
553 NSOpenGLPFAColorFloat = 58, | |
554 NSOpenGLPFAMultisample = 59, | |
555 NSOpenGLPFASupersample = 60, | |
556 NSOpenGLPFASampleAlpha = 61, | |
557 NSOpenGLPFARendererID = 70, | |
558 NSOpenGLPFASingleRenderer = 71, | |
559 NSOpenGLPFANoRecovery = 72, | |
560 NSOpenGLPFAAccelerated = 73, | |
561 NSOpenGLPFAClosestPolicy = 74, | |
562 NSOpenGLPFARobust = 75, | |
563 NSOpenGLPFABackingStore = 76, | |
564 NSOpenGLPFAMPSafe = 78, | |
565 NSOpenGLPFAWindow = 80, | |
566 NSOpenGLPFAMultiScreen = 81, | |
567 NSOpenGLPFACompliant = 83, | |
568 NSOpenGLPFAScreenMask = 84, | |
569 NSOpenGLPFAPixelBuffer = 90, | |
570 NSOpenGLPFAAllowOfflineRenderers = 96, | |
571 NSOpenGLPFAVirtualScreenCount = 128 | |
572 } | |
573 | |
574 | |
575 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
576 // NSParagraphStyle.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
577 enum NSLineBreakMode |
45 | 578 { |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
579 NSLineBreakByWordWrapping = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
580 NSLineBreakByCharWrapping, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
581 NSLineBreakByClipping, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
582 NSLineBreakByTruncatingHead, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
583 NSLineBreakByTruncatingTail, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
584 NSLineBreakByTruncatingMiddle |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
585 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
586 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
587 enum NSTextTabType |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
588 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
589 NSLeftTabStopType = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
590 NSRightTabStopType, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
591 NSCenterTabStopType, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
592 NSDecimalTabStopType |
45 | 593 } |
594 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
595 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
596 |
123 | 597 // NSPathUtilities.h |
598 //enum NSSearchPathDirectory | |
599 //{ | |
600 // NSApplicationDirectory = 1, | |
601 // NSDemoApplicationDirectory, | |
602 // NSDeveloperApplicationDirectory, | |
603 // NSAdminApplicationDirectory, | |
604 // NSLibraryDirectory, | |
605 // NSDeveloperDirectory, | |
606 // NSUserDirectory, | |
607 // NSDocumentationDirectory, | |
608 // NSDocumentDirectory, | |
609 // NSCoreServiceDirectory, | |
610 // NSDesktopDirectory = 12, | |
611 // NSCachesDirectory = 13, | |
612 // NSApplicationSupportDirectory = 14, | |
613 // NSDownloadsDirectory = 15, | |
614 // NSAllApplicationsDirectory = 100, | |
615 // NSAllLibrariesDirectory = 101 | |
616 //} | |
617 // | |
618 //enum NSSearchPathDomainMask | |
619 //{ | |
620 // NSUserDomainMask = 1, | |
621 // NSLocalDomainMask = 2, | |
622 // NSNetworkDomainMask = 4, | |
623 // NSSystemDomainMask = 8, | |
624 // NSAllDomainsMask = 0x0ffff, | |
625 //} | |
626 | |
45 | 627 alias bindings.NSSearchPathForDirectoriesInDomains NSSearchPathForDirectoriesInDomains; |
628 alias bindings.NSTemporaryDirectory NSTemporaryDirectory; | |
629 | |
630 | |
631 | |
123 | 632 // NSPrintPanle.h |
633 enum NSPrintPanelOptions : NSInteger | |
634 { | |
635 NSPrintPanelShowsCopies = 0x01, | |
636 NSPrintPanelShowsPageRange = 0x02, | |
637 NSPrintPanelShowsPaperSize = 0x04, | |
638 NSPrintPanelShowsOrientation = 0x08, | |
639 NSPrintPanelShowsScaling = 0x10, | |
640 NSPrintPanelShowsPageSetupAccessory = 0x100, | |
641 NSPrintPanelShowsPreview = 0x20000 | |
642 } | |
643 | |
644 | |
645 | |
122
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
646 // NSString.h |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
647 enum NSStringEncoding : NSUInteger |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
648 { |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
649 NSASCIIStringEncoding = 1, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
650 NSNEXTSTEPStringEncoding = 2, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
651 NSJapaneseEUCStringEncoding = 3, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
652 NSUTF8StringEncoding = 4, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
653 NSISOLatin1StringEncoding = 5, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
654 NSSymbolStringEncoding = 6, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
655 NSNonLossyASCIIStringEncoding = 7, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
656 NSShiftJISStringEncoding = 8, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
657 NSISOLatin2StringEncoding = 9, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
658 NSUnicodeStringEncoding = 10, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
659 NSWindowsCP1251StringEncoding = 11, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
660 NSWindowsCP1252StringEncoding = 12, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
661 NSWindowsCP1253StringEncoding = 13, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
662 NSWindowsCP1254StringEncoding = 14, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
663 NSWindowsCP1250StringEncoding = 15, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
664 NSISO2022JPStringEncoding = 21, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
665 NSMacOSRomanStringEncoding = 30, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
666 NSUTF16BigEndianStringEncoding = 0x90000100, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
667 NSUTF16LittleEndianStringEncoding = 0x94000100, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
668 NSUTF32StringEncoding = 0x8c000100, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
669 NSUTF32BigEndianStringEncoding = 0x98000100, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
670 NSUTF32LittleEndianStringEncoding = 0x9c000100, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
671 NSProprietaryStringEncoding = 65536 |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
672 } |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
673 |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
674 |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
675 |
123 | 676 // NSTableView.h |
677 enum NSTableViewColumnAutoresizingStyle : NSUInteger | |
678 { | |
679 NSTableViewNoColumnAutoresizing = 0, | |
680 NSTableViewUniformColumnAutoresizingStyle, | |
681 NSTableViewSequentialColumnAutoresizingStyle, | |
682 NSTableViewReverseSequentialColumnAutoresizingStyle, | |
683 NSTableViewLastColumnOnlyAutoresizingStyle, | |
684 NSTableViewFirstColumnOnlyAutoresizingStyle | |
685 } | |
686 | |
687 | |
688 | |
689 // NSTabView.h | |
690 enum NSTabViewType | |
691 { | |
692 NSTopTabsBezelBorder = 0, | |
693 NSLeftTabsBezelBorder = 1, | |
694 NSBottomTabsBezelBorder = 2, | |
695 NSRightTabsBezelBorder = 3, | |
696 NSNoTabsBezelBorder = 4, | |
697 NSNoTabsLineBorder = 5, | |
698 NSNoTabsNoBorder = 6 | |
699 } | |
700 | |
701 | |
702 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
703 // NSText.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
704 enum NSTextAlignment |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
705 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
706 NSLeftTextAlignment = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
707 NSRightTextAlignment = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
708 NSCenterTextAlignment = 2, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
709 NSJustifiedTextAlignment = 3, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
710 NSNaturalTextAlignment = 4 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
711 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
712 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
713 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
714 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
715 // NSWindow.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
716 enum : NSUInteger |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
717 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
718 NSBorderlessWindowMask = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
719 NSTitledWindowMask = 1 << 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
720 NSClosableWindowMask = 1 << 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
721 NSMiniaturizableWindowMask = 1 << 2, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
722 NSResizableWindowMask = 1 << 3, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
723 NSTexturedBackgroundWindowMask = 1 << 8 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
724 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
725 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
726 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
727 |
45 | 728 // NSZone.h |
729 alias void* _NSZone; | |
730 alias _NSZone NSZone; |