Mercurial > projects > dwt-mac
annotate dwt/internal/objc/cocoa/Cocoa.d @ 122:2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 31 Dec 2008 21:01:13 +0100 |
parents | e1c48e37e0f5 |
children | 63a09873578e |
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; |
11 import bindings = dwt.internal.objc.cocoa.bindings; | |
12 import dwt.internal.objc.runtime; | |
13 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
14 extern (C) |
45 | 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 | 148 } |
149 | |
150 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
151 |
45 | 152 //NSAccessibility.h |
153 alias bindings.NSAccessibilityActionDescription NSAccessibilityActionDescription; | |
154 alias bindings.NSAccessibilityPostNotification NSAccessibilityPostNotification; | |
155 alias bindings.NSAccessibilityRaiseBadArgumentException NSAccessibilityRaiseBadArgumentException; | |
156 alias bindings.NSAccessibilityRoleDescription NSAccessibilityRoleDescription; | |
157 alias bindings.NSAccessibilityRoleDescriptionForUIElement NSAccessibilityRoleDescriptionForUIElement; | |
158 alias bindings.NSAccessibilityUnignoredAncestor NSAccessibilityUnignoredAncestor; | |
159 alias bindings.NSAccessibilityUnignoredChildren NSAccessibilityUnignoredChildren; | |
160 alias bindings.NSAccessibilityUnignoredChildrenForOnlyChild NSAccessibilityUnignoredChildrenForOnlyChild; | |
161 alias bindings.NSAccessibilityUnignoredDescendant NSAccessibilityUnignoredDescendant; | |
162 | |
163 | |
164 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
165 // NSAlert.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
166 enum NSAlertStyle : NSUInteger |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
167 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
168 NSWarningAlertStyle = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
169 NSInformationalAlertStyle = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
170 NSCriticalAlertStyle = 2 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
171 } |
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 // NSApplication.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
176 enum NSApplicationTerminateReply |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
177 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
178 NSTerminateCancel = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
179 NSTerminateNow = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
180 NSTerminateLater = 2 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
181 } |
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 // NSBezierPath.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
186 enum NSBezierPathElement |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
187 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
188 NSMoveToBezierPathElement, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
189 NSLineToBezierPathElement, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
190 NSCurveToBezierPathElement, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
191 NSClosePathBezierPathElement |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
192 } |
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 enum NSLineCapStyle |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
195 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
196 NSButtLineCapStyle = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
197 NSRoundLineCapStyle = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
198 NSSquareLineCapStyle = 2 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
199 } |
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 enum NSLineJoinStyle |
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 NSMiterLineJoinStyle = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
204 NSRoundLineJoinStyle = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
205 NSBevelLineJoinStyle = 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 enum NSWindingRule |
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 NSNonZeroWindingRule = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
211 NSEvenOddWindingRule = 1 |
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 |
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 |
90 | 216 // NSBox.h |
217 enum NSTitlePosition | |
218 { | |
219 NSNoTitle = 0, | |
220 NSAboveTop = 1, | |
221 NSAtTop = 2, | |
222 NSBelowTop = 3, | |
223 NSAboveBottom = 4, | |
224 NSAtBottom = 5, | |
225 NSBelowBottom = 6 | |
226 } | |
227 | |
228 | |
229 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
230 // NSButtonCell.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
231 enum NSBezelStyle : NSUInteger { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
232 NSRoundedBezelStyle = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
233 NSRegularSquareBezelStyle = 2, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
234 NSThickSquareBezelStyle = 3, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
235 NSThickerSquareBezelStyle = 4, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
236 NSDisclosureBezelStyle = 5, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
237 NSShadowlessSquareBezelStyle = 6, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
238 NSCircularBezelStyle = 7, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
239 NSTexturedSquareBezelStyle = 8, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
240 NSHelpButtonBezelStyle = 9, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
241 NSSmallSquareBezelStyle = 10, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
242 NSTexturedRoundedBezelStyle = 11, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
243 NSRoundRectBezelStyle = 12, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
244 NSRecessedBezelStyle = 13, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
245 NSRoundedDisclosureBezelStyle = 14, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
246 } |
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 enum NSButtonType : NSUInteger { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
249 NSMomentaryLightButton = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
250 NSPushOnPushOffButton = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
251 NSToggleButton = 2, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
252 NSSwitchButton = 3, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
253 NSRadioButton = 4, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
254 NSMomentaryChangeButton = 5, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
255 NSOnOffButton = 6, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
256 NSMomentaryPushInButton = 7, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
257 NSMomentaryPushButton = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
258 NSMomentaryLight = 7 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
259 } |
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 // NSCell.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
264 enum NSControlSize : NSUInteger |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
265 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
266 NSRegularControlSize, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
267 NSSmallControlSize, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
268 NSMiniControlSize |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
269 } |
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 enum NSImageScaling : NSUInteger |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
272 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
273 NSImageScaleProportionallyDown = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
274 NSImageScaleAxesIndependently, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
275 NSImageScaleNone, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
276 NSImageScaleProportionallyUpOrDown |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
277 } |
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 enum NSCellImagePosition : NSUInteger |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
280 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
281 NSNoImage = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
282 NSImageOnly = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
283 NSImageLeft = 2, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
284 NSImageRight = 3, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
285 NSImageBelow = 4, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
286 NSImageAbove = 5, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
287 NSImageOverlaps = 6 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
288 } |
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 |
45 | 292 // NSDragging.h |
293 enum NSDragOperation : uint | |
294 { | |
295 NSDragOperationNone = 0, | |
296 NSDragOperationCopy = 1, | |
297 NSDragOperationLink = 2, | |
298 NSDragOperationGeneric = 4, | |
299 NSDragOperationPrivate = 8, | |
300 NSDragOperationAll_Obsolete = 15, | |
301 NSDragOperationMove = 16, | |
302 NSDragOperationDelete = 32, | |
303 NSDragOperationEvery = uint.max // UINT_MAX | |
304 } | |
305 | |
306 | |
307 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
308 // NSEvent.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
309 enum NSEventType |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
310 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
311 NSLeftMouseDown = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
312 NSLeftMouseUp = 2, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
313 NSRightMouseDown = 3, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
314 NSRightMouseUp = 4, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
315 NSMouseMoved = 5, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
316 NSLeftMouseDragged = 6, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
317 NSRightMouseDragged = 7, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
318 NSMouseEntered = 8, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
319 NSMouseExited = 9, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
320 NSKeyDown = 10, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
321 NSKeyUp = 11, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
322 NSFlagsChanged = 12, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
323 NSAppKitDefined = 13, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
324 NSSystemDefined = 14, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
325 NSApplicationDefined = 15, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
326 NSPeriodic = 16, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
327 NSCursorUpdate = 17, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
328 NSScrollWheel = 22, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
329 NSTabletPoint = 23, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
330 NSTabletProximity = 24, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
331 NSOtherMouseDown = 25, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
332 NSOtherMouseUp = 26, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
333 NSOtherMouseDragged = 27 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
334 } |
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 |
45 | 338 // NSGraphics.h |
339 alias int NSWindowDepth; | |
340 | |
341 alias bindings.NSBeep NSBeep; | |
342 alias bindings.NSBitsPerPixelFromDepth NSBitsPerPixelFromDepth; | |
343 | |
344 enum NSCompositingOperation | |
345 { | |
346 NSCompositeClear = 0, | |
347 NSCompositeCopy = 1, | |
348 NSCompositeSourceOver = 2, | |
349 NSCompositeSourceIn = 3, | |
350 NSCompositeSourceOut = 4, | |
351 NSCompositeSourceAtop = 5, | |
352 NSCompositeDestinationOver = 6, | |
353 NSCompositeDestinationIn = 7, | |
354 NSCompositeDestinationOut = 8, | |
355 NSCompositeDestinationAtop = 9, | |
356 NSCompositeXOR = 10, | |
357 NSCompositePlusDarker = 11, | |
358 NSCompositeHighlight = 12, | |
359 NSCompositePlusLighter = 13 | |
360 } | |
361 | |
362 enum NSWindowOrderingMode | |
363 { | |
364 NSWindowAbove = 1, | |
365 NSWindowBelow = -1, | |
366 NSWindowOut = 0 | |
367 } | |
368 | |
369 enum NSFocusRingType | |
370 { | |
371 NSFocusRingTypeDefault = 0, | |
372 NSFocusRingTypeNone = 1, | |
373 NSFocusRingTypeExterior = 2 | |
374 } | |
375 | |
376 enum NSBackingStoreType | |
377 { | |
378 NSBackingStoreRetained = 0, | |
379 NSBackingStoreNonretained = 1, | |
380 NSBackingStoreBuffered = 2 | |
381 } | |
382 | |
383 | |
384 | |
385 //NSGeometry.h | |
386 alias bindings.NSIntersectionRect NSIntersectionRect; | |
387 | |
388 | |
389 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
390 // NSGradient.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
391 enum NSGradientDrawingOptions : NSUInteger |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
392 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
393 NSGradientDrawsBeforeStartingLocation = (1 << 0), |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
394 NSGradientDrawsAfterEndingLocation = (1 << 1), |
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 |
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 // NSGraphicsContext.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
400 enum NSImageInterpolation |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
401 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
402 NSImageInterpolationDefault, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
403 NSImageInterpolationNone, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
404 NSImageInterpolationLow, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
405 NSImageInterpolationHigh |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
406 } |
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 |
45 | 410 // NSHFSFileTypes.h |
411 alias bindings.NSFileTypeForHFSTypeCode NSFileTypeForHFSTypeCode; | |
412 | |
413 | |
414 | |
415 //IKPictureTaker.h | |
416 alias c_long NSInteger; | |
417 alias c_ulong NSUInteger; | |
418 | |
419 | |
420 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
421 // NSImage.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
422 enum NSImageCacheMode |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
423 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
424 NSImageCacheDefault, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
425 NSImageCacheAlways, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
426 NSImageCacheBySize, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
427 NSImageCacheNever |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
428 } |
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 |
90 | 432 // NSImageCell.h |
433 enum NSImageAlignment | |
434 { | |
435 NSImageAlignCenter = 0, | |
436 NSImageAlignTop, | |
437 NSImageAlignTopLeft, | |
438 NSImageAlignTopRight, | |
439 NSImageAlignLeft, | |
440 NSImageAlignBottom, | |
441 NSImageAlignBottomLeft, | |
442 NSImageAlignBottomRight, | |
443 NSImageAlignRight | |
444 } | |
445 | |
446 | |
447 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
448 // NSBitmapImageRep.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
449 enum NSTIFFCompression : NSUInteger { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
450 NSTIFFCompressionNone = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
451 NSTIFFCompressionCCITTFAX3 = 3, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
452 NSTIFFCompressionCCITTFAX4 = 4, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
453 NSTIFFCompressionLZW = 5, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
454 NSTIFFCompressionJPEG = 6, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
455 NSTIFFCompressionNEXT = 32766, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
456 NSTIFFCompressionPackBits = 32773, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
457 NSTIFFCompressionOldJPEG = 32865 |
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 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
460 enum NSBitmapFormat : NSUInteger { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
461 NSAlphaFirstBitmapFormat = 1 << 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
462 NSAlphaNonpremultipliedBitmapFormat = 1 << 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
463 NSFloatingPointSamplesBitmapFormat = 1 << 2 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
464 } |
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 |
45 | 468 // NSObjCRuntime.h |
469 alias bindings.NSGetSizeAndAlignment NSGetSizeAndAlignment; | |
470 | |
51 | 471 enum |
472 { | |
473 NSNotFound = 0x7fffffff | |
474 } | |
45 | 475 |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
476 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
477 |
116 | 478 // NSOpenGL.h |
479 enum NSOpenGLPixelFormatAttribute : uint | |
480 { | |
481 NSOpenGLPFAAllRenderers = 1, | |
482 NSOpenGLPFADoubleBuffer = 5, | |
483 NSOpenGLPFAStereo = 6, | |
484 NSOpenGLPFAAuxBuffers = 7, | |
485 NSOpenGLPFAColorSize = 8, | |
486 NSOpenGLPFAAlphaSize = 11, | |
487 NSOpenGLPFADepthSize = 12, | |
488 NSOpenGLPFAStencilSize = 13, | |
489 NSOpenGLPFAAccumSize = 14, | |
490 NSOpenGLPFAMinimumPolicy = 51, | |
491 NSOpenGLPFAMaximumPolicy = 52, | |
492 NSOpenGLPFAOffScreen = 53, | |
493 NSOpenGLPFAFullScreen = 54, | |
494 NSOpenGLPFASampleBuffers = 55, | |
495 NSOpenGLPFASamples = 56, | |
496 NSOpenGLPFAAuxDepthStencil = 57, | |
497 NSOpenGLPFAColorFloat = 58, | |
498 NSOpenGLPFAMultisample = 59, | |
499 NSOpenGLPFASupersample = 60, | |
500 NSOpenGLPFASampleAlpha = 61, | |
501 NSOpenGLPFARendererID = 70, | |
502 NSOpenGLPFASingleRenderer = 71, | |
503 NSOpenGLPFANoRecovery = 72, | |
504 NSOpenGLPFAAccelerated = 73, | |
505 NSOpenGLPFAClosestPolicy = 74, | |
506 NSOpenGLPFARobust = 75, | |
507 NSOpenGLPFABackingStore = 76, | |
508 NSOpenGLPFAMPSafe = 78, | |
509 NSOpenGLPFAWindow = 80, | |
510 NSOpenGLPFAMultiScreen = 81, | |
511 NSOpenGLPFACompliant = 83, | |
512 NSOpenGLPFAScreenMask = 84, | |
513 NSOpenGLPFAPixelBuffer = 90, | |
514 NSOpenGLPFAAllowOfflineRenderers = 96, | |
515 NSOpenGLPFAVirtualScreenCount = 128 | |
516 } | |
517 | |
518 | |
519 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
520 // NSParagraphStyle.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
521 enum NSLineBreakMode |
45 | 522 { |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
523 NSLineBreakByWordWrapping = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
524 NSLineBreakByCharWrapping, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
525 NSLineBreakByClipping, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
526 NSLineBreakByTruncatingHead, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
527 NSLineBreakByTruncatingTail, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
528 NSLineBreakByTruncatingMiddle |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
529 } |
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 enum NSTextTabType |
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 NSLeftTabStopType = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
534 NSRightTabStopType, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
535 NSCenterTabStopType, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
536 NSDecimalTabStopType |
45 | 537 } |
538 | |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
539 |
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 // NSPathUtilities.h |
45 | 542 alias bindings.NSSearchPathForDirectoriesInDomains NSSearchPathForDirectoriesInDomains; |
543 alias bindings.NSTemporaryDirectory NSTemporaryDirectory; | |
544 | |
545 | |
546 | |
122
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
547 // NSString.h |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
548 |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
549 enum NSStringEncoding : NSUInteger |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
550 { |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
551 NSASCIIStringEncoding = 1, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
552 NSNEXTSTEPStringEncoding = 2, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
553 NSJapaneseEUCStringEncoding = 3, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
554 NSUTF8StringEncoding = 4, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
555 NSISOLatin1StringEncoding = 5, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
556 NSSymbolStringEncoding = 6, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
557 NSNonLossyASCIIStringEncoding = 7, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
558 NSShiftJISStringEncoding = 8, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
559 NSISOLatin2StringEncoding = 9, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
560 NSUnicodeStringEncoding = 10, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
561 NSWindowsCP1251StringEncoding = 11, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
562 NSWindowsCP1252StringEncoding = 12, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
563 NSWindowsCP1253StringEncoding = 13, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
564 NSWindowsCP1254StringEncoding = 14, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
565 NSWindowsCP1250StringEncoding = 15, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
566 NSISO2022JPStringEncoding = 21, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
567 NSMacOSRomanStringEncoding = 30, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
568 NSUTF16BigEndianStringEncoding = 0x90000100, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
569 NSUTF16LittleEndianStringEncoding = 0x94000100, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
570 NSUTF32StringEncoding = 0x8c000100, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
571 NSUTF32BigEndianStringEncoding = 0x98000100, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
572 NSUTF32LittleEndianStringEncoding = 0x9c000100, |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
573 NSProprietaryStringEncoding = 65536 |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
574 } |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
575 |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
576 |
2e671fa40eec
Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
Jacob Carlborg <doob@me.com>
parents:
121
diff
changeset
|
577 |
60
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
578 // NSText.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
579 enum NSTextAlignment |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
580 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
581 NSLeftTextAlignment = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
582 NSRightTextAlignment = 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
583 NSCenterTextAlignment = 2, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
584 NSJustifiedTextAlignment = 3, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
585 NSNaturalTextAlignment = 4 |
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 |
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 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
590 // NSWindow.h |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
591 enum : NSUInteger |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
592 { |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
593 NSBorderlessWindowMask = 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
594 NSTitledWindowMask = 1 << 0, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
595 NSClosableWindowMask = 1 << 1, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
596 NSMiniaturizableWindowMask = 1 << 2, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
597 NSResizableWindowMask = 1 << 3, |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
598 NSTexturedBackgroundWindowMask = 1 << 8 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
599 } |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
600 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
601 |
62202ce0039f
Updated and fixed many modules to 3.514
Jacob Carlborg <doob@me.com>
parents:
51
diff
changeset
|
602 |
45 | 603 // NSZone.h |
604 alias void* _NSZone; | |
605 alias _NSZone NSZone; |