|
1 /* |
|
2 * Copyright (c) 2002-2005 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: vkb layout inline function |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // ----------------------------------------------------------------------------- |
|
20 // CPeninputVkbKeyInfo::Unicode |
|
21 // (other items were commented in a header) |
|
22 // ----------------------------------------------------------------------------- |
|
23 // |
|
24 inline HBufC* CPeninputVkbKeyInfo::Unicode() const |
|
25 { |
|
26 return iUnicode; |
|
27 } |
|
28 |
|
29 // ----------------------------------------------------------------------------- |
|
30 // CPeninputVkbKeyInfo::ScanCode |
|
31 // (other items were commented in a header) |
|
32 // ----------------------------------------------------------------------------- |
|
33 // |
|
34 inline TInt CPeninputVkbKeyInfo::ScanCode() const |
|
35 { |
|
36 return iScanCode; |
|
37 } |
|
38 |
|
39 // ----------------------------------------------------------------------------- |
|
40 // CPeninputVkbKeyInfo::BeginRow |
|
41 // (other items were commented in a header) |
|
42 // ----------------------------------------------------------------------------- |
|
43 // |
|
44 inline TInt CPeninputVkbKeyInfo::BeginRow() const |
|
45 { |
|
46 return iBeginRow; |
|
47 } |
|
48 |
|
49 // ----------------------------------------------------------------------------- |
|
50 // CPeninputVkbKeyInfo::BeginColumn |
|
51 // (other items were commented in a header) |
|
52 // ----------------------------------------------------------------------------- |
|
53 // |
|
54 inline TInt CPeninputVkbKeyInfo::BeginColumn() const |
|
55 { |
|
56 return iBeginColumn; |
|
57 } |
|
58 |
|
59 // ----------------------------------------------------------------------------- |
|
60 // CPeninputVkbKeyInfo::EndRow |
|
61 // (other items were commented in a header) |
|
62 // ----------------------------------------------------------------------------- |
|
63 // |
|
64 inline TInt CPeninputVkbKeyInfo::EndRow() const |
|
65 { |
|
66 return iEndRow; |
|
67 } |
|
68 |
|
69 // ----------------------------------------------------------------------------- |
|
70 // CPeninputVkbKeyInfo::EndColumn |
|
71 // (other items were commented in a header) |
|
72 // ----------------------------------------------------------------------------- |
|
73 // |
|
74 inline TInt CPeninputVkbKeyInfo::EndColumn() const |
|
75 { |
|
76 return iEndColumn; |
|
77 } |
|
78 |
|
79 // ----------------------------------------------------------------------------- |
|
80 // CPeninputVkbKeyInfo::HighlightBmpIndex |
|
81 // (other items were commented in a header) |
|
82 // ----------------------------------------------------------------------------- |
|
83 // |
|
84 inline TInt CPeninputVkbKeyInfo::HighlightBmpIndex() const |
|
85 { |
|
86 return iHighlightBmpIndex; |
|
87 } |
|
88 |
|
89 // ----------------------------------------------------------------------------- |
|
90 // CPeninputVkbKeyInfo::HighlightMaskBmpIndex |
|
91 // (other items were commented in a header) |
|
92 // ----------------------------------------------------------------------------- |
|
93 // |
|
94 inline TInt CPeninputVkbKeyInfo::HighlightMaskBmpIndex() const |
|
95 { |
|
96 return iHighlightMaskBmpIndex; |
|
97 } |
|
98 |
|
99 // ----------------------------------------------------------------------------- |
|
100 // CPeninputVkbKeyInfo::Key |
|
101 // (other items were commented in a header) |
|
102 // ----------------------------------------------------------------------------- |
|
103 // |
|
104 inline CVirtualKey* CPeninputVkbKeyInfo::Key() const |
|
105 { |
|
106 return iKey; |
|
107 } |
|
108 |
|
109 // ----------------------------------------------------------------------------- |
|
110 // CPeninputVkbLayoutInfo::LayoutID |
|
111 // (other items were commented in a header) |
|
112 // ----------------------------------------------------------------------------- |
|
113 // |
|
114 inline TInt CPeninputVkbLayoutInfo::LayoutID() const |
|
115 { |
|
116 return iLayoutID; |
|
117 } |
|
118 |
|
119 // ----------------------------------------------------------------------------- |
|
120 // CPeninputVkbLayoutInfo::Columns |
|
121 // (other items were commented in a header) |
|
122 // ----------------------------------------------------------------------------- |
|
123 // |
|
124 inline TInt CPeninputVkbLayoutInfo::Columns() const |
|
125 { |
|
126 return iColumns; |
|
127 } |
|
128 |
|
129 // ----------------------------------------------------------------------------- |
|
130 // CPeninputVkbLayoutInfo::Rows |
|
131 // (other items were commented in a header) |
|
132 // ----------------------------------------------------------------------------- |
|
133 // |
|
134 inline TInt CPeninputVkbLayoutInfo::Rows() const |
|
135 { |
|
136 return iRows; |
|
137 } |
|
138 |
|
139 // ----------------------------------------------------------------------------- |
|
140 // CPeninputVkbLayoutInfo::UnitWidth |
|
141 // (other items were commented in a header) |
|
142 // ----------------------------------------------------------------------------- |
|
143 // |
|
144 inline TInt CPeninputVkbLayoutInfo::UnitWidth() const |
|
145 { |
|
146 return iUnitWidth; |
|
147 } |
|
148 |
|
149 // ----------------------------------------------------------------------------- |
|
150 // CPeninputVkbLayoutInfo::UnitHeight |
|
151 // (other items were commented in a header) |
|
152 // ----------------------------------------------------------------------------- |
|
153 // |
|
154 inline TInt CPeninputVkbLayoutInfo::UnitHeight() const |
|
155 { |
|
156 return iUnitHeight; |
|
157 } |
|
158 |
|
159 // ----------------------------------------------------------------------------- |
|
160 // CPeninputVkbLayoutInfo::UnitCharWidth |
|
161 // (other items were commented in a header) |
|
162 // ----------------------------------------------------------------------------- |
|
163 // |
|
164 inline TInt CPeninputVkbLayoutInfo::UnitCharWidth() const |
|
165 { |
|
166 return iUnitCharWidth; |
|
167 } |
|
168 |
|
169 // ----------------------------------------------------------------------------- |
|
170 // CPeninputVkbLayoutInfo::UnitCharHeight |
|
171 // (other items were commented in a header) |
|
172 // ----------------------------------------------------------------------------- |
|
173 // |
|
174 inline TInt CPeninputVkbLayoutInfo::UnitCharHeight() const |
|
175 { |
|
176 return iUnitCharHeight; |
|
177 } |
|
178 |
|
179 // ----------------------------------------------------------------------------- |
|
180 // CPeninputVkbLayoutInfo::CharLeftTopPoint |
|
181 // (other items were commented in a header) |
|
182 // ----------------------------------------------------------------------------- |
|
183 // |
|
184 inline TPoint CPeninputVkbLayoutInfo::CharLeftTopPoint() const |
|
185 { |
|
186 return iCharLeftTopPoint; |
|
187 } |
|
188 |
|
189 // ----------------------------------------------------------------------------- |
|
190 // CPeninputVkbLayoutInfo::CharFont |
|
191 // (other items were commented in a header) |
|
192 // ----------------------------------------------------------------------------- |
|
193 // |
|
194 inline const CFont* CPeninputVkbLayoutInfo::CharFont() const |
|
195 { |
|
196 return iFont; |
|
197 } |
|
198 |
|
199 // ----------------------------------------------------------------------------- |
|
200 // CPeninputVkbLayoutInfo::BgBmp |
|
201 // (other items were commented in a header) |
|
202 // ----------------------------------------------------------------------------- |
|
203 // |
|
204 inline CFbsBitmap* CPeninputVkbLayoutInfo::BgBmp() const |
|
205 { |
|
206 return iBgBmp; |
|
207 } |
|
208 |
|
209 // ----------------------------------------------------------------------------- |
|
210 // CPeninputVkbLayoutInfo::BgMaskBmp |
|
211 // (other items were commented in a header) |
|
212 // ----------------------------------------------------------------------------- |
|
213 // |
|
214 inline CFbsBitmap* CPeninputVkbLayoutInfo::BgMaskBmp() const |
|
215 { |
|
216 return iBgMaskBmp; |
|
217 } |
|
218 |
|
219 // ----------------------------------------------------------------------------- |
|
220 // CPeninputVkbLayoutInfo::DimBmp |
|
221 // (other items were commented in a header) |
|
222 // ----------------------------------------------------------------------------- |
|
223 // |
|
224 inline CFbsBitmap* CPeninputVkbLayoutInfo::DimBmp() const |
|
225 { |
|
226 return iDimBmp; |
|
227 } |
|
228 |
|
229 // ----------------------------------------------------------------------------- |
|
230 // CPeninputVkbLayoutInfo::DimMaskBmp |
|
231 // (other items were commented in a header) |
|
232 // ----------------------------------------------------------------------------- |
|
233 // |
|
234 inline CFbsBitmap* CPeninputVkbLayoutInfo::DimMaskBmp() const |
|
235 { |
|
236 return iDimMaskBmp; |
|
237 } |
|
238 |
|
239 // ----------------------------------------------------------------------------- |
|
240 // CPeninputVkbLayoutInfo::KeyInfoList |
|
241 // (other items were commented in a header) |
|
242 // ----------------------------------------------------------------------------- |
|
243 // |
|
244 inline RPointerArray<CPeninputVkbKeyInfo> |
|
245 CPeninputVkbLayoutInfo::KeyInfoList() const |
|
246 { |
|
247 return iKeyInfoList; |
|
248 } |
|
249 |
|
250 // ----------------------------------------------------------------------------- |
|
251 // CPeninputVkbLayoutInfo::HighlightBmps |
|
252 // (other items were commented in a header) |
|
253 // ----------------------------------------------------------------------------- |
|
254 // |
|
255 inline RPointerArray<CFbsBitmap> |
|
256 CPeninputVkbLayoutInfo::HighlightBmps() const |
|
257 { |
|
258 return iHighlightBmps; |
|
259 } |
|
260 |
|
261 // ----------------------------------------------------------------------------- |
|
262 // CPeninputVkbLayoutInfo::HighlightMaskBmps |
|
263 // (other items were commented in a header) |
|
264 // ----------------------------------------------------------------------------- |
|
265 // |
|
266 inline RPointerArray<CFbsBitmap> |
|
267 CPeninputVkbLayoutInfo::HighlightMaskBmps() const |
|
268 { |
|
269 return iHighlightMaskBmps; |
|
270 } |