00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef AKNCONSTS_H
00023 #define AKNCONSTS_H
00024
00025 #include <avkon.hrh>
00026
00027
00028
00032 const TInt KStatusPaneBackgroundGraphicsColorIdle = 215;
00033
00037 const TInt KStatusPaneBackgroundGraphicsColorUsual = 237;
00038
00042 const TInt KStatusPaneBackgroundColor = 0;
00043
00047 const TInt Kqpn_height_status_pane_idle = 56;
00048
00052 const TInt Kqpn_height_status_pane_usual = 44;
00053
00057 struct SLafIconLayout
00058 {
00059 TInt left;
00060 TInt top;
00061 TInt right;
00062 TInt bottom;
00063 TInt width;
00064 TInt height;
00065 };
00066
00070 struct SLafTextCharasteristics
00071 {
00072 TInt color;
00073 TInt left;
00074 TInt right;
00075 TInt baseline;
00076 TInt width;
00077 TInt justification;
00078 };
00079
00084 const TInt KNoValue = -1000;
00085
00089 const TInt KUseOtherValue = -1001;
00090
00094 const TInt KUseBaseValue = 0;
00095
00096
00100 const struct SLafIconLayout KStatusPaneBackgroundGraphics =
00101 {1,29,KNoValue,KNoValue,174,15};
00102
00106 const struct SLafIconLayout KStatusPaneNaviPaneWipeGraphics =
00107 {0, 1, KNoValue, KNoValue, 174, 15};
00108
00112 const struct SLafIconLayout KStatusPaneNaviPaneWipeBitmapOffset =
00113 {55, 0, KNoValue, KNoValue, 174, 15};
00114
00118 const struct SLafIconLayout KNaviQgnNaviArrowLeft =
00119 {0,0,KNoValue,KNoValue,4,16};
00120
00124 const struct SLafIconLayout KNaviQgnNaviArrowRight[2] =
00125 {
00126 {KNoValue,0,5,KNoValue,4,16},
00127 {KNoValue,0,1,KNoValue,4,16}
00128 };
00129
00130
00134 const struct SLafIconLayout KNaviQgnNaviTabBitmap =
00135 {4,0,KNoValue,KNoValue,107,16};
00136
00140 const struct SLafIconLayout KNaviQgnNaviTabIcon2[2] =
00141 {
00142 {17,3,KNoValue,KNoValue,35,11},
00143 {63,3,KNoValue,KNoValue,35,11}
00144 };
00145
00149 const struct SLafIconLayout KNaviQgnNaviTabIconLong2[2] =
00150 {
00151 {17,3,KNoValue,KNoValue,74,11},
00152 {24,3,KNoValue,KNoValue,74,11}
00153 };
00154
00158 const struct SLafIconLayout KNaviQgnNaviTabIcon3[3] =
00159 {
00160 {16,3,KNoValue,KNoValue,22,11},
00161 {47,3,KNoValue,KNoValue,22,11},
00162 {78,3,KNoValue,KNoValue,22,11}
00163 };
00164
00165
00169 const struct SLafIconLayout KNaviQgnNaviTabIcon4[4] =
00170 {
00171 {14,3,KNoValue,KNoValue,18,11},
00172 {37,3,KNoValue,KNoValue,18,11},
00173 {60,3,KNoValue,KNoValue,18,11},
00174 {83,3,KNoValue,KNoValue,18,11}
00175 };
00176
00180 const struct SLafIconLayout KNaviQgnNaviTabIconLong3[3] =
00181 {
00182 {17,3,KNoValue,KNoValue,67,11},
00183 {24,3,KNoValue,KNoValue,67,11},
00184 {31,3,KNoValue,KNoValue,67,11}
00185 };
00186
00190 const struct SLafTextCharasteristics KNaviQgnNaviTabText2[2] =
00191 {
00192 {215,17,66,12,36,ECenter},
00193 {215,63,20,12,36,ECenter}
00194 };
00195
00199 const struct SLafTextCharasteristics KNaviQgnNaviTabTextLong2[2] =
00200 {
00201 {215,17,29,12,74,ECenter},
00202 {215,24,22,12,74,ECenter}
00203 };
00204
00208 const struct SLafTextCharasteristics KNaviQgnNaviTabText3[3] =
00209 {
00210 {215,17,81,12,21,ECenter},
00211 {215,48,50,12,21,ECenter},
00212 {215,79,19,12,21,ECenter}
00213 };
00214
00218 const struct SLafTextCharasteristics KNaviQgnNaviTabText4[4] =
00219 {
00220 {215,17,89,12,13,ECenter},
00221 {215,40,66,12,13,ECenter},
00222 {215,63,43,12,13,ECenter},
00223 {215,86,20,12,13,ECenter}
00224 };
00225
00226
00230 const struct SLafTextCharasteristics KNaviQgnNaviTabTextLong3[3] =
00231 {
00232 {215,17,36,12,67,ECenter},
00233 {215,24,29,12,67,ECenter},
00234 {215,31,22,12,67,ECenter}
00235 };
00236
00240 const struct SLafIconLayout KNaviQgnNaviTabIcon1 =
00241 {20,3,KNoValue,KNoValue,35,11};
00242
00246 const struct SLafTextCharasteristics KNaviQgnNaviTabText1 =
00247 {0,62,25,13,33,ECenter};
00248
00249
00253 const struct SLafTextCharasteristics KNaviQgnNaviInformation[2] =
00254 {
00255 {0, 8, 12, 12, 100, ECenter},
00256 {0, 8, 8, 12, 85, ECenter}
00257 };
00258
00262 const struct SLafTextCharasteristics KNaviQgnAdditionalInformation =
00263 {0, 6, 3, 12, 92, ELeft};
00264
00268 const struct SLafTextCharasteristics KNaviQgnHelpHints =
00269 {0, 6, 4, 12, 110, ELeft};
00270
00274 const struct SLafIconLayout KNaviQgnNaviIcon =
00275 {20, 3, KNoValue, KNoValue, 35, 11};
00276
00280 const struct SLafTextCharasteristics KNaviQgnNaviIconText =
00281 {0, 62, 25, 13, 33, ECenter};
00282
00286 const struct SLafIconLayout KNaviQgnNaviEditingStatusIcon =
00287 {75, 4, KNoValue, KNoValue, 110, 9};
00288
00295 const TInt KTabWidthWithTwoTabs = EAknTabWidthWithTwoTabs;
00297 const TInt KTabWidthWithTwoLongTabs = EAknTabWidthWithTwoLongTabs;
00299 const TInt KTabWidthWithThreeTabs = EAknTabWidthWithThreeTabs;
00301 const TInt KTabWidthWithThreeLongTabs = EAknTabWidthWithThreeLongTabs;
00303 const TInt KTabWidthWithFourTabs = EAknTabWidthWithFourTabs;
00305 const TInt KTabWidthWithOneTab = EAknTabWidthWithOneTab;
00306
00308 const TInt KNaviTabMargins=0;
00310 const TInt KNaviTabActiveTextColor = 215;
00312 const TInt KNaviTabInactiveTextColor = 129;
00314 const TInt KNaviTabOneTabTextColor = 0;
00315
00316
00318 const TInt KTabNumberOfTabBitmaps = 14;
00320 const TInt KTabIndexOfFirstTabBitmapInTwoTabsSet = 0;
00322 const TInt KTabIndexOfLastTabBitmapInTwoTabsSet = 1;
00324 const TInt KTabIndexOfFirstTabBitmapInTwoLongTabsSet = 2;
00326 const TInt KTabIndexOfLastTabBitmapInTwoLongTabsSet = 3;
00328 const TInt KTabIndexOfFirstTabBitmapInThreeTabsSet = 7;
00330 const TInt KTabIndexOfLastTabBitmapInThreeTabsSet = 9;
00332 const TInt KTabIndexOfFirstTabBitmapInThreeLongTabsSet = 4;
00334 const TInt KTabIndexOfLastTabBitmapInThreeLongTabsSet = 6;
00336 const TInt KTabIndexOfFirstTabBitmapInFourTabsSet = 10;
00338 const TInt KTabIndexOfLastTabBitmapInFourTabsSet = 13;
00339
00340
00345 const struct SLafTextCharasteristics KTitleQgnOneLineLabel[2] =
00346 {
00347 { 215, 1, 3, 22, 104, ELeft},
00348 { KUseOtherValue, KUseOtherValue, KUseOtherValue, KUseOtherValue, 97, KUseOtherValue}
00349 };
00350
00354 const struct SLafTextCharasteristics KTitleQgnTwoLineLabel[2] =
00355 {
00356 { 215, 1, 3, 11, 104, ELeft},
00357 { KUseOtherValue, KUseOtherValue, KUseOtherValue, 25, 97, KUseOtherValue}
00358 };
00359
00363 const struct SLafIconLayout KTitleQgnLogoImage = { 2, 2, 2, 1, 97, 25};
00364
00369 _LIT(KTitlePaneDefaultText, " ");
00370
00371 #ifndef __GMXMLCONSTANTS_H__
00372
00377 _LIT(KNewLine, "\n");
00378 #endif
00379
00380
00386 const struct SLafIconLayout KContextQgnBitmap =
00387 { 0, 0, KNoValue, KNoValue, 44, 44};
00388
00395 const TInt KBatteryLevelMin = 0;
00400 const TInt KBatteryLevelMax = 7;
00401
00405 const TInt KBatteryBitmapOffsets[KBatteryLevelMax] =
00406 {25,21,17,13,9,5,1};
00407
00411 const struct SLafIconLayout KBatteryQgnIndiBatteryStrength =
00412 {KNoValue,0,0,KNoValue,12,29};
00413
00417 const struct SLafIconLayout KBatteryQgnIndiBatteryIcon =
00418 {KNoValue,29,0,KNoValue,12,15};
00419
00420
00427 const TInt KSignalLevelMin = 0;
00432 const TInt KSignalLevelMax = 7;
00433
00437 const TInt KSignalBitmapOffsets[KSignalLevelMax] =
00438 {25,21,17,13,9,5,1};
00439
00443 const struct SLafIconLayout KSignalQgnIndiSignalStrength =
00444 {0,0,KNoValue,KNoValue,12,29};
00445
00449 const struct SLafIconLayout KSignalQgnIndiSignalIcon =
00450 {0,29,KNoValue,KNoValue,12,15};
00451
00452
00453
00454
00458 _LIT(KCommonDialogsBitmapFile, "z:\\resource\\apps\\commondialogs.mbm");
00459
00463 _LIT(KCallStatusBitmapFile, "z:\\resource\\apps\\callstatus.mbm");
00464
00468 _LIT(KMemoryCardUiBitmapFile, "z:\\resource\\apps\\aknmemorycardui.mbm");
00469
00473 _LIT(KAvkonBitmapFile, "z:\\resource\\apps\\avkon2.mbm");
00474
00478 _LIT(KAvkonVariatedBitmapsFile, "z:\\resource\\apps\\variatedbitmaps.mbm");
00479
00480
00484 const TInt KAknSoftkeyPaneHeight = 20;
00485
00489 const TInt KAknDefaultWsBufferSize = 7000;
00495 const TInt KAknMaxWsBufferSize = 16000;
00496
00497
00498
00502 const TInt KMinSpaceBetweenIconsInPixels = 3;
00503
00507 const struct SLafIconLayout KSmallStatusPaneIndicator =
00508 {0,3,KNoValue,KNoValue,171,15};
00512 const struct SLafIconLayout KSmallStatusPaneTextIndicator =
00513 {2,2,KNoValue,KNoValue,171,11};
00517 const struct SLafIconLayout KSmallStatusPaneSecureStateIndicator =
00518 {0,4,KNoValue,KNoValue,10,9};
00522 const struct SLafIconLayout KSmallStatusPaneWmlWaitGlobeIndicator =
00523 {82,1,80,KNoValue,13,13};
00527 const struct SLafIconLayout KSmallStatusPaneWaitBarIndicator =
00528 {3,3,KNoValue,KNoValue,77,9};
00532 const struct SLafIconLayout KSmallStatusPaneProgressBarIndicator =
00533 {3,3,KNoValue,KNoValue,77,9};
00537 const struct SLafIconLayout KSmallStatusPaneGprsIndicator =
00538 {KNoValue,KNoValue,KNoValue,KNoValue,12,15};
00539
00540
00544 const struct SLafIconLayout KMirroredStatusPaneNaviPaneWipeBitmapOffset =
00545 {0, 0, 55, KNoValue, 174, 15};
00546
00550 const struct SLafIconLayout KMirroredNaviQgnNaviArrowLeft[2] =
00551 {
00552 {5,0,KNoValue,KNoValue,4,16},
00553 {1,0,KNoValue,KNoValue,4,16}
00554 };
00555
00559 const struct SLafIconLayout KMirroredNaviQgnNaviArrowRight =
00560 {0,0,KNoValue,KNoValue,4,16};
00561
00565 const struct SLafIconLayout KMirroredNaviQgnNaviTabBitmap =
00566 {9,0,KNoValue,KNoValue,107,16};
00567
00568
00569
00573 struct SNaviWipePart
00574 {
00575 TInt start;
00576 TInt end;
00577 };
00578
00579
00580
00584 const struct SNaviWipePart KNaviWipeSignalPanePart =
00585 {0,12};
00589 const struct SNaviWipePart KNaviWipeContextPanePart =
00590 {12,56};
00594 const struct SNaviWipePart KNaviWipeNaviPanePart =
00595 {56,176};
00596
00600 const struct SNaviWipePart KNaviWipeSignalPanePartMirrored =
00601 {164,176};
00605 const struct SNaviWipePart KNaviWipeContextPanePartMirrored =
00606 {120,164};
00610 const struct SNaviWipePart KNaviWipeNaviPanePartMirrored =
00611 {0,120};
00612
00613
00614
00619 const TInt KAknKeyboardRepeatInitialDelay = 600000;
00620
00627 const TInt KAknStandardKeyboardRepeatRate = (1000000/6);
00628
00633 const TInt KAknEditorKeyboardRepeatRate = (1000000/10);
00634
00635
00636
00640 const TInt KAknScreenModeUnset = -1;
00641
00642
00643 #endif
00644