Cappuccino
1.0.0
All
Classes
Files
Functions
Variables
Typedefs
Macros
Groups
Pages
CPEvent_Constants.j
Go to the documentation of this file.
1
/*
2
* CPEvent_Constants.j
3
* AppKit
4
*
5
* Created by Francisco Tolmasky.
6
* Copyright 2008, 280 North, Inc.
7
*
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 2.1 of the License, or (at your option) any later version.
12
*
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
*/
22
23
CPLeftMouseDown
= 1;
24
CPLeftMouseUp
= 2;
25
CPRightMouseDown
= 3;
26
CPRightMouseUp
= 4;
27
CPMouseMoved
= 5;
28
CPLeftMouseDragged
= 6;
29
CPRightMouseDragged
= 7;
30
CPMouseEntered
= 8;
31
CPMouseExited
= 9;
32
CPKeyDown
= 10;
33
CPKeyUp
= 11;
34
CPFlagsChanged
= 12;
35
CPAppKitDefined
= 13;
36
CPSystemDefined
= 14;
37
CPApplicationDefined
= 15;
38
CPPeriodic
= 16;
39
CPCursorUpdate
= 17;
40
CPScrollWheel
= 22;
41
CPOtherMouseDown
= 25;
42
CPOtherMouseUp
= 26;
43
CPOtherMouseDragged
= 27;
44
45
// iPhone Event Types
46
CPTouchStart
= 28;
47
CPTouchMove
= 29;
48
CPTouchEnd
= 30;
49
CPTouchCancel
= 31;
50
51
CPAlphaShiftKeyMask
= 1 << 16;
52
CPShiftKeyMask
= 1 << 17;
53
CPControlKeyMask
= 1 << 18;
54
CPAlternateKeyMask
= 1 << 19;
55
CPCommandKeyMask
= 1 << 20;
56
CPNumericPadKeyMask
= 1 << 21;
57
CPHelpKeyMask
= 1 << 22;
58
CPFunctionKeyMask
= 1 << 23;
59
CPDeviceIndependentModifierFlagsMask
= 0xffff0000;
60
61
CPLeftMouseDownMask
= 1 <<
CPLeftMouseDown
;
62
CPLeftMouseUpMask
= 1 <<
CPLeftMouseUp
;
63
CPRightMouseDownMask
= 1 <<
CPRightMouseDown
;
64
CPRightMouseUpMask
= 1 <<
CPRightMouseUp
;
65
CPOtherMouseDownMask
= 1 <<
CPOtherMouseDown
;
66
CPOtherMouseUpMask
= 1 <<
CPOtherMouseUp
;
67
CPMouseMovedMask
= 1 <<
CPMouseMoved
;
68
CPLeftMouseDraggedMask
= 1 <<
CPLeftMouseDragged
;
69
CPRightMouseDraggedMask
= 1 <<
CPRightMouseDragged
;
70
CPOtherMouseDragged
= 1 <<
CPOtherMouseDragged
;
71
CPMouseEnteredMask
= 1 <<
CPMouseEntered
;
72
CPMouseExitedMask
= 1 <<
CPMouseExited
;
73
CPCursorUpdateMask
= 1 <<
CPCursorUpdate
;
74
CPKeyDownMask
= 1 <<
CPKeyDown
;
75
CPKeyUpMask
= 1 <<
CPKeyUp
;
76
CPFlagsChangedMask
= 1 <<
CPFlagsChanged
;
77
CPAppKitDefinedMask
= 1 <<
CPAppKitDefined
;
78
CPSystemDefinedMask
= 1 <<
CPSystemDefined
;
79
CPApplicationDefinedMask
= 1 <<
CPApplicationDefined
;
80
CPPeriodicMask
= 1 <<
CPPeriodic
;
81
CPScrollWheelMask
= 1 <<
CPScrollWheel
;
82
CPAnyEventMask
= 0xffffffff;
83
84
CPUpArrowFunctionKey
=
"\uF700"
;
85
CPDownArrowFunctionKey
=
"\uF701"
;
86
CPLeftArrowFunctionKey
=
"\uF702"
;
87
CPRightArrowFunctionKey
=
"\uF703"
;
88
CPF1FunctionKey
=
"\uF704"
;
89
CPF2FunctionKey
=
"\uF705"
;
90
CPF3FunctionKey
=
"\uF706"
;
91
CPF4FunctionKey
=
"\uF707"
;
92
CPF5FunctionKey
=
"\uF708"
;
93
CPF6FunctionKey
=
"\uF709"
;
94
CPF7FunctionKey
=
"\uF70A"
;
95
CPF8FunctionKey
=
"\uF70B"
;
96
CPF9FunctionKey
=
"\uF70C"
;
97
CPF10FunctionKey
=
"\uF70D"
;
98
CPF11FunctionKey
=
"\uF70E"
;
99
CPF12FunctionKey
=
"\uF70F"
;
100
CPF13FunctionKey
=
"\uF710"
;
101
CPF14FunctionKey
=
"\uF711"
;
102
CPF15FunctionKey
=
"\uF712"
;
103
CPF16FunctionKey
=
"\uF713"
;
104
CPF17FunctionKey
=
"\uF714"
;
105
CPF18FunctionKey
=
"\uF715"
;
106
CPF19FunctionKey
=
"\uF716"
;
107
CPF20FunctionKey
=
"\uF717"
;
108
CPF21FunctionKey
=
"\uF718"
;
109
CPF22FunctionKey
=
"\uF719"
;
110
CPF23FunctionKey
=
"\uF71A"
;
111
CPF24FunctionKey
=
"\uF71B"
;
112
CPF25FunctionKey
=
"\uF71C"
;
113
CPF26FunctionKey
=
"\uF71D"
;
114
CPF27FunctionKey
=
"\uF71E"
;
115
CPF28FunctionKey
=
"\uF71F"
;
116
CPF29FunctionKey
=
"\uF720"
;
117
CPF30FunctionKey
=
"\uF721"
;
118
CPF31FunctionKey
=
"\uF722"
;
119
CPF32FunctionKey
=
"\uF723"
;
120
CPF33FunctionKey
=
"\uF724"
;
121
CPF34FunctionKey
=
"\uF725"
;
122
CPF35FunctionKey
=
"\uF726"
;
123
CPInsertFunctionKey
=
"\uF727"
;
124
CPDeleteFunctionKey
=
"\uF728"
;
125
CPHomeFunctionKey
=
"\uF729"
;
126
CPBeginFunctionKey
=
"\uF72A"
;
127
CPEndFunctionKey
=
"\uF72B"
;
128
CPPageUpFunctionKey
=
"\uF72C"
;
129
CPPageDownFunctionKey
=
"\uF72D"
;
130
CPPrintScreenFunctionKey
=
"\uF72E"
;
131
CPScrollLockFunctionKey
=
"\uF72F"
;
132
CPPauseFunctionKey
=
"\uF730"
;
133
CPSysReqFunctionKey
=
"\uF731"
;
134
CPBreakFunctionKey
=
"\uF732"
;
135
CPResetFunctionKey
=
"\uF733"
;
136
CPStopFunctionKey
=
"\uF734"
;
137
CPMenuFunctionKey
=
"\uF735"
;
138
CPUserFunctionKey
=
"\uF736"
;
139
CPSystemFunctionKey
=
"\uF737"
;
140
CPPrintFunctionKey
=
"\uF738"
;
141
CPClearLineFunctionKey
=
"\uF739"
;
142
CPClearDisplayFunctionKey
=
"\uF73A"
;
143
CPInsertLineFunctionKey
=
"\uF73B"
;
144
CPDeleteLineFunctionKey
=
"\uF73C"
;
145
CPInsertCharFunctionKey
=
"\uF73D"
;
146
CPDeleteCharFunctionKey
=
"\uF73E"
;
147
CPPrevFunctionKey
=
"\uF73F"
;
148
CPNextFunctionKey
=
"\uF740"
;
149
CPSelectFunctionKey
=
"\uF741"
;
150
CPExecuteFunctionKey
=
"\uF742"
;
151
CPUndoFunctionKey
=
"\uF743"
;
152
CPRedoFunctionKey
=
"\uF744"
;
153
CPFindFunctionKey
=
"\uF745"
;
154
CPHelpFunctionKey
=
"\uF746"
;
155
CPModeSwitchFunctionKey
=
"\uF747"
;
156
CPEscapeFunctionKey
=
"\u001B"
;
157
CPSpaceFunctionKey
=
"\u0020"
;
158
159
160
CPDOMEventDoubleClick
=
"dblclick"
;
161
CPDOMEventMouseDown
=
"mousedown"
;
162
CPDOMEventMouseUp
=
"mouseup"
;
163
CPDOMEventMouseMoved
=
"mousemove"
;
164
CPDOMEventMouseDragged
=
"mousedrag"
;
165
CPDOMEventKeyUp
=
"keyup"
;
166
CPDOMEventKeyDown
=
"keydown"
;
167
CPDOMEventKeyPress
=
"keypress"
;
168
CPDOMEventCopy
=
"copy"
;
169
CPDOMEventPaste
=
"paste"
;
170
CPDOMEventScrollWheel
=
"mousewheel"
;
171
CPDOMEventTouchStart
=
"touchstart"
;
172
CPDOMEventTouchMove
=
"touchmove"
;
173
CPDOMEventTouchEnd
=
"touchend"
;
174
CPDOMEventTouchCancel
=
"touchcancel"
;
AppKit
CPEvent_Constants.j
Generated on Fri Sep 7 2018 11:26:14 for Cappuccino by
1.8.3