|
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 EPeninputLayoutEventLast = 2000 // user event starts from here, same as base control |
|
74 }; |
|
75 |
|
76 /** |
|
77 * Pen input common control id |
|
78 */ |
|
79 enum TPeninputCommonCtrlID |
|
80 { |
|
81 EPeninutWindowCtrlIdBaseWindow = 0, |
|
82 |
|
83 // Controls in the titlepane |
|
84 EPeninutWindowCtrlIdMoveBtn, |
|
85 EPeninupWindowCtrlIdArrowLeftBtn,// new added by vv |
|
86 EPeninupWindowCtrlIdArrowRightBtn,// new added by vv |
|
87 EPeninutWindowCtrlIdCloseBtn, |
|
88 EPeninutWindowCtrlIdOptionBtn, |
|
89 EPeninutWindowCtrlIdInputContextField, |
|
90 |
|
91 EPeninutWindowCtrlIdVkbCtrl, |
|
92 EPeninutWindowCtrlIdBackspaceBtn, |
|
93 EPeninutWindowCtrlIdEnterBtn, |
|
94 EPeninutWindowCtrlIdInputLangSwitcherBtn, |
|
95 |
|
96 // Controls in the next line |
|
97 EPeninutWindowCtrlIdTabBtn, |
|
98 EPeninutWindowCtrlIdCapslockBtn, |
|
99 EPeninutWindowCtrlIdShiftBtn, |
|
100 EPeninutWindowCtrlIdSpaceBtn, |
|
101 EPeninutWindowCtrlIdSwitchToHwrBtn, |
|
102 EPeninutWindowCtrlIdSwitchToVkbBtn, |
|
103 |
|
104 EPeninutWindowCtrlIdRangeBar, |
|
105 |
|
106 // Button Id in range bar |
|
107 EPeninutWindowCtrlIdNativeCharBtn, |
|
108 EPeninutWindowCtrlIdNativeNumberBtn, |
|
109 EPeninutWindowCtrlIdLatinCharBtn, |
|
110 EPeninutWindowCtrlIdLatinNumberBtn, |
|
111 EPeninutWindowCtrlIdSymbolBtn, |
|
112 EPeninutWindowCtrlIdAccentedBtn, |
|
113 |
|
114 // Hwr box |
|
115 EPeninutWindowCtrlIdHwrBox, |
|
116 |
|
117 // Pop up window |
|
118 EPeninutWindowCtrlIdAccentPopupWindow, |
|
119 EPeninutWindowCtrlIdSwitcherPopupWindow, |
|
120 EPeninputWindowCtrlIdMultiLineICF, |
|
121 //candidate list |
|
122 EPentinputHwrCandidateList, |
|
123 EPeninputWindowCtrlIdLastOne, |
|
124 |
|
125 EPeninutWindowCtrlIdRangeBtn //todo split view |
|
126 }; |
|
127 |
|
128 /** |
|
129 * Pen input postion change style |
|
130 */ |
|
131 enum TPeninputPositionChangeStyle |
|
132 { |
|
133 EPeninputPositionChangeNone = 0, |
|
134 EPeninputPositionChangeTlJustify = 1, |
|
135 EPeninputPositionChangeBrJustify = 2, |
|
136 EPeninputPositionChangeDataQuery = 3 |
|
137 }; |
|
138 |
|
139 enum TPeninputGuideLineStyle |
|
140 { |
|
141 EPeninputGuideLineNone = 0, |
|
142 EPeninputGuideLineTop = 1, |
|
143 EPeninputGuideLineBottom = 2, |
|
144 EPeninputGuideLineBoth = 3 |
|
145 }; |
|
146 |
|
147 #endif // PENINPUTCOMMONLAYOUTGLOBALENUM_H |