author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Wed, 13 Oct 2010 14:50:15 +0300 | |
branch | RCL_3 |
changeset 72 | a5e7a4f63858 |
parent 64 | 85902f042028 |
permissions | -rw-r--r-- |
56 | 1 |
/* |
2 |
* Copyright (c) 2002-2010 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: Constants for AVKON to be used in resource files. |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
#ifndef __AVKON_HRH__ |
|
19 |
#define __AVKON_HRH__ |
|
20 |
||
21 |
#if !defined(__UIKON_HRH__) |
|
22 |
#include <uikon.hrh> |
|
23 |
#endif |
|
24 |
||
25 |
#if !defined(__EIKON_HRH__) |
|
26 |
#include <eikon.hrh> |
|
27 |
#endif |
|
28 |
||
29 |
#include <AknFontCategory.hrh> |
|
30 |
#include <AknFontIdOffsets.hrh> |
|
31 |
||
32 |
// This file is very important for applications! |
|
33 |
// |
|
34 |
// Here we have many names you can find from Series 60 specifications |
|
35 |
// This file provides access for applications to the following services: |
|
36 |
// * Selection Service |
|
37 |
// * Find |
|
38 |
// |
|
39 |
||
40 |
// moved from uikon.hrh |
|
41 |
#define EEikStatusPaneLayoutAknLafDefined 0x10 |
|
42 |
||
43 |
// internal, do not use (maybe you might need to use LoopScrolling though, but use it with some other flags...) |
|
44 |
#define EAknListBoxMultipleSelection EEikListBoxMultipleSelection |
|
45 |
#define EAknListBoxIncrementalMatching EEikListBoxIncrementalMatching |
|
46 |
#define EAknListBoxScrollBarSizeExcluded 0x0080 |
|
47 |
#define EAknListBoxLoopScrolling 0x1000 |
|
48 |
#define EAknListBoxEnterMarks 0x2000 |
|
49 |
#define EAknListBoxShiftEnterMarks 0x4000 |
|
50 |
// Note there's also EAknListBoxViewerFlags, which is better for apps. |
|
51 |
#define EAknListBoxViewerFlag 0x8000 |
|
52 |
#define EAknListBoxPointerMultiselectionList 0x10000 |
|
53 |
#define EAknListBoxPointerMarkableList 0x20000 |
|
54 |
#define EAknListBoxDisableItemSpecificMenu 0x40000 |
|
55 |
#define EAknListBoxAlwaysShowItemSpecificMenu 0x80000 |
|
56 |
||
57 |
||
58 |
// These are combined to the viewerflag to make it fit to WORD in resources. |
|
59 |
#define EAknListBoxPageAtOnceScrolling EAknListBoxViewerFlag |
|
60 |
#define EAknListBoxDisableHighlight EAknListBoxViewerFlag |
|
61 |
||
62 |
// The next ones are used internally by SingleGraphicStyle and DoubleGraphicStyle |
|
63 |
#define EAknListBoxFlagsMarkableCheck (EAknListBoxShiftEnterMarks) |
|
64 |
#define EAknListBoxFlagsMultiselectionCheck (EAknListBoxEnterMarks) |
|
65 |
||
66 |
#define EAknGenericListBoxFlags (EAknListBoxScrollBarSizeExcluded) |
|
67 |
||
68 |
// Implementation detail, do not use - for dialog flags |
|
69 |
#define EAknDialogGenericFullScreen (EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagFillAppClientRect | EEikDialogFlagCbaButtons | EEikDialogFlagWait) |
|
70 |
||
71 |
// |
|
72 |
// |
|
73 |
// SELECTION SERVICE IMPLEMENTATION STARTS HERE (Use these in applications!) |
|
74 |
// |
|
75 |
// LISTBOX FLAGS (use these in applications) |
|
76 |
// |
|
77 |
#define EAknListBoxSelectionList (EAknGenericListBoxFlags) |
|
78 |
#define EAknListBoxSelectionListWithShortcuts (EAknListBoxSelectionList | EAknListBoxIncrementalMatching) |
|
79 |
#define EAknListBoxMenuList (EAknGenericListBoxFlags) |
|
80 |
#define EAknListBoxMarkableList (EAknGenericListBoxFlags | EAknListBoxMultipleSelection | EAknListBoxShiftEnterMarks) |
|
81 |
#define EAknListBoxMarkableListWithShortcuts (EAknListBoxMarkableList | EAknListBoxIncrementalMatching) |
|
82 |
#define EAknListBoxMultiselectionList (EAknGenericListBoxFlags | EAknListBoxMultipleSelection | EAknListBoxEnterMarks) |
|
83 |
#define EAknListBoxMultiselectionListWithShortcuts (EAknListBoxMultiselectionList | EAknListBoxIncrementalMatching) |
|
84 |
||
85 |
// if pen input is supported, then these two flags can be used |
|
86 |
// to get Multiselection and Markable lists to work as s60 style by using stylus |
|
87 |
#define EAknListBoxStylusMultiselectionList (EAknListBoxPointerMultiselectionList | EAknGenericListBoxFlags | EAknListBoxMultipleSelection | EAknListBoxEnterMarks) |
|
88 |
#define EAknListBoxStylusMarkableList (EAknListBoxPointerMarkableList | EAknGenericListBoxFlags | EAknListBoxMultipleSelection | EAknListBoxShiftEnterMarks) |
|
89 |
||
90 |
#define EAknListBoxSelectionGrid (EAknListBoxSelectionList) |
|
91 |
#define EAknListBoxSelectionGridWithShortcuts (EAknListBoxSelectionList | EAknListBoxIncrementalMatching) |
|
92 |
#define EAknListBoxMarkableGrid (EAknListBoxMarkableList) |
|
93 |
#define EAknListBoxMarkableGridWithShortcuts (EAknListBoxMarkableList | EAknListBoxIncrementalMatching) |
|
94 |
||
95 |
#define EAknListBoxMenuGrid (EAknListBoxMenuList) |
|
96 |
#define EAknListBoxItemSpecificMenuDisabled ( EAknListBoxDisableItemSpecificMenu ) |
|
97 |
#define EAknListBoxItemSpecificMenuAlwaysShown ( EAknListBoxAlwaysShowItemSpecificMenu ) |
|
98 |
// |
|
99 |
// Viewers (see Selection service) |
|
100 |
// |
|
101 |
#define EAknListBoxViewerFlags (EAknListBoxPageAtOnceScrolling | EAknListBoxDisableHighlight) |
|
102 |
||
103 |
// |
|
104 |
// DIALOG FLAGS (applications should use these!) |
|
105 |
// |
|
106 |
#define EAknDialogSelectionList (EAknDialogGenericFullScreen) |
|
107 |
#define EAknDialogMenuList (EAknDialogGenericFullScreen) |
|
108 |
#define EAknDialogMarkableList (EAknDialogGenericFullScreen | EEikDialogFlagDontEatUpDownEvents) |
|
109 |
#define EAknDialogMultiselectionList (EAknDialogGenericFullScreen) |
|
110 |
||
111 |
#define EAknDialogGenericNoteFlags (EEikDialogFlagNoDrag |EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons ) |
|
112 |
#define EAknDialogGenericQueryFlags (EEikDialogFlagWait|EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons) |
|
113 |
||
114 |
// Flags for note dialogs: |
|
115 |
#define EAknErrorNoteFlags (EAknDialogGenericNoteFlags | EEikDialogFlagCloseDialogWhenTapped) |
|
116 |
#define EAknWarningNoteFlags (EAknDialogGenericNoteFlags | EEikDialogFlagCloseDialogWhenTapped) |
|
117 |
#define EAknInformationNoteFlags (EAknDialogGenericNoteFlags | EEikDialogFlagCloseDialogWhenTapped) |
|
118 |
#define EAknConfirmationNoteFlags (EAknDialogGenericNoteFlags | EEikDialogFlagCloseDialogWhenTapped) |
|
119 |
#define EAknProgressNoteFlags (EAknDialogGenericNoteFlags | EEikDialogFlagNotifyEsc) |
|
120 |
#define EAknWaitNoteFlags (EAknProgressNoteFlags) |
|
121 |
#define EAknPermanentNoteFlags (EAknDialogGenericNoteFlags | EEikDialogFlagModeless) |
|
122 |
#define EAknSoftNotificationNoteFlags (EAknDialogGenericNoteFlags) |
|
123 |
||
124 |
// Flags for query dialogs: |
|
125 |
#define EGeneralQueryFlags (EAknDialogGenericQueryFlags) |
|
126 |
#define EAknGeneralQueryFlags (EAknDialogGenericQueryFlags) |
|
127 |
||
128 |
// |
|
129 |
// CBA LABELS (applications should use these) |
|
130 |
// |
|
131 |
#define R_AVKON_SOFTKEYS_SELECTION_LIST R_AVKON_SOFTKEYS_OPTIONS_BACK |
|
132 |
#define R_AVKON_SOFTKEYS_MENU_LIST R_AVKON_SOFTKEYS_OK_CANCEL |
|
133 |
#define R_AVKON_SOFTKEYS_SETTING_LIST R_AVKON_SOFTKEYS_OPTIONS_CANCEL |
|
134 |
#define R_AVKON_SOFTKEYS_TEXT_SETTING_ITEM R_AVKON_SOFTKEYS_OK_BACK |
|
135 |
#define R_AVKON_SOFTKEYS_POPUP_SETTING_ITEM R_AVKON_SOFTKEYS_MENU_LIST |
|
136 |
#define R_AVKON_SOFTKEYS_SLIDER_SETTING_ITEM R_AVKON_SOFTKEYS_OPTIONS_BACK |
|
137 |
#define R_AVKON_SOFTKEYS_MULTISELECTION_LIST R_AVKON_SOFTKEYS_OK_CANCEL |
|
138 |
#define R_AVKON_SOFTKEYS_MARKABLE_LIST R_AVKON_SOFTKEYS_SELECTION_LIST |
|
139 |
||
140 |
||
141 |
// |
|
142 |
// Menu panes (context specific menu panes) |
|
143 |
// |
|
144 |
#define R_AVKON_MENUPANE_SELECTION_LIST R_AVKON_MENUPANE_EMPTY |
|
145 |
#define R_AVKON_MENUPANE_SETTING_LIST R_AVKON_MENUPANE_EMPTY |
|
146 |
#define R_AVKON_MENUPANE_MARKABLE_LIST R_AVKON_MENUPANE_MARKABLE_LIST_EDIT_LIST_IMPLEMENTATION |
|
147 |
#define R_AVKON_MENUPANE_MULTISELECTION_LIST R_AVKON_MENUPANE_EMPTY |
|
148 |
||
149 |
// |
|
150 |
// There are also ready-made HandleCommandL() implementations for selection service in aknutils.h |
|
151 |
// |
|
152 |
// AknSelectionService::HandleSelectionListProcessCommandL(aCommand, iListBox); |
|
153 |
// AknSelectionService::HandleMultiSelectionListProcessCommandL(aCommand, iListBox); |
|
154 |
// AknSelectionService::HandleMarkableSelectionListProcessCommandL(aCommand, iListBox); |
|
155 |
// |
|
156 |
||
157 |
// |
|
158 |
// Application icon dimensions (for proper layout in Application Shell and Fast Application Swap) |
|
159 |
// |
|
160 |
||
161 |
enum |
|
162 |
{ |
|
163 |
EAknApplicationIconWidth = 42, |
|
164 |
EAknApplicationIconHeight = 29 |
|
165 |
}; |
|
166 |
||
167 |
// |
|
168 |
// |
|
169 |
// SELECTION SERVICE IMPLEMENTATION ENDS HERE |
|
170 |
// |
|
171 |
// |
|
172 |
||
173 |
||
174 |
// |
|
175 |
// FIND IMPLEMENTATION STARTS HERE, use AknFind with these. |
|
176 |
// |
|
177 |
||
178 |
// Options menu. Use these instead of R_AVKON_MENUPANE_[SELECTION|MARKABLE]_LIST when find popup window is needed |
|
179 |
#define R_AVKON_MENUPANE_SELECTION_LIST_WITH_FIND_POPUP R_AVKON_MENUPANE_FIND_POPUP_IMPLEMENTATION |
|
180 |
#define R_AVKON_MENUPANE_MARKABLE_LIST_WITH_FIND_POPUP R_AVKON_MENUPANE_FIND_POPUP_IMPLEMENTATION_MARKABLE |
|
181 |
||
182 |
#define EAknFindBoxEditorFlags (CEikEdwin::ENoLineOrParaBreaks) |
|
183 |
||
184 |
// |
|
185 |
// FIND IMPLEMENTATION ENDS HERE |
|
186 |
// |
|
187 |
||
188 |
// for ProcessCommandL() |
|
189 |
enum |
|
190 |
{ |
|
191 |
EAknDummyForProcessCommands = 4000, |
|
192 |
EAknMarkAll, // selection service impl |
|
193 |
EAknUnmarkAll, // selection service impl |
|
194 |
EAknCmdHelp, |
|
195 |
EAknCmdAddToPinboard, |
|
196 |
EAknCmdFindPopupActivated, |
|
197 |
EAknCmdEditModeT9, |
|
198 |
EAknCmdEditModeMultitap, |
|
199 |
EAknCmdEditModeNumber, |
|
200 |
EAknCmdEditInsertNumber, |
|
201 |
EAknCmdEditInsertSymbol, |
|
202 |
EAknCmdInputLanguage, |
|
203 |
EAknCmdPredictiveTextCascade, |
|
204 |
EAknCmdT9PredictiveMatches, |
|
205 |
EAknCmdT9PredictiveInsertWord, |
|
206 |
EAknCmdT9PredictiveEditWord, |
|
207 |
EAknCmdT9PredictiveT9Off, |
|
208 |
EAknCmdMultitapPredictiveT9On, |
|
209 |
EAknCmdExit, |
|
210 |
EAknCmdEditTextMenu, |
|
211 |
EAknCmdEditListMenu, // selection service impl |
|
212 |
EAknCmdMark, // selection service impl |
|
213 |
EAknCmdUnmark, // selection service impl |
|
214 |
EAknCmdOpen, // selection service impl |
|
215 |
||
216 |
// command ids for APAC build |
|
217 |
EChinFepCmdInstructions, |
|
218 |
EChinFepCmdModePinyin, |
|
219 |
EChinFepCmdModeZhuyin, |
|
220 |
EChinFepCmdModeStroke, |
|
221 |
EChinFepCmdModeLatinUpper, |
|
222 |
EChinFepCmdModeLatinLower, |
|
223 |
EChinFepCmdModeNumber, |
|
224 |
EChinFepCmdModeZhuyinFind, |
|
225 |
EChinFepCmdModeStrokeFind, |
|
226 |
||
227 |
EAknCmdEditModeArabicIndicNumber, |
|
228 |
EAknCmdEditModeAlpha, |
|
229 |
EAknCmdEditModeLatinText, |
|
230 |
EAknCmdEditModeIndicNumber, |
|
231 |
||
232 |
// command ids for Japanese build |
|
233 |
EJapanFepCmdModeHiragana, |
|
234 |
EJapanFepCmdModeKatakana, |
|
235 |
EJapanFepCmdModePictographs, |
|
236 |
EJapanFepCmdModeFullWidth, |
|
237 |
EJapanFepCmdModeHalfWidth, |
|
238 |
EJapanFepCmdModePredictiveOn, |
|
239 |
EJapanFepCmdModePredictiveOff, |
|
240 |
EJapanFepCmdModeUserDic, |
|
241 |
EJapanFepCmdModeKutenCodeInput, |
|
242 |
EAknCmdEditInsertPictograph, |
|
243 |
EJapanFepCmdPredictiveTextCascade, |
|
244 |
EJapanFepCmdMultitapPredictiveT9On, |
|
245 |
EJapanFepCmdEditModeAlpha, |
|
246 |
EJapanFepCmdEditModeNumber, |
|
247 |
||
248 |
// Command ids for CangJie IME and Chinese Option Menu |
|
249 |
EAknCmdInputMethod, |
|
250 |
EChinFepCmdModeCangJie, |
|
251 |
EChinFepCmdModeCangJieOption, |
|
252 |
||
253 |
// Edit menu specific command id |
|
254 |
EAknCmdEditMenuSctSelected, |
|
255 |
||
256 |
// Command ids for Hwr IME and Chinese Option Menu |
|
257 |
EPenInputCmdCut, |
|
258 |
EPenInputCmdCopy, |
|
259 |
EPenInputCmdPaste, |
|
260 |
EPenInputCmdSetting, |
|
261 |
EPenInputCmdHwrTraining, |
|
262 |
EFepInputCmdHelp, |
|
263 |
||
264 |
/** |
|
265 |
* Command id for eastern arabic-indic digit type menu item. |
|
266 |
* @since 3.1 |
|
267 |
*/ |
|
268 |
EAknCmdEditModeEasternArabicIndicNumber, |
|
269 |
||
270 |
/** |
|
271 |
* Command id for launching task swapper from options menu. |
|
272 |
* @since 3.1 |
|
273 |
*/ |
|
274 |
EAknCmdTaskSwapper, |
|
275 |
||
276 |
// Add new command ids here. |
|
277 |
/** |
|
278 |
* Command ids for Japanese insert symbol |
|
279 |
* The behaviour of this id is same as EAknCmdEditInsertSymbol. |
|
280 |
*/ |
|
281 |
EAknCmdEditInsertSymbolJp, |
|
282 |
||
283 |
/** |
|
284 |
* Command ids for clear direction of Japanese input from options menu. |
|
285 |
* @since 3.2 |
|
286 |
*/ |
|
287 |
EAknCmdEditClearDirectionLeft, |
|
288 |
EAknCmdEditClearDirectionRight, |
|
289 |
||
290 |
/** |
|
291 |
* Command id for Auto Word Completion Edit menu item. |
|
292 |
* @since 3.2 |
|
293 |
*/ |
|
294 |
EAknCmdPredictiveModeCascade, // Edit Menu |
|
295 |
EAknCmdPredictiveNormal, // To turn AutoCompletion Off |
|
296 |
EAknCmdPredictiveAutoWord, // To turn AutoCompletion On |
|
297 |
EAknCmdEditItemPlaceHolder, |
|
298 |
||
299 |
/** |
|
300 |
* Command ids for Japanese Touch input Option Menu |
|
301 |
* @since 3.2 |
|
302 |
*/ |
|
303 |
EPenInputJpCmdFullWidth, |
|
304 |
EPenInputJpCmdHalfWidth, |
|
305 |
EPenInputJpCmdConversionOn, |
|
306 |
EPenInputJpCmdConversionOff, |
|
307 |
EPenInputJpCmdPredictiveOn, |
|
308 |
EPenInputJpCmdPredictiveOff, |
|
309 |
EPenInputJpCmdSaveWord, |
|
310 |
EPenInputJpCmdKutenCode, |
|
311 |
||
312 |
EAknCmdEditMenuClose, |
|
313 |
/** |
|
314 |
* Command to hide application in background |
|
315 |
* @since 5.0 |
|
316 |
*/ |
|
317 |
EAknCmdHideInBackground, |
|
318 |
||
319 |
//preview Input |
|
320 |
EPenInputPreview, |
|
321 |
EPenInputCmdPreviewOn, |
|
322 |
EPenInputCmdPreviewOff, |
|
323 |
||
324 |
/** |
|
325 |
* Command ids for ITI input Option Menu |
|
326 |
* @since |
|
327 |
*/ |
|
328 |
||
329 |
EAknFepCmdPredMatches, |
|
330 |
EAknFepCmdPredActivate, |
|
331 |
EAknFepCmdPredDeactivate, |
|
332 |
EAknFepCmdPredSettings, |
|
333 |
EAknFepCmdPredInputLanguage, |
|
334 |
EAknFepCmdPredHelp, |
|
335 |
EAknFepCmdPredAutoComplSetting, |
|
336 |
EAknFepCmdPredAutoComplMultiSetting, |
|
337 |
EAknFepCmdPredTypingCorrectionSetting, |
|
338 |
EAknFepCmdPredNumberCandidateSetting, |
|
339 |
EAknFepCmdPredSettingChange, |
|
340 |
EAknFepCmdPredPrimaryCandidateSetting, |
|
341 |
||
342 |
// Command ids for Japanese Option Menu |
|
343 |
EPenInputCmdRomajiInputOn, |
|
344 |
EPenInputCmdRomajiInputOff, |
|
345 |
||
346 |
//Command id for launching arabic handwriting recognition dictionary on-off menu |
|
347 |
EPenInputCmdRecognitionWithDictionary, |
|
348 |
EAknCmdEditModeKorean, |
|
349 |
EAknCmdEditModeEnglish, |
|
350 |
||
351 |
/** |
|
352 |
* Command ids for UDB Editing with ITI input |
|
353 |
* @since 3.2.3 |
|
354 |
*/ |
|
355 |
EAknFepCmdPredEditUserDictionary, |
|
356 |
EAknFepPredDictionaryCmdEdit, |
|
357 |
EAknFepPredDictionaryCmdAdd, |
|
358 |
EAknFepPredDictionaryCmdDelete, |
|
359 |
EAknFepPredDictionaryCmdMarkUnmark, |
|
360 |
||
361 |
//Command id for launch phrase creation view |
|
362 |
EAknCmdUserDBDlg, |
|
363 |
||
364 |
/** |
|
365 |
* open smiley dialog in edit menu |
|
366 |
*/ |
|
367 |
EAknCmdEditInsertSmiley, |
|
368 |
||
369 |
EPenInputCmdVITUT, |
|
370 |
EPeninputCmdFSQ, |
|
371 |
EPeninputCmdHwr, |
|
372 |
||
373 |
/** |
|
374 |
* Command id for dealing with discreet popup's close |
|
375 |
*/ |
|
376 |
EAknDiscreetPopupCmdClose, |
|
377 |
// Commands ids for arabic finger hwr option menu |
|
378 |
EPenInputCmdHwrInputToPortrait, |
|
379 |
EPenInputCmdHwrInputToLandscape, |
|
380 |
EPenInputCmdSwitchToVkeyBasedInput, |
|
381 |
EPenInputCmdWritingSpeed, |
|
382 |
EPenInputCmdGuidingLine, |
|
383 |
||
384 |
EChinFepCmdModePinyinPhrase, |
|
385 |
EChinFepCmdModeZhuyinPhrase, |
|
386 |
EChinFepCmdModeStrokePhrase, |
|
387 |
||
388 |
/** |
|
389 |
* Command ids for multiple marking state. |
|
390 |
*/ |
|
391 |
EAknCmdMarkingModeEnter, |
|
392 |
EAknCmdMarkingModeMarkOne, |
|
393 |
EAknCmdMarkingModeMarkAll, |
|
394 |
EAknCmdMarkingModeUnmarkAll, |
|
395 |
||
396 |
/** |
|
397 |
* Command ids for switching to portrait or landscape FSQ. |
|
398 |
*/ |
|
399 |
EPeninputCmdPortraitEditor, |
|
400 |
EPeninputCmdLandscapeEditor, |
|
401 |
||
402 |
/** |
|
403 |
* @deprecated |
|
404 |
* Do not use. |
|
405 |
*/ |
|
406 |
EAknCmdEnd = 4999 |
|
407 |
}; |
|
408 |
||
409 |
/** |
|
410 |
* Note that although these are the command ids resulting from the CBA key press, codes returned from |
|
411 |
* CAknDialog::ExecuteLD are mapped in the routine CEikDialog::MappedCommandId. This routine should be consulted |
|
412 |
* before knowing what the dialog will return. |
|
413 |
*/ |
|
414 |
enum // CBA constants |
|
415 |
{ |
|
416 |
EAknSoftkeyOk = EEikBidOk, |
|
417 |
EAknSoftkeyCancel = EEikBidCancel, |
|
418 |
EAknSoftkeySelect = EEikBidSelect, |
|
419 |
EAknSoftkeyOptions = 3000, |
|
420 |
EAknSoftkeyBack, |
|
421 |
EAknSoftkeyMark, |
|
422 |
EAknSoftkeyUnmark, |
|
423 |
EAknSoftkeyInsert, |
|
424 |
EAknSoftkeyYes, |
|
425 |
EAknSoftkeyNo, |
|
426 |
EAknSoftkeyDone, |
|
427 |
EAknSoftkeyClose, |
|
428 |
EAknSoftkeyExit, |
|
429 |
EAknSoftkeyClear, |
|
430 |
EAknSoftkeyUnlock, |
|
431 |
EAknSoftkeySave, |
|
432 |
EAknSoftkeyShow, |
|
433 |
EAknSoftkeyListen, |
|
434 |
EAknSoftkeyRead, |
|
435 |
EAknSoftkeySearch, |
|
436 |
EAknSoftkeyEmpty, |
|
437 |
EAknSoftkeyLock, |
|
438 |
EAknSoftkeyCall, |
|
439 |
EAknSoftkeyAgain, |
|
440 |
EAknSoftkeyQuit, |
|
441 |
EAknSoftkeyDetails, |
|
442 |
EAknSoftkeyNext, |
|
443 |
EAknSoftkeyOther, |
|
444 |
EAknSoftkeyEdit, |
|
445 |
EAknSoftkeyOpen, |
|
446 |
EAknSoftkeySend, |
|
447 |
EAknSoftkeyView, |
|
448 |
EAknSoftkeyContextOptions, |
|
449 |
EAknSoftkeyChange, |
|
450 |
EAknSoftkeyShiftMSK, |
|
451 |
EAknSoftkeyForwardKeyEvent, |
|
452 |
EAknSoftkeyHide, |
|
453 |
EAknSoftkeyEmergencyCall, |
|
454 |
EAknSoftkeyDialler |
|
455 |
}; |
|
456 |
||
457 |
enum |
|
458 |
{ |
|
459 |
EAknSoftkeyDummyUsedWithShortcuts = 3200 |
|
460 |
}; |
|
461 |
||
462 |
enum |
|
463 |
{ |
|
464 |
EAknCBAFlagRespondWhenInvisible = 0x02 // softkeys still respond to key events even when control is invisible |
|
465 |
}; |
|
466 |
||
467 |
// Predefined softkey ranges for supporting limited automatic control of such things as |
|
468 |
// return from dialog-like contexts. |
|
469 |
// All dialog-like contexts should return 0 for values in the first range. |
|
470 |
// CEikDialog does not use the other implied ranges at all. |
|
471 |
// Other contexts may use the "accept" range for internal behaviour |
|
472 |
#define EAknSoftkeyLowestUserRejectId 0x1000 |
|
473 |
#define EAknSoftkeyLowestUserAcceptId 0x1100 |
|
474 |
#define EAknSoftkeyLowestUserNeutralId 0x1200 |
|
475 |
||
476 |
// Define a Cba version number of differentiate from GT CBA |
|
477 |
// Current GT version is 0, but it's worth avoiding 1,2 etc in |
|
478 |
// case of future incompatibilities. |
|
479 |
#define KAknCbaVersion 10 |
|
480 |
||
481 |
#define KAknBMPAnimVersion 10 |
|
482 |
||
483 |
// Avkon control id's start from 5700 |
|
484 |
// Phonebook control id's start from 6000 |
|
485 |
||
486 |
// Avkon Control Type codes |
|
487 |
#define KAknCtFirstControlId 5699 |
|
488 |
#define KAknCtLastControlId 0x2000 |
|
489 |
||
490 |
enum |
|
491 |
{ |
|
492 |
EAknCtTest = KAknCtFirstControlId, |
|
493 |
EAknControlIdBase = 5700, |
|
494 |
||
495 |
EAknCtFormattedListBox, // generic formatted listbox |
|
496 |
||
497 |
// "General list pane descendants" |
|
498 |
EAknCtSingleListBox, |
|
499 |
EAknCtSingleNumberListBox, |
|
500 |
EAknCtSingleHeadingListBox, |
|
501 |
EAknCtSingleGraphicListBox, |
|
502 |
EAknCtSingleGraphicHeadingListBox, |
|
503 |
EAknCtSingleNumberHeadingListBox, |
|
504 |
EAknCtSingleLargeListBox, |
|
505 |
EAknCtDoubleListBox, |
|
506 |
EAknCtDoubleNumberListBox, // this is also big number implementation |
|
507 |
EAknCtDoubleTimeListBox, |
|
508 |
EAknCtDoubleLargeListBox, // this is also big large graphic implementation |
|
509 |
EAknCtDoubleGraphicListBox, |
|
510 |
EAknCtSettingListBox, // this is also big setting pane implementation |
|
511 |
EAknCtSettingNumberListBox, // this is also big setting number pane implementation |
|
512 |
||
513 |
// "Pop up window list pane descendants" |
|
514 |
EAknCtSinglePopupMenuListBox, |
|
515 |
EAknCtSingleGraphicPopupMenuListBox, |
|
516 |
EAknCtSingleGraphicHeadingPopupMenuListBox, |
|
517 |
EAknCtMenuDoublePopupMenuListBox, |
|
518 |
EAknCtSinglePopupSubmenuListBox, |
|
519 |
EAknCtDoubleLargeGraphicPopupMenuListBox, |
|
520 |
EAknCtSingleHeadingPopupMenuListBox, |
|
521 |
||
522 |
// "List pane elements and descendants(settings, edited)" |
|
523 |
EAknSetListBox, |
|
524 |
||
525 |
// "List pane elements (form, popup)" |
|
526 |
EAknFormGraphicListBox, |
|
527 |
||
528 |
// These are listboxes too. |
|
529 |
EAknCtAppGrid, |
|
530 |
EAknCtPinbGrid, // This is provided as example only. |
|
531 |
EAknCtQdialGrid, // this is provided as example only. |
|
532 |
EAknCtCaleMonthGrid, // this is provided as example only. |
|
533 |
||
534 |
// Avkon Status pane controls |
|
535 |
EAknCtTitlePane, |
|
536 |
EAknCtContextPane, |
|
537 |
EAknCtNaviPane, |
|
538 |
EAknCtSignalPane, |
|
539 |
EAknCtBatteryPane, |
|
540 |
EAknCtIndicatorPane, |
|
541 |
EAknCtIdleContextPane, |
|
542 |
||
543 |
// For AVKON notes and queries: |
|
544 |
EAknCtNote, |
|
545 |
EAknCtQuery, |
|
546 |
EAknCtMultilineQuery, |
|
547 |
||
548 |
// For AVKON popup field: |
|
549 |
EAknCtPopupField, |
|
550 |
EAknCtPopupFieldText, |
|
551 |
||
552 |
// For AVKON Form |
|
553 |
EAknCtFormLabelEditor, |
|
554 |
||
555 |
// For LAF reader |
|
556 |
EAknCtLAF, |
|
557 |
EAknCtPopupHeadingPane, |
|
558 |
EAknCtSearchField, |
|
559 |
||
560 |
// For Setting Page |
|
561 |
EAknCtSettingPage, |
|
562 |
||
563 |
// For AknVolumeControl and AknSlider |
|
564 |
EAknCtVolumeControl, |
|
565 |
EAknCtSlider, |
|
566 |
EAknCtListQueryControl, |
|
567 |
EAknCtSpecialCharacterMap, |
|
568 |
||
569 |
// For AknPhoneNumberEditor |
|
570 |
EAknPhoneNumberEditor, |
|
571 |
||
572 |
// Numeric secret editor |
|
573 |
EAknCtNumericSecretEditor, |
|
574 |
||
575 |
// Popup Setting List Page |
|
576 |
EAknCtPopupSettingList, |
|
577 |
||
578 |
// Message query |
|
579 |
EAknCtMessageQuery, |
|
580 |
||
581 |
// Specialized numeric edwins |
|
582 |
EAknCtIntegerEdwin, |
|
583 |
EAknCtFloatingPointEdwin, |
|
584 |
EAknCtSelectionListFixedFind, |
|
585 |
EAknCtSelectionListPopupFind, |
|
586 |
EAknCtEmptyList, |
|
587 |
EAknCtDouble2GraphicListBox, |
|
588 |
EAknCtDouble2LargeListBox, |
|
589 |
EAknCtDouble2PopupMenuListBox, |
|
590 |
||
591 |
// NOTE: DO NOT USE THESE LISTS (break ui-style, only for java)!!! |
|
592 |
EAknCtSingle2GraphicListBox, |
|
593 |
EAknCtDouble2GraphicLargeListBox, |
|
594 |
// END OF NOTE |
|
595 |
||
596 |
// Colour selection grid |
|
597 |
EAknCtColourSelectionDialogNoneField, // Deprecated |
|
598 |
EAknCtColourSelectionDialogGrid, // Deprecated |
|
599 |
||
600 |
// Find box in list query dialog |
|
601 |
EAknCtListQuerySearchControl, |
|
602 |
||
603 |
// Derived query control for ip & fixed point queries |
|
604 |
EAknExtCtQuery, |
|
605 |
||
606 |
// Derived multiline query control for ip&ip queries |
|
607 |
EAknExtCtMultilineQuery, |
|
608 |
||
609 |
EAknCtBitmapAnimation, |
|
610 |
||
611 |
// button for 5.0 |
|
612 |
EAknCtButton, |
|
613 |
||
614 |
// new popup lists for 3.0 |
|
615 |
EAknCtSingle2GraphicPopupMenuListBox, |
|
616 |
EAknCtDoubleGraphicPopupMenuListBox, |
|
617 |
||
618 |
// Colour selection grid control for rel 3.0. |
|
619 |
EAknCtColourSelectionGridDialog, |
|
620 |
||
621 |
// Small digital clock for Avkon Status pane 3.1 |
|
622 |
EAknCtDigitalClockPane, |
|
623 |
||
624 |
// Empty control for Avkon Status pane 3.1 |
|
625 |
EAknCtStatuspaneEmpty, |
|
626 |
||
627 |
// use messageBox with listQuery, 3.0-> |
|
628 |
EAknListQueryWithMsgBox, |
|
629 |
||
630 |
// Status pane |
|
631 |
/** Application side container for universal indicator container */ |
|
632 |
EAknCtUniversalIndicatorPane, |
|
633 |
/** Application side container for signal pane */ |
|
634 |
EAknCtSignalIndicatorContainerPane, |
|
635 |
/** Application side container for battery pane */ |
|
636 |
EAknCtBatteryIndicatorContainerPane, |
|
637 |
||
638 |
// Toolbar extension |
|
639 |
EAknCtToolbarExtension, |
|
640 |
||
641 |
/** For selection list with adaptive search */ |
|
642 |
/** @since 5.0 */ |
|
643 |
EAknCtSelectionListAdaptiveFind, |
|
644 |
||
645 |
/** For Smiley Picker Dialog */ |
|
646 |
/** @since 5.0 */ |
|
647 |
EAknCtSmileyMap, |
|
648 |
||
649 |
/** For slider with feedback style */ |
|
650 |
/** @since 5.1 */ |
|
651 |
EAknSliderWithFeedbackStyle, |
|
652 |
||
653 |
/** For combined sub-pane in status pane */ |
|
654 |
/** @since 5.2 */ |
|
655 |
EAknCtCombinedPane, |
|
656 |
||
657 |
// This is the marker for the last AVKON control id: It does not construct a control |
|
658 |
EAknCtLastControlId = KAknCtLastControlId |
|
659 |
||
660 |
// Control ids beyond (or including) this value will be dealt with as custom controls. |
|
661 |
||
662 |
// However, to assist collaboration between applications, the following S60 -specific |
|
663 |
// application- related ranges are documented here: |
|
664 |
// |
|
665 |
// Phonebook- related control ids = 0x2800 - 0x2C00 |
|
666 |
// |
|
667 |
// Applications which do not have to correlate with any other DLLs or apps, should use the |
|
668 |
// range 0x2001 - 0x2800 |
|
669 |
// |
|
670 |
||
671 |
// Control ID range 0xF000 - 0xFFFF is reserved for licensee controls. |
|
672 |
}; |
|
673 |
||
674 |
// Navi decorator control types |
|
675 |
enum |
|
676 |
{ |
|
677 |
ENaviDecoratorControlNone, |
|
678 |
ENaviDecoratorControlTabGroup, |
|
679 |
ENaviDecoratorLabel, |
|
680 |
ENaviDecoratorImage, |
|
681 |
ENaviDecoratorToolTip // Hint text |
|
682 |
}; |
|
683 |
||
684 |
// Navigation pane tab width specifiers |
|
685 |
enum |
|
686 |
{ |
|
687 |
EAknTabWidthWithTwoTabs = 36, |
|
688 |
EAknTabWidthWithTwoLongTabs = 74, |
|
689 |
EAknTabWidthWithThreeTabs = 22, |
|
690 |
EAknTabWidthWithThreeLongTabs = 67, |
|
691 |
EAknTabWidthWithFourTabs = 18, |
|
692 |
EAknTabWidthWithOneTab = 107 |
|
693 |
}; |
|
694 |
||
695 |
// Note dialog constants |
|
696 |
enum |
|
697 |
{ |
|
698 |
EGeneralLayout = 1, |
|
699 |
EConfirmationLayout, |
|
700 |
EProgressLayout, |
|
701 |
ENoteWithImageLayout, |
|
702 |
ETextualNotificationLayout, |
|
703 |
ENotificationWithGraphicsLayout, |
|
704 |
EAknNoteControlAnimationCreationFailed, |
|
705 |
EWaitLayout |
|
706 |
}; |
|
707 |
||
708 |
enum |
|
709 |
{ |
|
710 |
EAknInvalidBorderCount = 1, |
|
711 |
EAknInvalidDimensionArrayOutOfBounds, |
|
712 |
EAknNoNoteControlDimensionDefined, |
|
713 |
EAknNoteControlNullArgumentUsed |
|
714 |
}; |
|
715 |
||
716 |
enum EAknNoteItemType |
|
717 |
{ |
|
718 |
EAknNoteNoType = 1, |
|
719 |
EAknNoteBitmap, |
|
720 |
EAknNoteNumberTypeIndication, |
|
721 |
EAknNoteProgressBar, |
|
722 |
EAknNoteLabel, |
|
723 |
EAknNoteAnimation |
|
724 |
}; |
|
725 |
||
726 |
enum TNoteCtrlIds |
|
727 |
{ |
|
728 |
EGeneralNote = 1 |
|
729 |
}; |
|
730 |
||
731 |
/** Note control flags */ |
|
732 |
#define EAknNoteNoTextWrapping 0x001 ///< Sets the TNoteFlags::ENoteNoTextWrapping |
|
733 |
#define EAknNoteLeftSoftkeyWhenTapped 0x080 ///< Sets the TNoteFlags::ENoteLeftSKWhenTapped |
|
734 |
/** |
|
735 |
* Note: EAknNoteFlagWithSkinnableGraphics can only be used with AVKON_NOTE_SKINNED. |
|
736 |
* Using it with AVKON_NOTE will cause a panic in resource reading. |
|
737 |
* @since S60 5.0 |
|
738 |
*/ |
|
739 |
#define EAknNoteFlagWithSkinnableGraphics 0x100 ///< Sets the TNoteFlags::ENoteWithSkinnableGraphics |
|
740 |
||
741 |
// Query dialog constants |
|
742 |
||
743 |
// These are query types, and each type must be mapped |
|
744 |
// to a layout (e.g. code layout or data layout) |
|
745 |
// If you add or change a type here you need to update |
|
746 |
// KQueryTypeToLayout in aknquerycontrol.cpp otherwise |
|
747 |
// query control will crash with EAknPanicNotSupported |
|
748 |
// because the layout is not known |
|
749 |
enum |
|
750 |
{ |
|
751 |
EDataLayout = 1, |
|
752 |
EConfirmationQueryLayout, |
|
753 |
ECodeLayout, |
|
754 |
ETimeLayout, |
|
755 |
EDateLayout, |
|
756 |
EListLayout, |
|
757 |
EMultiListLayout, |
|
758 |
EMultiLineDataLayout, |
|
759 |
EDurationLayout, |
|
760 |
ETextSoftNotification, |
|
761 |
ENumberLayout, |
|
762 |
EPinLayout, |
|
763 |
EPhoneLayout, |
|
764 |
EMessageQueryLayout, |
|
765 |
EStaticSizeDataLayout, |
|
766 |
EFloatingPointLayout, |
|
767 |
EIpLayout, |
|
768 |
EFixedPointLayout, |
|
769 |
EDataLayoutAllowEmptyInput, |
|
770 |
ELocationLayout |
|
771 |
}; |
|
772 |
||
773 |
enum |
|
774 |
{ |
|
775 |
ETextEditor=1, |
|
776 |
ESecretEditor, |
|
777 |
ETimeEditor, |
|
778 |
EDateEditor, |
|
779 |
ENumberEditor, |
|
780 |
EDurationEditor, |
|
781 |
EIpEditor, |
|
782 |
EFixedPointEditor, |
|
783 |
ELocationEditor |
|
784 |
}; |
|
785 |
||
786 |
enum EAknMultilineDataLayout |
|
787 |
{ |
|
788 |
EMultiDataFirstEdwin = 1, |
|
789 |
EMultiDataSecondEdwin, |
|
790 |
EMultiDataFirstSecEd, |
|
791 |
EMultiDataSecondSecEd, |
|
792 |
EMultiDataFirstTimeEd, |
|
793 |
EMultiDataSecondTimeEd, |
|
794 |
EMultiDataFirstDateEd, |
|
795 |
EMultiDataSecondDateEd, |
|
796 |
EMultiDataFirstDurEd, |
|
797 |
EMultiDataSecondDurEd, |
|
798 |
EMultiDataFirstPhoneEd, |
|
799 |
EMultiDataSecondPhoneEd, |
|
800 |
EMultiDataFirstNumEd, |
|
801 |
EMultiDataSecondNumEd, |
|
802 |
EMultiDataFirstPinEd, |
|
803 |
EMultiDataSecondPinEd, |
|
804 |
EMultiDataFirstIpEd, |
|
805 |
EMultiDataSecondIpEd, |
|
806 |
EMultiDataFirstLocationEd, |
|
807 |
EMultiDataSecondLocationEd, |
|
808 |
EMultiDataFirstEdwinAllowEmpty, |
|
809 |
EMultiDataSecondEdwinAllowEmpty |
|
810 |
}; |
|
811 |
||
812 |
enum TQueryCtrlIds |
|
813 |
{ |
|
814 |
EGeneralQuery = 0x500, |
|
815 |
EMultilineFirstLine, |
|
816 |
EMultilineSecondLine |
|
817 |
}; |
|
818 |
||
819 |
enum TListQueryCtrlIds |
|
820 |
{ |
|
821 |
EListQueryMainInboxList = 1, |
|
822 |
EListQueryMainDraftList, |
|
823 |
EListQueryMainOutboxList, |
|
824 |
EListQueryAppViewLabel, |
|
825 |
EListQueryMsgEditField, |
|
826 |
EListQueryHeading, |
|
827 |
EListQueryControl |
|
828 |
}; |
|
829 |
||
830 |
enum TSelectionListCtrlIds |
|
831 |
{ |
|
832 |
ESelectionListControl = 1, |
|
833 |
EFindControl, |
|
834 |
EAknEmptyListControl, |
|
835 |
EAknListQueryMessageBox |
|
836 |
}; |
|
837 |
||
838 |
// layout commands (for lists currently) |
|
839 |
enum |
|
840 |
{ |
|
841 |
ELayoutNoCmd = 1, |
|
842 |
ELayoutOptional, // optional items |
|
843 |
ELayoutRightSeparator, // adds separator |
|
844 |
ELayoutTransparentCell, // transparent cell for formattedlistbox only |
|
845 |
ELayoutItemMark, // sets column/subcell to handle item mark in multiselection lists |
|
846 |
ELayoutNotFilled, |
|
847 |
ELayoutNotAlwaysDrawn |
|
848 |
}; |
|
849 |
||
850 |
enum |
|
851 |
{ |
|
852 |
ELayoutAlignNone, |
|
853 |
ELayoutAlignCenter, |
|
854 |
ELayoutAlignLeft, |
|
855 |
ELayoutAlignRight, |
|
856 |
ELayoutAlignBidi |
|
857 |
}; |
|
858 |
||
859 |
// Editor alignment |
|
860 |
enum |
|
861 |
{ |
|
862 |
EAknEditorAlignNone = ELayoutAlignNone, |
|
863 |
EAknEditorAlignCenter = ELayoutAlignCenter, |
|
864 |
EAknEditorAlignLeft = ELayoutAlignLeft, |
|
865 |
EAknEditorAlignRight = ELayoutAlignRight, |
|
866 |
EAknEditorAlignBidi = ELayoutAlignBidi |
|
867 |
}; |
|
868 |
||
869 |
// Editor character case |
|
870 |
enum |
|
871 |
{ |
|
872 |
EAknEditorCharactersUpperCase = EAknEditorUpperCase, |
|
873 |
EAknEditorCharactersLowerCase = EAknEditorLowerCase, |
|
874 |
EAknEditorCharactersTextCase = EAknEditorTextCase |
|
875 |
}; |
|
876 |
||
877 |
/** |
|
878 |
* |
|
879 |
* Series 60 pre-2.8 Font Ids |
|
880 |
* |
|
881 |
*/ |
|
882 |
enum |
|
883 |
{ |
|
884 |
EFontNone = 0, |
|
885 |
ELatinPlain12, |
|
886 |
ELatinBold12, |
|
887 |
ELatinBold13, |
|
888 |
ELatinBold17, |
|
889 |
ELatinBold19, |
|
890 |
ENumberPlain5, |
|
891 |
EClockBold30, |
|
892 |
ELatinClock14, |
|
893 |
EFontCustom, |
|
894 |
EPlain12, |
|
895 |
EPlain16, |
|
896 |
EApacPlain12 = EPlain12, |
|
897 |
EApacPlain16 = EPlain16, |
|
898 |
EBold18, |
|
899 |
EBold24, |
|
900 |
ELatinBold16, |
|
901 |
ECalcBold21, |
|
902 |
ECalcOperBold21, |
|
903 |
ECalcOperBold13, |
|
904 |
EHighestFixedLayoutFont = KHighestFixedLayoutFont |
|
905 |
}; |
|
906 |
||
907 |
/** |
|
908 |
* Series 60 Logical Fonts |
|
909 |
* |
|
910 |
* @since Series 60 2.6 |
|
911 |
*/ |
|
912 |
enum TAknLogicalFontId |
|
913 |
{ |
|
914 |
EAknLogicalFontPrimaryFont = KHighestFixedLayoutFont + KAknFontCategoryPrimary, |
|
915 |
EAknLogicalFontSecondaryFont = KHighestFixedLayoutFont + KAknFontCategorySecondary, |
|
916 |
EAknLogicalFontTitleFont = KHighestFixedLayoutFont + KAknFontCategoryTitle, |
|
917 |
EAknLogicalFontPrimarySmallFont = KHighestFixedLayoutFont + KAknFontCategoryPrimarySmall, |
|
918 |
EAknLogicalFontDigitalFont = KHighestFixedLayoutFont + KAknFontCategoryDigital, |
|
919 |
EAknHighestLogicalFont = KAknHighestLogicalFont |
|
920 |
}; |
|
921 |
||
922 |
#define ELayoutEmpty (-16380) |
|
923 |
||
924 |
// For layout resource of findbox |
|
925 |
enum |
|
926 |
{ |
|
927 |
EAknLayoutFindPaneIconId = 1, |
|
928 |
EAknLayoutFindPaneEditorId, |
|
929 |
EAknLayoutMainPaneListGenPane, |
|
930 |
EAknLayoutMainPaneListGenPaneWithFindBox, |
|
931 |
EAknLayoutMainPaneFindPane, |
|
932 |
||
933 |
EAknListSinglePane, |
|
934 |
EAknListSingleNumberPane, |
|
935 |
EAknListSingleHeadingPane, |
|
936 |
EAknListSingleGraphicPane, |
|
937 |
EAknListSingleGraphicHeadingPane, |
|
938 |
EAknListSingleNumberHeadingPane, |
|
939 |
EAknListSingleLargeGraphicPane, |
|
940 |
EAknListDoubleNumberPane, |
|
941 |
EAknListDoubleTimePane, |
|
942 |
EAknListDoubleLargeGraphicPane, |
|
943 |
EAknListDoubleGraphicPane, |
|
944 |
EAknListSettingNumberPane, |
|
945 |
||
946 |
EAknLayoutFindPaneVShadow, |
|
947 |
EAknLayoutFindPaneHShadow, |
|
948 |
EAknLayoutFindPaneOutlineRect, |
|
949 |
||
950 |
EAknLayoutEmptyList1stLine, |
|
951 |
EAknLayoutEmptyList2ndLine |
|
952 |
}; |
|
953 |
||
954 |
||
955 |
// Status pane pane Uids |
|
956 |
||
957 |
#define EEikStatusPaneUidSignal 0x100059B9 |
|
958 |
#define EEikStatusPaneUidBattery 0x100059BA |
|
959 |
#define EEikStatusPaneUidContext 0x100059BB |
|
960 |
#define EEikStatusPaneUidTitle 0x100059BC |
|
961 |
#define EEikStatusPaneUidNavi 0x100059BD |
|
962 |
#define EEikStatusPaneUidIndic 0x100059BE |
|
963 |
#define EEikStatusPaneUidMessage 0x100059BF |
|
964 |
#define EEikStatusPaneUidClock 0x100059C0 |
|
965 |
#define EEikStatusPaneUidDigitalClock 0x10275090 |
|
966 |
#define EEikStatusPaneUidEmpty 0x102750A3 |
|
967 |
#define EEikStatusPaneUidCombined 0x2001E2D9 |
|
968 |
||
969 |
// POPUP_FIELD flags |
|
970 |
#define EAknPopupFieldFlagAllowsUserDefinedEntry 0x01 |
|
971 |
#define EAknPopupFieldFlagInitialised 0x02 |
|
972 |
#define EAknPopupFieldFlagButton 0x04 |
|
973 |
#define EAknPopupFieldNoGraphic 0x08 |
|
974 |
||
975 |
enum |
|
976 |
{ |
|
977 |
EAknDialogQueryValueTextEditor1 = 1, |
|
978 |
EAknDialogQueryValueNumberEditor1, |
|
979 |
EAknDialogQueryValuePhoneEditor1, |
|
980 |
EAknDialogQueryValueTimeEditor1, |
|
981 |
EAknDialogQueryValueDateEditor1, |
|
982 |
EAknDialogQueryValueDurationEditor1, |
|
983 |
EAknFormQueryControl, |
|
984 |
EAknPopupFieldEmptyListNote |
|
985 |
}; |
|
986 |
||
987 |
// POPUP_SETTING_LIST flags |
|
988 |
enum |
|
989 |
{ |
|
990 |
EAknPopupSettingListFlagAllowsUserDefinedEntry = 0x001, |
|
991 |
EAknPopupSettingListFlagInitialised = 0x002 |
|
992 |
}; |
|
993 |
||
994 |
// FORM default menu constants |
|
995 |
enum |
|
996 |
{ |
|
997 |
EAknFormCmdEdit = 950, |
|
998 |
EAknFormCmdAdd, |
|
999 |
EAknFormCmdSave, |
|
1000 |
EAknFormCmdLabel, |
|
1001 |
EAknFormCmdDelete, |
|
1002 |
EAknFormMaxDefault |
|
1003 |
}; |
|
1004 |
||
1005 |
/** |
|
1006 |
* Avkon controls that support vertical and horizontal orientation should use |
|
1007 |
* these constants for orientation. |
|
1008 |
* |
|
1009 |
* @since 3.2 |
|
1010 |
*/ |
|
1011 |
enum TAknOrientation |
|
1012 |
{ |
|
1013 |
EAknOrientationVertical = 0, |
|
1014 |
EAknOrientationHorizontal |
|
1015 |
}; |
|
1016 |
||
1017 |
// Slider layouts |
|
1018 |
enum |
|
1019 |
{ |
|
1020 |
EAknFormSliderLayout1 = 1, |
|
1021 |
EAknFormSliderLayout2, |
|
1022 |
EAknFormSliderLayout3, |
|
1023 |
EAknSettingsItemSliderLayout, |
|
1024 |
EAknSettingsItemSliderLayoutWithGraphics, |
|
1025 |
EAknMIDPFormSliderLayout, |
|
1026 |
EAknSliderLayoutVertical, |
|
1027 |
EAknSliderLayoutHorizontal |
|
1028 |
}; |
|
1029 |
||
1030 |
// Slider value types |
|
1031 |
enum |
|
1032 |
{ |
|
1033 |
EAknSliderValueNone, |
|
1034 |
EAknSliderValueBareFigure, |
|
1035 |
EAknSliderValuePercentage, |
|
1036 |
EAknSliderValueFraction, |
|
1037 |
EAknSliderValueDecimal |
|
1038 |
}; |
|
1039 |
||
1040 |
// Slider feedback styles |
|
1041 |
enum TAknFeedbackStyle |
|
1042 |
{ |
|
1043 |
EAknSliderFbStable, |
|
1044 |
EAknSliderFbDynamic |
|
1045 |
}; |
|
1046 |
/** Volume layouts */ |
|
1047 |
enum |
|
1048 |
{ |
|
1049 |
ESettingsVolumeControl, /** setting page volume control */ |
|
1050 |
ENaviPaneVolumeControl, /** navi pane volume control */ |
|
1051 |
EPopupVolumeControl /** volume pop up control */ |
|
1052 |
}; |
|
1053 |
||
1054 |
/** dynamic volume layouts |
|
1055 |
* @since 3.2 */ |
|
1056 |
enum TAknVolumeControlDynamicLayouts |
|
1057 |
{ |
|
1058 |
EDynRangeSettingsVolumeControl = 3, /** Hi-res volume control */ |
|
1059 |
EDynRangeNaviPaneVolumeControl, /** Hi-res volume control */ |
|
1060 |
EDynRangePopupVolumeControl, /** Hi-res volume control */ |
|
1061 |
ESmallPopupVolumeControl, /** same as EDynRangePopupVolumeControl */ |
|
1062 |
ESmallPopupVolumeControlWithPercent /** same as EDynRangePopupVolumeControl */ |
|
1063 |
}; |
|
1064 |
||
1065 |
// Small indicator pane indicators & navi pane editor indicators |
|
1066 |
enum |
|
1067 |
{ |
|
1068 |
// Status pane's indicator pane's indicators. |
|
1069 |
EAknIndicatorIrActive, |
|
1070 |
EAknIndicatorEnvelope, |
|
1071 |
EAknIndicatorEmailMessage, |
|
1072 |
EAknIndicatorDataMessage, |
|
1073 |
EAknIndicatorFaxMessage, |
|
1074 |
EAknIndicatorOtherMessage, |
|
1075 |
EAknIndicatorSecuredConnection, |
|
1076 |
EAknIndicatorVoiceMailWaiting, |
|
1077 |
EAknIndicatorVoiceMailWaitingOnLine1, |
|
1078 |
EAknIndicatorVoiceMailWaitingOnLine2, |
|
1079 |
EAknIndicatorVoiceMailWaitingOnBothLines, |
|
1080 |
EAknIndicatorHomeZone, |
|
1081 |
EAknIndicatorBluetooth, |
|
1082 |
EAknIndicatorBluetoothModuleOn, |
|
1083 |
EAknIndicatorOutbox, |
|
1084 |
EAknIndicatorKeyguard, |
|
1085 |
EAknIndicatorAllCallsForwarded, |
|
1086 |
EAknIndicatorCallsForwardedOnLine1, |
|
1087 |
EAknIndicatorCallsForwardedOnLine2, |
|
1088 |
EAknIndicatorCallsForwardedOnBothLines, |
|
1089 |
EAknIndicatorCallsForwardedToVoiceMailbox, |
|
1090 |
EAknIndicatorSelectedLine, |
|
1091 |
EAknIndicatorAlarmClock, |
|
1092 |
EAknIndicatorHeadset, |
|
1093 |
EAknIndicatorLoopset, |
|
1094 |
EAknIndicatorIHFActive, |
|
1095 |
EAknIndicatorInstantMessage, |
|
1096 |
EAknIndicatorTTY, |
|
1097 |
EAknIndicatorUSBConnection, |
|
1098 |
EAknIndicatorMissedCalls, |
|
1099 |
EAknIndicatorRemoteMailboxEmailMessage, |
|
1100 |
EAknIndicatorLocation, |
|
1101 |
EAknIndicatorHeadsetUnavailable, |
|
1102 |
EAknIndicatorRoaming, |
|
1103 |
EAknIndicatorLocationOn, |
|
1104 |
EAknIndicatorLocationOff, |
|
1105 |
EAknIndicatorPoC, |
|
1106 |
EAknIndicatorWlanAvailable, |
|
1107 |
EAknIndicatorWlanActive, |
|
1108 |
EAknIndicatorWlanActiveSecure, |
|
1109 |
EAknIndicatorCarkit, |
|
1110 |
EAknIndicatorPoCDnD, |
|
1111 |
EAknIndicatorPoCMissed, |
|
1112 |
EAknIndicatorTvOut, |
|
1113 |
EAknIndicatorVoIP, |
|
1114 |
EAknIndicatorTARM, |
|
1115 |
EAknIndicatorTARMModuleOn, |
|
1116 |
EAknIndicatorMobileTV, |
|
1117 |
EAknIndicatorMobileTVRec, |
|
1118 |
EAknIndicatorHAC, |
|
1119 |
EAknIndicatorMemoryCard, |
|
1120 |
EAknIndicatorVideoSharing, |
|
1121 |
EAknIndicatorSynchronization, |
|
1122 |
EAknIndicatorGPS, |
|
1123 |
EAknIndicatorBluetoothVisible, |
|
1124 |
EAknIndicatorBluetoothModuleOnVisible, |
|
1125 |
EAknIndicatorFMTxSending, |
|
1126 |
EAknIndicatorFMTxEnabled, |
|
1127 |
EAknIndicatorMissedCalendarAlarm, |
|
1128 |
EAknIndicatorUSBMemConnected, |
|
1129 |
EAknIndicatorUSBMemActive, |
|
1130 |
EAknIndicatorStopWatch, |
|
1131 |
EAknIndicatorMecoServiceTab, |
|
1132 |
EAknIndicatorHDMI, |
|
1133 |
EAknIndicatorIntegratedIM, |
|
1134 |
||
1135 |
// Navi pane editor indicators |
|
1136 |
EAknNaviPaneEditorIndicatorT9 = 100, |
|
1137 |
EAknNaviPaneEditorIndicatorUpperCase, |
|
1138 |
EAknNaviPaneEditorIndicatorLowerCase, |
|
1139 |
EAknNaviPaneEditorIndicatorTextCase, |
|
1140 |
EAknNaviPaneEditorIndicatorNumberCase, |
|
1141 |
EAknNaviPaneEditorIndicatorQuery, |
|
1142 |
EAknNaviPaneEditorIndicatorQwertyShift, |
|
1143 |
||
1144 |
// indicators for selection modes |
|
1145 |
EAknNaviPaneEditorIndicatorUpperCaseSelect, |
|
1146 |
EAknNaviPaneEditorIndicatorLowerCaseSelect, |
|
1147 |
EAknNaviPaneEditorIndicatorTextCaseSelect, |
|
1148 |
EAknNaviPaneEditorIndicatorNumberCaseSelect, |
|
1149 |
EAknNaviPaneEditorIndicatorAutoComplete, |
|
1150 |
||
1151 |
||
1152 |
EAknNaviPaneEditorIndicatorArabicCase = 130, |
|
1153 |
EAknNaviPaneEditorIndicatorHebrewCase, |
|
1154 |
EAknNaviPaneEditorIndicatorArabicIndicNumberCase, |
|
1155 |
||
1156 |
EAknNaviPaneEditorIndicatorDevanagariCase = 140, |
|
1157 |
EAknNaviPaneEditorIndicatorDevanagariIndicNumberCase, |
|
1158 |
EAknNaviPaneEditorIndicatorDevanagariPhoneticUpperCase, |
|
1159 |
EAknNaviPaneEditorIndicatorDevanagariPhoneticLowerCase, |
|
1160 |
// APAC |
|
1161 |
EAknNaviPaneEditorIndicatorPinyin = 150, |
|
1162 |
EAknNaviPaneEditorIndicatorZhuyin, |
|
1163 |
EAknNaviPaneEditorIndicatorStroke, // Stroke editor indicator for simplified Chinese. |
|
1164 |
||
1165 |
EAknNaviPaneEditorIndicatorZhuyinFind, |
|
1166 |
EAknNaviPaneEditorIndicatorStrokeFind, |
|
1167 |
||
1168 |
EAknNaviPaneEditorIndicatorCangJie, |
|
1169 |
||
1170 |
EAknNaviPaneEditorIndicatorPinyinPhrase, |
|
1171 |
EAknNaviPaneEditorIndicatorZhuyinPhrase, |
|
1172 |
EAknNaviPaneEditorIndicatorStrokePhrase, |
|
1173 |
EAknNaviPaneEditorIndicatorStrokeTradPhrase, |
|
1174 |
||
1175 |
// THAI |
|
1176 |
EAknNaviPaneEditorIndicatorThai = 170, |
|
1177 |
||
1178 |
EAknNaviPaneEditorIndicatorStrokeTrad, // Stroke editor indicator for traditional Chinese. |
|
1179 |
||
1180 |
//FARSI aND URDU |
|
1181 |
EAknNaviPaneEditorIndicatorFarsiAndUrduCase, |
|
1182 |
||
1183 |
// Application indicators to editor indicator pane |
|
1184 |
EAknNaviPaneEditorIndicatorAudioAttached = 200, |
|
1185 |
EAknNaviPaneEditorIndicatorImageAttached, |
|
1186 |
EAknNaviPaneEditorIndicatorObjects, |
|
1187 |
EAknNaviPaneEditorIndicatorAttachment, |
|
1188 |
EAknNaviPaneEditorIndicatorMessageLength, |
|
1189 |
EAknNaviPaneEditorIndicatorMessageInfo, |
|
1190 |
||
1191 |
// Extra application indicators to editor indicator pane in small statuspane |
|
1192 |
EAknNaviPaneEditorIndicatorWaitBar, |
|
1193 |
EAknNaviPaneEditorIndicatorProgressBar, |
|
1194 |
EAknNaviPaneEditorIndicatorSecuredConnection, |
|
1195 |
EAknNaviPaneEditorIndicatorWmlWaitGlobe, |
|
1196 |
EAknNaviPaneEditorIndicatorGprs, |
|
1197 |
EAknNaviPaneEditorIndicatorFileSize, |
|
1198 |
EAknNaviPaneEditorIndicatorWmlWindows, |
|
1199 |
EAknNaviPaneEditorIndicatorMcePriorityHigh, |
|
1200 |
EAknNaviPaneEditorIndicatorMcePriorityLow, |
|
1201 |
EAknNaviPaneEditorIndicatorWmlWindowsText, |
|
1202 |
EAknNaviPaneEditorIndicatorWlanAvailable, |
|
1203 |
EAknNaviPaneEditorIndicatorWlanActive, |
|
1204 |
EAknNaviPaneEditorIndicatorWlanActiveSecure, |
|
1205 |
||
1206 |
// Navi pane editor indicators for Japanese |
|
1207 |
EAknNaviPaneEditorIndicatorJapaneseHiraganaKanji = 300, // Hiragana/Kanji |
|
1208 |
EAknNaviPaneEditorIndicatorJapaneseHiragana, // Hiragana |
|
1209 |
EAknNaviPaneEditorIndicatorJapaneseFullKatakana, // Full-width Katakana |
|
1210 |
EAknNaviPaneEditorIndicatorJapaneseHalfKatakana, // Half-width Katakana |
|
1211 |
EAknNaviPaneEditorIndicatorJapaneseFullUpperAlphabet, // Full-width Upper Case alphabet |
|
1212 |
EAknNaviPaneEditorIndicatorJapaneseFullLowerAlphabet, // Full-width Lower Case alphabet |
|
1213 |
EAknNaviPaneEditorIndicatorJapaneseFullTextAlphabet, // Full-width Text Case alphabet |
|
1214 |
EAknNaviPaneEditorIndicatorJapaneseFullNumeric, // Full-width numeric |
|
1215 |
||
1216 |
// Navi pane editor indicators for Korean |
|
1217 |
EAknNaviPaneEditorIndicatorKoreanHangul, |
|
1218 |
EAknNaviPaneEditorIndicatorKoreanHangulSelect, |
|
1219 |
||
1220 |
// Navi Pane editor indicators for Vietnamese |
|
1221 |
EAknNaviPaneEditorIndicatorVietnameseUpperCase = 400, |
|
1222 |
EAknNaviPaneEditorIndicatorVietnameseLowerCase, |
|
1223 |
EAknNaviPaneEditorIndicatorVietnameseTextCase, |
|
1224 |
||
1225 |
// Navi Pane editor indicators for Fn key |
|
1226 |
EAknNaviPaneEditorIndicatorFnKeyPressed =500, |
|
1227 |
EAknNaviPaneEditorIndicatorFnKeyLocked, |
|
1228 |
||
1229 |
// Navi Pane editor indicators for Greek |
|
1230 |
EAknNaviPaneEditorIndicatorGreekUpperCase = 600, |
|
1231 |
EAknNaviPaneEditorIndicatorGreekLowerCase, |
|
1232 |
EAknNaviPaneEditorIndicatorGreekTextCase, |
|
1233 |
||
1234 |
// Navi Pane editor indicators for Cyrillic |
|
1235 |
EAknNaviPaneEditorIndicatorCyrillicUpperCase = 700, |
|
1236 |
EAknNaviPaneEditorIndicatorCyrillicLowerCase, |
|
1237 |
EAknNaviPaneEditorIndicatorCyrillicTextCase, |
|
1238 |
||
1239 |
// Navi pane indicator for hybrid mode in easy dialling |
|
1240 |
EAknNaviPaneEditorIndicatorHybridLatin = 800, |
|
1241 |
||
1242 |
// Reserved for dynamic indicators |
|
1243 |
EAknNaviPaneEditorIndicatorDynamicUidRangeFirst = 10000, |
|
1244 |
EAknNaviPaneEditorIndicatorDynamicUidRangeLast = 11000 |
|
1245 |
}; |
|
1246 |
||
1247 |
enum // Indicator states |
|
1248 |
{ |
|
1249 |
EAknIndicatorStateOff, |
|
1250 |
EAknIndicatorStateOn, |
|
1251 |
EAknIndicatorStateAnimate |
|
1252 |
}; |
|
1253 |
||
1254 |
enum // Signal indicator states |
|
1255 |
{ |
|
1256 |
// GPRS indicator states |
|
1257 |
EAknSignalGprsIndicatorOff = 0, |
|
1258 |
EAknSignalGprsIndicatorAvailable, // Same as EAknSignalGprsIndicatorOff |
|
1259 |
EAknSignalGprsIndicatorAttached, |
|
1260 |
EAknSignalGprsIndicatorEstablishingContext, |
|
1261 |
EAknSignalGprsIndicatorContext, |
|
1262 |
EAknSignalGprsIndicatorSuspended, |
|
1263 |
EAknSignalGprsIndicatorMultipdp, |
|
1264 |
||
1265 |
// Common packet data indicator states |
|
1266 |
EAknSignalCommonPacketDataIndicatorOff = 0x100, |
|
1267 |
EAknSignalCommonPacketDataIndicatorAvailable, // Same as EAknSignalCommonPacketDataIndicatorOff |
|
1268 |
EAknSignalCommonPacketDataIndicatorAttached, |
|
1269 |
EAknSignalCommonPacketDataIndicatorEstablishingContext, |
|
1270 |
EAknSignalCommonPacketDataIndicatorContext, |
|
1271 |
EAknSignalCommonPacketDataIndicatorSuspended, |
|
1272 |
EAknSignalCommonPacketDataIndicatorMultipdp, |
|
1273 |
||
1274 |
// WCDMA indicator states |
|
1275 |
EAknSignalWcdmaIndicatorOff = 0x200, |
|
1276 |
EAknSignalWcdmaIndicatorAvailable, |
|
1277 |
EAknSignalWcdmaIndicatorAttached, |
|
1278 |
EAknSignalWcdmaIndicatorEstablishingContext, |
|
1279 |
EAknSignalWcdmaIndicatorContext, |
|
1280 |
EAknSignalWcdmaIndicatorMultipdp, |
|
1281 |
EAknSignalWcdmaIndicatorSuspended, |
|
1282 |
||
1283 |
// CDMA indicator states |
|
1284 |
EAknSignalCdmaIndicatorOff = 0x300, |
|
1285 |
EAknSignalCdmaIndicatorNoService, |
|
1286 |
EAknSignalCdmaIndicatorAvailable, |
|
1287 |
EAknSignalCdmaIndicatorNotAvailable, |
|
1288 |
EAknSignalCdmaIndicatorActive, |
|
1289 |
EAknSignalCdmaIndicatorDormant, |
|
1290 |
EAknSignalCdmaIndicatorSending, |
|
1291 |
EAknSignalCdmaIndicatorReceiving, |
|
1292 |
||
1293 |
// EDGE indicator states |
|
1294 |
EAknSignalEdgeIndicatorOff = 0x400, |
|
1295 |
EAknSignalEdgeIndicatorAvailable, |
|
1296 |
EAknSignalEdgeIndicatorAttached, |
|
1297 |
EAknSignalEdgeIndicatorEstablishingContext, |
|
1298 |
EAknSignalEdgeIndicatorContext, |
|
1299 |
EAknSignalEdgeIndicatorSuspended, |
|
1300 |
EAknSignalEdgeIndicatorMultipdp, |
|
1301 |
||
1302 |
// HSDPA indicator states |
|
1303 |
EAknSignalHsdpaIndicatorOff = 0x500, |
|
1304 |
EAknSignalHsdpaIndicatorAvailable, |
|
1305 |
EAknSignalHsdpaIndicatorAttached, |
|
1306 |
EAknSignalHsdpaIndicatorEstablishingContext, |
|
1307 |
EAknSignalHsdpaIndicatorContext, |
|
1308 |
EAknSignalHsdpaIndicatorSuspended, |
|
72
a5e7a4f63858
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
64
diff
changeset
|
1309 |
EAknSignalHsdpaIndicatorMultipdp |
56 | 1310 |
}; |
1311 |
||
1312 |
#define KAknSignalOffLineMode 0x00010000 |
|
1313 |
||
1314 |
// Grid layout flags |
|
1315 |
#define EAknGridHorizontalOrientation 0x01 |
|
1316 |
#define EAknGridVerticalOrientation 0x02 |
|
1317 |
#define EAknGridRightToLeft 0x04 |
|
1318 |
#define EAknGridLeftToRight 0x08 |
|
1319 |
#define EAknGridBottomToTop 0x10 |
|
1320 |
#define EAknGridTopToBottom 0x20 |
|
1321 |
// Chooses right-to-left or left-to-right depending on language's writing direction |
|
1322 |
// You MUST use CurrentDataIndex() and CurrentItemIndex() from grid correctly if you |
|
1323 |
// choose this flag! (Most cases you want to use CurrentDataIndex(), not CurrentItemIndex!) |
|
1324 |
#define EAknGridLanguageSpecificHorizontalDirection 0x40 |
|
1325 |
||
1326 |
#define EAknGridFollowsItemsAndStops 0x00 |
|
1327 |
#define EAknGridFollowsItemsAndLoops 0x01 |
|
1328 |
#define EAknGridFollowsGrid 0x02 |
|
1329 |
#define EAknGridStops 0x04 |
|
1330 |
#define EAknGridIncrementLineAndStops 0x08 |
|
1331 |
#define EAknGridIncrementLineAndLoops 0x10 |
|
1332 |
||
1333 |
// Bitmap Animation flags |
|
1334 |
#define EAknBitmapAnimationPlayModePlay 0x00 |
|
1335 |
#define EAknBitmapAnimationPlayModeCycle 0x01 |
|
1336 |
#define EAknBitmapAnimationPlayModeBounce 0x02 |
|
1337 |
||
1338 |
// Defining colors in resource file (this is for defining your own color schemes, do not use in |
|
1339 |
// applications!) (num is the number from LAF specification!) This is used in eikcolor.ra to setup |
|
1340 |
// color lists. |
|
1341 |
#define AVKON_COLOR(num,r,g,b) CTRL_COLOR { logical_color=(num); color = COLOR { red=(r); green=(g); blue=(b); }; } |
|
1342 |
||
1343 |
// This is used in eikcolor.ra |
|
1344 |
#define AVKON_RGB(num,r,g,b) COLOR { red=(r); green=(g); blue=(b); } |
|
1345 |
||
1346 |
// |
|
1347 |
// defines for different listbox layouts |
|
1348 |
// gfx = index to the image in icon array in A column |
|
1349 |
// heading = heading text in B column |
|
1350 |
// text = main text for C column |
|
1351 |
// optgfx1 = index to optional image in D column |
|
1352 |
// optgfx2 = index to 2nd optional image in D column |
|
1353 |
// |
|
1354 |
// Example: LB_SINGLE_GRAPHIC_HEADING(1, qgn_icon_1, qtn_text_1) |
|
1355 |
||
1356 |
#define LB_SINGLE(text) text |
|
1357 |
#define LB_SINGLE_NUMBER(num,text) #num ## "/t" ## text |
|
1358 |
#define LB_SINGLE_HEADING(heading, text) heading ## "/t" ## text |
|
1359 |
#define LB_SINGLE_GRAPHIC(gfx, text) #gfx ## text |
|
1360 |
#define LB_SINGLE_GRAPHIC_HEADING(gfx, heading, text) #gfx ## "/t" ## heading ## "/t" ## text |
|
1361 |
||
1362 |
// SCT enumerations |
|
1363 |
enum // ids in SCT_CHAR_SET resource. |
|
1364 |
{ |
|
1365 |
EAknSCTLowerCase, |
|
1366 |
EAknSCTUpperCase, |
|
1367 |
EAknSCTNumeric, |
|
1368 |
EAknSCTFullCase, |
|
1369 |
EAknSCTHalfCase, |
|
1370 |
EAknSCTQwerty, |
|
1371 |
EAknSCTChiChineseInputModes = EAknSCTUpperCase, |
|
1372 |
EAknSCTChiLatinInputModes = EAknSCTLowerCase, |
|
1373 |
// The following definitions are used for category buttons |
|
1374 |
EAknSCTPictograph = 10, |
|
1375 |
EAknSCTPictograph1, |
|
1376 |
EAknSCTPictograph2 |
|
1377 |
}; |
|
1378 |
||
1379 |
// For Setting Page resource so that no number is displayed |
|
1380 |
#define EAknSettingPageNoOrdinalDisplayed (-16380) |
|
1381 |
||
1382 |
// Flag for Setting Item resource |
|
1383 |
#define EAknSettingItemNumberedStyle (0x0001) |
|
1384 |
#define EAknSettingItemIncludeHiddenInOrdinal (0x0002) |
|
1385 |
||
1386 |
enum TSCTQueryCtrlIds |
|
1387 |
{ |
|
1388 |
EAknSCTQueryHeadingId = 1, |
|
1389 |
EAknSCTQueryContentId |
|
1390 |
}; |
|
1391 |
||
1392 |
enum TSmileyQueryCtrlIds |
|
1393 |
{ |
|
1394 |
EAknSmileyQueryHeadingId = 1, |
|
1395 |
EAknSmileyQueryContentId |
|
1396 |
}; |
|
1397 |
||
1398 |
// Enemerations for Avkon KeySounds |
|
1399 |
||
1400 |
enum TAvkonSKeyRepeatType |
|
1401 |
{ |
|
1402 |
ESKeyTypeShort, |
|
1403 |
ESKeyTypeLong, |
|
1404 |
ESKeyTypeRepeat |
|
1405 |
}; |
|
1406 |
||
1407 |
// These SID numbers should specify all AVKON defined SID's |
|
1408 |
// The first item starts from 1000 so there are no clashes |
|
1409 |
// with application defined SID's (which should start at 0) |
|
1410 |
enum TAvkonSystemSID |
|
1411 |
{ |
|
1412 |
EAvkonSIDNoSound = 1000, |
|
1413 |
EAvkonSIDDefaultSound = 1001, |
|
1414 |
EAvkonSIDStandardKeyClick = 1002, |
|
1415 |
EAvkonSIDConfirmationTone = 1003, |
|
1416 |
EAvkonSIDInformationTone = 1003, |
|
1417 |
EAvkonSIDWarningTone = 1004, |
|
1418 |
EAvkonSIDErrorTone = 1005, |
|
1419 |
EAvkonSIDVolumeMaxTone = 1006, |
|
1420 |
EAvkonSIDVolumeMinTone = 1007, |
|
1421 |
EAvkonSIDReadialCompleteTone = 1008, |
|
1422 |
EAvkonSIDBatteryLowTone = 1009, |
|
1423 |
EAvkonSIDChargingBatteryTone = 1010, |
|
1424 |
EAvkonSIDConnectionStartTone = 1011, |
|
1425 |
EAvkonSIDConnectionStopTone = 1012, |
|
1426 |
EAvkonSIDOperationReadyTone = 1013, |
|
1427 |
EAvkonSIDNameDiallerStartTone = 1014, |
|
1428 |
EAvkonSIDNameDiallerErrorTone = 1015, |
|
1429 |
EAvkonSIDNameDiallerAbortTone = 1016, |
|
1430 |
EAvkonSIDPowerOffTone = 1017, |
|
1431 |
EAvkonSIDPowerOnTone = 1018, |
|
1432 |
EAvkonSIDRechargeBatteryTone = 1019, |
|
1433 |
EAvkonSIDVoiceRecordingTone = 1020, |
|
1434 |
EAvkonSIDVoiceRecordingStartTone = 1021, |
|
1435 |
EAvkonSIDVoiceRecordingStopTone = 1022, |
|
1436 |
EAvkonSIDWrongCharger = 1023, |
|
1437 |
EAvkonSIDNetBusy = 1024, |
|
1438 |
EAvkonSIDNetCallWaiting = 1025, |
|
1439 |
EAvkonSIDNetReorder = 1026, |
|
1440 |
EAvkonSIDNetCongestion = 1027, |
|
1441 |
EAvkonSIDNetSpecialInformation = 1028, |
|
1442 |
EAvkonSIDNetRadioNotAvailable = 1029, |
|
1443 |
EAvkonSIDIHFActive = 1030, |
|
1444 |
EAvkonSIDRadioPathAcknowledge = 1031, |
|
1445 |
EAvkonSIDDial = 1032, |
|
1446 |
EAvkonSIDRingGoing = 1033, |
|
1447 |
EAvkonSIDLocationRequest = 1034 |
|
1448 |
}; |
|
1449 |
||
1450 |
// These are used as priority values for Media Server |
|
1451 |
enum TAvkonSoundsPriority |
|
1452 |
{ |
|
1453 |
EAvkonKeyClickPriority = 45, // contains DTMF and camera |
|
1454 |
EAvkonPoweringTonesPriority = 50, |
|
1455 |
EAvkonLowLevelNotesPriority = 55, |
|
1456 |
EAvkonConfirmationNotePriority = 55, |
|
1457 |
EAvkonVolumeSettingTonesPriority = 60, |
|
1458 |
EAvkonConnectionTonesPriority = 65, |
|
1459 |
EAvkonHighLevelNotesPriority = 70, |
|
1460 |
EAvkonErrorNotePriority = 70, |
|
1461 |
EAvkonWarningNotePriority = 70, |
|
1462 |
EAvkonVoiceDiallingTonesPriority = 73, |
|
1463 |
EAvkonNetworkingTonesPriority = 75, |
|
1464 |
EAvkonRecordingTonesPriority = 80, |
|
1465 |
EAvkonChargingTonesPriority = 85, |
|
1466 |
EAvkonNewMessageTonesPriority = 90, |
|
1467 |
EAvkonAlarmTonesPriority = 95, |
|
1468 |
EAvkonRingingTonesPriority = 100 |
|
1469 |
}; |
|
1470 |
||
1471 |
// These are used as priority preference values for Media Server |
|
1472 |
enum TAvkonSoundsPreference |
|
1473 |
{ |
|
1474 |
EAknAudioPrefIncomingCall = 0x01340001, |
|
1475 |
EAknAudioPrefIncomingCallLine2 = 0x01330001, |
|
1476 |
EAknAudioPrefIncomingDataCall = 0x01320001, |
|
1477 |
EAknAudioPrefAutoRedialCompleted = 0x01310001, |
|
1478 |
||
1479 |
EAknAudioPrefAlarmClock = 0x01220001, |
|
1480 |
EAknAudioPrefCalendarAlarm = 0x01210001, |
|
1481 |
||
1482 |
// Message Preferences |
|
1483 |
EAknAudioPrefNewSMS = 0x01120001, |
|
1484 |
EAknAudioPrefNewSpecialMessage = 0x01110001, |
|
1485 |
||
1486 |
// Battery preferences |
|
1487 |
EAknAudioPrefBatteryLow = 0x01030001, |
|
1488 |
EAknAudioPrefRechargeBattery = 0x01020001, |
|
1489 |
EAknAudioPrefWrongCharger = 0x01010001, |
|
1490 |
||
1491 |
// Recording Tone preferences |
|
1492 |
EAknAudioPrefVoiceRecStart = 0x00930001, |
|
1493 |
EAknAudioPrefVoiceRecRecording = 0x00920001, |
|
1494 |
EAknAudioPrefVoiceRecStop = 0x00910001, |
|
1495 |
||
1496 |
// Network preferences |
|
1497 |
EAknAudioPrefRadioPathAck = 0x00890001, |
|
1498 |
EAknAudioPrefDial = 0x00880001, |
|
1499 |
EAknAudioPrefRingGoing = 0x00870001, |
|
1500 |
EAknAudioPrefBusy = 0x00860001, |
|
1501 |
EAknAudioPrefCallWaiting = 0x00850001, |
|
1502 |
EAknAudioPrefReorder = 0x00840001, |
|
1503 |
EAknAudioPrefCongestion = 0x00830001, |
|
1504 |
EAknAudioPrefSpecialInformation = 0x00820001, |
|
1505 |
EAknAudioPrefRadioNotAvailable = 0x00810001, |
|
1506 |
||
1507 |
// High level preferences |
|
1508 |
EAknAudioPrefError = 0x00720001, |
|
1509 |
EAknAudioPrefWarning = 0x00710001, |
|
1510 |
||
1511 |
// Voice Dialling preferences |
|
1512 |
EAknAudioPrefVoiceStarting = 0x00630001, |
|
1513 |
EAknAudioPrefVoiceError = 0x00620001, |
|
1514 |
EAknAudioPrefVoiceAbort = 0x00610001, |
|
1515 |
||
1516 |
// Connection preferences |
|
1517 |
EAknAudioPrefConnectionStart = 0x00530001, |
|
1518 |
EAknAudioPrefConnectionStop = 0x00520001, |
|
1519 |
EAknAudioPrefOperationReady = 0x00510001, |
|
1520 |
||
1521 |
// Volume / IHF preferences /Previews |
|
1522 |
EAknAudioPrefFilePreview = 0x00440001, |
|
1523 |
EAknAudioPrefAudioVolumeMin = 0x00430001, |
|
1524 |
EAknAudioPrefAudioVolumeMax = 0x00420001, |
|
1525 |
EAknAudioPrefIHFActive = 0x00410001, |
|
1526 |
||
1527 |
// Low Level preferences |
|
1528 |
EAknAudioPrefCharging = 0x00330001, |
|
1529 |
EAknAudioPrefConfirmation = 0x00320001, |
|
1530 |
EAknAudioPrefDefaultTone = 0x00310001, |
|
1531 |
||
1532 |
// Phone power preferences |
|
1533 |
EAknAudioPrefPowerOn = 0x00220001, |
|
1534 |
EAknAudioPrefPowerOff = 0x00210001, |
|
1535 |
||
1536 |
// Key press / camera click preferences |
|
1537 |
EAknAudioPrefKeyPressNonDTMF = 0x00140001, |
|
1538 |
EAknAudioPrefKeyDownDTMF = 0x00130001, |
|
1539 |
EAknAudioPrefKeyUpDTMF = 0x00120001, |
|
1540 |
EAknAudioPrefCamera = 0x00110001, |
|
1541 |
||
1542 |
// Record and VoCos Preferences |
|
1543 |
EAknAudioPrefVoiceRec = 0x00060001, |
|
1544 |
EAknAudioPrefComposer = 0x00050001, |
|
1545 |
EAknAudioPrefRingFilePreview = 0x00040001, |
|
1546 |
EAknAudioPrefVocosPlayback = 0x00030001, |
|
1547 |
EAknAudioPrefVocosTrain = 0x00020001, |
|
1548 |
EAknAudioPrefVocosRecog = 0x00010001, |
|
1549 |
||
1550 |
EAvkonKeyClickPreference = 0x00140001, |
|
1551 |
EAvkonConfirmationNotePreference = 0x00320001, |
|
1552 |
EAvkonErrorNotePreference = 0x00720001, |
|
1553 |
EAvkonWarningNotePreference = 0x00710001 |
|
1554 |
}; |
|
1555 |
||
1556 |
// Constants for integer editor widths; may be required in resource |
|
1557 |
#define EAknMaxIntegerDigits 12 |
|
1558 |
||
1559 |
enum TMessageQueryCtrlIds |
|
1560 |
{ |
|
1561 |
EAknMessageQueryHeaderId = 1, |
|
1562 |
EAknMessageQueryContentId |
|
1563 |
}; |
|
1564 |
||
1565 |
// CAknIncallBubble flags |
|
1566 |
/** |
|
1567 |
* Bit Explanation |
|
1568 |
* 0 and 1 Call state |
|
1569 |
* 2 No Ciphering |
|
1570 |
* 3 Is muted |
|
1571 |
* 4 Is Visible |
|
1572 |
* 5 Is a Fax |
|
1573 |
* 6 Is a Data call |
|
1574 |
* 7 Is a Hscsd data call |
|
1575 |
* 8 Line 2 indication |
|
1576 |
* 9 Is a Video call |
|
1577 |
* 10 Is an emergency call |
|
1578 |
* 11 Is a VoIP call |
|
1579 |
* 12 Is a full screen touch input window show |
|
1580 |
* 13 If a full screen touch input window hide |
|
1581 |
* ... |
|
1582 |
* ... |
|
1583 |
* 31 Reserved for incall bubble notifier internal use. |
|
1584 |
*/ |
|
1585 |
||
1586 |
enum TAvkonIncallStatusBubbleFlags |
|
1587 |
{ |
|
1588 |
EAknStatusBubbleAlerting = 0x00, // One of |
|
1589 |
EAknStatusBubbleActive = 0x01, // these |
|
1590 |
EAknStatusBubbleOnHold = 0x02, // to set |
|
1591 |
EAknStatusBubbleDisconnected = 0x03, // the call state |
|
1592 |
EAknStatusBubbleNoCiphering = 0x04, |
|
1593 |
EAknStatusBubbleMuted = 0x08, |
|
1594 |
EAknStatusBubbleVisible = 0x10, |
|
1595 |
EAknStatusBubbleFax = 0x20, |
|
1596 |
EAknStatusBubbleData = 0x40, |
|
1597 |
EAknStatusBubbleDataHscsd = 0x80, |
|
1598 |
EAknStatusBubbleLine2 = 0x100, |
|
1599 |
EAknStatusBubbleVideo = 0x200, |
|
1600 |
EAknStatusBubbleEmergency = 0x400, |
|
1601 |
EAknStatusBubbleVoIP = 0x800, |
|
1602 |
EAknStatusBubbleInputShow = 0x1000, |
|
1603 |
EAknStatusBubbleInputHide = 0x2000, |
|
1604 |
EAknStatusBubbleReservedInternal = 0x80000000 |
|
1605 |
}; |
|
1606 |
||
1607 |
/** |
|
1608 |
* Timeouts for note dialog wrappers |
|
1609 |
* These should be kept same as CAknNoteDialog::TTimeout. |
|
1610 |
*/ |
|
1611 |
enum TAknNoteDialogTimeout |
|
1612 |
{ |
|
1613 |
EAknNoteDialogUndefinedTimeout = 0, |
|
1614 |
EAknNoteDialogShortTimeout = 1500000, |
|
1615 |
EAknNoteDialogLongTimeout = 3000000, |
|
1616 |
||
1617 |
// Change these if Notes UI spec changes: |
|
1618 |
EAknConfirmationNoteTimeout = EAknNoteDialogShortTimeout, |
|
1619 |
EAknInformationNoteTimeout = EAknNoteDialogLongTimeout, |
|
1620 |
EAknErrorNoteTimeout = EAknNoteDialogLongTimeout, |
|
1621 |
EAknWarningNoteTimeout = EAknNoteDialogLongTimeout |
|
1622 |
}; |
|
1623 |
||
1624 |
/** |
|
1625 |
* Tones for note dialog wrappers |
|
1626 |
* These should be kept same as CAknNoteDialog::TTone. |
|
1627 |
*/ |
|
1628 |
enum TAknNoteDialogTone |
|
1629 |
{ |
|
1630 |
EAknNoteDialogNoTone = 0, |
|
1631 |
EAknNoteDialogConfirmationTone = EAvkonSIDConfirmationTone, |
|
1632 |
EAknNoteDialogWarningTone = EAvkonSIDWarningTone, |
|
1633 |
EAknNoteDialogErrorTone = EAvkonSIDErrorTone |
|
1634 |
}; |
|
1635 |
||
1636 |
enum TAknSelectionListDialogFlags |
|
1637 |
{ |
|
1638 |
EAknFlagFind = 0x0001 |
|
1639 |
}; |
|
1640 |
||
1641 |
enum TAknIconArrayType |
|
1642 |
{ |
|
1643 |
EAknIconArrayNone, |
|
1644 |
EAknIconArraySimple, |
|
1645 |
EAknIconArrayComplex |
|
1646 |
}; |
|
1647 |
||
1648 |
// This enum is to distinguish at runtime whether you are in |
|
1649 |
// European or APAC build variant. |
|
1650 |
enum EVariantFlag |
|
1651 |
{ |
|
1652 |
EEuropeanVariant=0, |
|
1653 |
EApacVariant |
|
1654 |
}; |
|
1655 |
||
1656 |
// This can be extended for additional subvariants. Routine in AknUtils should be updated |
|
1657 |
// to return the correct sub-variant. |
|
1658 |
enum ESubVariantFlag |
|
1659 |
{ |
|
1660 |
ENoSubVariant = 0, |
|
1661 |
EPrcSubVariant, |
|
1662 |
EHongKongSubVariant, |
|
1663 |
ETaiwanSubVariant |
|
1664 |
}; |
|
1665 |
||
1666 |
// This is the max length of the screensaver text |
|
1667 |
#define KScreensaverTextMaxLength 15 |
|
1668 |
||
1669 |
// These flags are to be used in conjunction with CAknForm |
|
1670 |
#define KSingleLineHorizontalScrollingEditorFlags EEikEdwinAlternativeWrapping | EEikEdwinNoWrap |
|
1671 |
#define KMultiLineExpandingEditorFlags EEikEdwinNoHorizScrolling | EEikEdwinResizable |
|
1672 |
||
1673 |
// Deprecated |
|
1674 |
#define AVERELL_NOTE AVKON_NOTE |
|
1675 |
#define AVERELL_CONFIRMATION_QUERY AVKON_CONFIRMATION_QUERY |
|
1676 |
#define AVERELL_DATA_QUERY AVKON_DATA_QUERY |
|
1677 |
||
1678 |
enum TAknKeyBlockMode |
|
1679 |
{ |
|
1680 |
EDefaultBlockMode = 0, |
|
1681 |
ENoKeyBlock |
|
1682 |
}; |
|
1683 |
||
1684 |
// Separator line. |
|
1685 |
enum TAknSeparatorLinePosition |
|
1686 |
{ |
|
1687 |
ENoLine, |
|
1688 |
EAColumn, |
|
1689 |
EABColumn, |
|
1690 |
EBCColumn, |
|
1691 |
EBCColumnStretched |
|
1692 |
}; |
|
1693 |
||
1694 |
enum TAknColourSelectionDialogIds |
|
1695 |
{ |
|
1696 |
ECtrlGridType = 100, |
|
1697 |
EColourGridPopup, |
|
1698 |
EColourGridPopupNone |
|
1699 |
}; |
|
1700 |
||
1701 |
// custom text cursor constants |
|
1702 |
||
1703 |
enum TAknCustomTextCursorIds |
|
1704 |
{ |
|
1705 |
KAknCustomTextCursorIdLeftToRight = 0x101fdf03, |
|
1706 |
KAknCustomTextCursorIdRightToLeft = 0x101fdf04, |
|
1707 |
KAknCustomTextCursorIdLeftToRightThin = 0x101fe51c, |
|
1708 |
KAknCustomTextCursorIdRightToLeftThin = 0x101fe51d |
|
1709 |
}; |
|
1710 |
||
1711 |
enum TAknNaviPaneBackgroundTypes |
|
1712 |
{ |
|
1713 |
EAknNaviPaneBackgroundTypeNotDefined = 0, |
|
1714 |
EAknNaviPaneBackgroundTypeWipe = 1, |
|
1715 |
EAknNaviPaneBackgroundTypeSolid = 2 |
|
1716 |
}; |
|
1717 |
||
1718 |
// common bitmap file definitions (for .rss etc.) |
|
1719 |
||
1720 |
#define COMMONDIALOGS_BITMAP_FILE "z:\\resource\\apps\\commondialogs.mbm" |
|
1721 |
#define CALLSTATUS_BITMAP_FILE "z:\\resource\\apps\\callstatus.mbm" |
|
1722 |
#define MEMORYCARDUI_BITMAP_FILE "z:\\resource\\apps\\aknmemorycardui.mbm" |
|
1723 |
#define AVKON_BITMAP_FILE "z:\\resource\\apps\\avkon2.mbm" |
|
1724 |
#define AVKON_VARIATED_BITMAPS_FILE "z:\\resource\\apps\\variatedbitmaps.mbm" |
|
1725 |
#define SMILEY_ICONS_MIF_FILE "z:\\resource\\apps\\smiley.mif" |
|
1726 |
||
1727 |
// End key closing event. If this window server event is received, |
|
1728 |
// by default application will be closed unless it is system application. |
|
1729 |
#define KAknUidValueEndKeyCloseEvent 0x101F87F0 |
|
1730 |
||
1731 |
enum TAknStylusPopUpCmdLinkIds |
|
1732 |
{ |
|
1733 |
EAknStylusPopUpCmdLink1 = 0, |
|
1734 |
EAknStylusPopUpCmdLink2 |
|
1735 |
}; |
|
1736 |
||
1737 |
/** |
|
1738 |
* Battery indicator states. |
|
1739 |
*/ |
|
1740 |
enum TAknBatteryIndicatorStates |
|
1741 |
{ |
|
1742 |
EAknBatteryIndicatorNormal = 1, |
|
1743 |
EAknBatteryIndicatorPowerSave |
|
1744 |
}; |
|
1745 |
||
1746 |
// Category button IDs enumerations for SCT |
|
1747 |
// Those IDs are used on AVKON_SCT_CATEGORY_BUTTON resource. |
|
1748 |
// r:5.0 |
|
1749 |
enum TAknSCTCategoryButtons |
|
1750 |
{ |
|
1751 |
EAknSCTCategoryButtonHalfCase = 0, |
|
1752 |
EAknSCTCategoryButtonFullCase, |
|
1753 |
EAknSCTCategoryButtonPicto, |
|
1754 |
EAknSCTCategoryButtonPicto1, |
|
1755 |
EAknSCTCategoryButtonPicto2, |
|
1756 |
EAknSCTCategoryButtonLastId // not set to ids |
|
1757 |
}; |
|
1758 |
enum TAknFepDualLanguageSettingDualInput |
|
1759 |
{ |
|
1760 |
EAknFepDualLanguageSettingDualInputPrimary, |
|
1761 |
EAknFepDualLanguageSettingDualInputSecondary |
|
1762 |
}; |
|
1763 |
||
1764 |
enum TAknSctPageNaviButtons |
|
1765 |
{ |
|
1766 |
EAknSctTableNaviExit = 0, |
|
1767 |
EAknSctPageNaviPrevPage, |
|
1768 |
EAknSctPageNaviNextPage, |
|
1769 |
EAknSctTableNaviSpecialChar, |
|
1770 |
EAknSctTableNaviEmotion, |
|
1771 |
EAknSctPageNaviLastId |
|
1772 |
}; |
|
1773 |
||
1774 |
// |
|
1775 |
// Flags for CAknDiscreetPopup |
|
1776 |
// |
|
1777 |
// Popup's duration is long (default is short) |
|
1778 |
#define KAknDiscreetPopupDurationLong 0x00000001 |
|
1779 |
// Popup switches the device light on |
|
1780 |
#define KAknDiscreetPopupLightsOn 0x00000002 |
|
1781 |
// Popup plays the confirmation tone |
|
1782 |
#define KAknDiscreetPopupConfirmationTone 0x00000004 |
|
1783 |
// Popup plays the warning tone |
|
1784 |
#define KAknDiscreetPopupWarningTone 0x00000008 |
|
1785 |
// Popup plays the error tone |
|
1786 |
#define KAknDiscreetPopupErrorTone 0x00000010 |
|
1787 |
#endif // __AVKON_HRH__ |
|
1788 |
||
1789 |
// |
|
1790 |
// Flags for CAknSettingPage (used in extension resource) |
|
1791 |
// |
|
1792 |
#define KAknSettingPageNoEmbeddedSoftKeys 0x00000001 |
|
1793 |