author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Wed, 15 Sep 2010 12:34:44 +0300 | |
branch | RCL_3 |
changeset 50 | 5a1685599b76 |
parent 44 | ecbabf52600f |
child 56 | 8152b1f1763a |
permissions | -rw-r--r-- |
44 | 1 |
/* |
2 |
* Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 |
* All rights reserved. |
|
4 |
* This component and the accompanying materials are made available |
|
5 |
* under the terms of "Eclipse Public License v1.0"" |
|
6 |
* which accompanies this distribution, and is available |
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
* |
|
9 |
* Initial Contributors: |
|
10 |
* Nokia Corporation - initial contribution. |
|
11 |
* |
|
12 |
* Contributors: |
|
13 |
* |
|
14 |
* Description: the enumeration of peninputcommonlayout |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
||
19 |
#ifndef PENINPUTCOMMONLAYOUTGLOBALENUM_H |
|
20 |
#define PENINPUTCOMMONLAYOUTGLOBALENUM_H |
|
21 |
||
22 |
/** |
|
23 |
* Pen input range button response style |
|
24 |
*/ |
|
25 |
enum TPeninputRangeResponseStyle |
|
26 |
{ |
|
27 |
EPeninputRangeResponseNoAction = 0, |
|
28 |
EPeninputRangeResponseSwitchRange = 1, |
|
29 |
EPeninputRangeResponsePopupChoiceItem = 2 |
|
30 |
}; |
|
31 |
||
32 |
/** |
|
33 |
* Pen input range extention |
|
34 |
*/ |
|
35 |
enum TPeninputLayoutExtRange |
|
36 |
{ |
|
37 |
ERangeNativeNumber = 0x0020, |
|
38 |
ERangeMixedText = 0x0040, // e.g. arabic native text mixed with latin text |
|
39 |
ERangeMixedNumber = 0x0080 // e.g. arabic native number mixed with latin number |
|
40 |
}; |
|
41 |
||
42 |
/** |
|
43 |
* Pen input layout event |
|
44 |
*/ |
|
45 |
enum TPeninputLayoutEvent |
|
46 |
{ |
|
47 |
EPeninputLayoutEventClose = 1001, //starts from control event extended base |
|
48 |
EPeninputLayoutEventOpen, |
|
49 |
EPeninputLayoutEventOption, |
|
50 |
EPeninputLayoutEventEnter, |
|
51 |
EPeninputLayoutEventBack, |
|
52 |
EPeninputLayoutEventSwitchLanguage, |
|
53 |
EPeninputLayoutEventToHwr, |
|
54 |
EPeninputLayoutEventToVkb, |
|
55 |
EPeninputLayoutEventDataQueryPosition, |
|
56 |
EPeninputLayoutEventMovePosition, |
|
57 |
EPeninputLayoutEventRange, |
|
58 |
EPeninputLayoutEventRangeLoop, |
|
59 |
EPeninputLayoutEventShift, |
|
60 |
EPeninputLayoutEventCapslock, |
|
61 |
EPeninputLayoutEventSpace, |
|
62 |
EPeninputLayoutEventTab, |
|
63 |
||
64 |
EPeninputLayoutEventSetPermittedRange, |
|
65 |
EPeninputLayoutEventSetPermittedCase, |
|
66 |
EPeninputLayoutEventSetCase, |
|
67 |
EPeninputLayoutEventCloseWindow, |
|
68 |
EPeninputLayoutEventChangeInputMode, |
|
69 |
||
70 |
EPeninputLayoutEventLeftArrow, |
|
71 |
EPeninputLayoutEventRightArrow, |
|
72 |
||
73 |
EPeninputLayoutEventMultiRange, |
|
74 |
EPeninputLayoutEventMultiRangeLongPress, |
|
75 |
EPeninputLayoutEventLast = 2000 // user event starts from here, same as base control |
|
76 |
}; |
|
77 |
||
78 |
/** |
|
79 |
* Pen input common control id |
|
80 |
*/ |
|
81 |
enum TPeninputCommonCtrlID |
|
82 |
{ |
|
83 |
EPeninutWindowCtrlIdBaseWindow = 0, |
|
84 |
||
85 |
// Controls in the titlepane |
|
86 |
EPeninutWindowCtrlIdMoveBtn, |
|
87 |
EPeninupWindowCtrlIdArrowLeftBtn,// new added by vv |
|
88 |
EPeninupWindowCtrlIdArrowRightBtn,// new added by vv |
|
89 |
EPeninutWindowCtrlIdCloseBtn, |
|
90 |
EPeninutWindowCtrlIdOptionBtn, |
|
91 |
EPeninutWindowCtrlIdInputContextField, |
|
92 |
||
93 |
EPeninutWindowCtrlIdVkbCtrl, |
|
94 |
EPeninutWindowCtrlIdBackspaceBtn, |
|
95 |
EPeninutWindowCtrlIdEnterBtn, |
|
96 |
EPeninutWindowCtrlIdInputLangSwitcherBtn, |
|
97 |
||
98 |
// Controls in the next line |
|
99 |
EPeninutWindowCtrlIdTabBtn, |
|
100 |
EPeninutWindowCtrlIdCapslockBtn, |
|
101 |
EPeninutWindowCtrlIdShiftBtn, |
|
102 |
EPeninutWindowCtrlIdSpaceBtn, |
|
103 |
EPeninutWindowCtrlIdSwitchToHwrBtn, |
|
104 |
EPeninutWindowCtrlIdSwitchToVkbBtn, |
|
105 |
||
106 |
EPeninutWindowCtrlIdRangeBar, |
|
107 |
||
108 |
// Button Id in range bar |
|
109 |
EPeninutWindowCtrlIdNativeCharBtn, |
|
110 |
EPeninutWindowCtrlIdNativeNumberBtn, |
|
111 |
EPeninutWindowCtrlIdLatinCharBtn, |
|
112 |
EPeninutWindowCtrlIdLatinNumberBtn, |
|
113 |
EPeninutWindowCtrlIdSymbolBtn, |
|
114 |
EPeninutWindowCtrlIdAccentedBtn, |
|
115 |
||
116 |
// Hwr box |
|
117 |
EPeninutWindowCtrlIdHwrBox, |
|
118 |
||
119 |
// Pop up window |
|
120 |
EPeninutWindowCtrlIdAccentPopupWindow, |
|
121 |
EPeninutWindowCtrlIdSwitcherPopupWindow, |
|
122 |
EPeninputWindowCtrlIdMultiLineICF, |
|
123 |
//candidate list |
|
124 |
EPentinputHwrCandidateList, |
|
125 |
EPeninutWindowCtrlIdMultiRangeBtn, |
|
50
5a1685599b76
Revision: 201035
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
44
diff
changeset
|
126 |
|
5a1685599b76
Revision: 201035
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
44
diff
changeset
|
127 |
EPeninputWindowCtrlIdSplitIndiBubble, |
5a1685599b76
Revision: 201035
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
44
diff
changeset
|
128 |
|
44 | 129 |
EPeninputWindowCtrlIdLastOne, |
130 |
||
131 |
EPeninutWindowCtrlIdRangeBtn //todo split view |
|
132 |
}; |
|
133 |
||
134 |
/** |
|
135 |
* Pen input postion change style |
|
136 |
*/ |
|
137 |
enum TPeninputPositionChangeStyle |
|
138 |
{ |
|
139 |
EPeninputPositionChangeNone = 0, |
|
140 |
EPeninputPositionChangeTlJustify = 1, |
|
141 |
EPeninputPositionChangeBrJustify = 2, |
|
142 |
EPeninputPositionChangeDataQuery = 3 |
|
143 |
}; |
|
144 |
||
145 |
enum TPeninputGuideLineStyle |
|
146 |
{ |
|
147 |
EPeninputGuideLineNone = 0, |
|
148 |
EPeninputGuideLineTop = 1, |
|
149 |
EPeninputGuideLineBottom = 2, |
|
150 |
EPeninputGuideLineBoth = 3 |
|
151 |
}; |
|
152 |
||
153 |
#endif // PENINPUTCOMMONLAYOUTGLOBALENUM_H |