aknconsts.h File Reference

API published in: S60 1st Ed

Capability Information

Required Capabilities

None


#include <avkon.hrh>

Go to the source code of this file.


Data Structures

struct   SLafIconLayout
struct   SLafTextCharasteristics
struct   SNaviWipePart

Functions

  _LIT (KTitlePaneDefaultText," ")
  Title pane default text if not any other default text is avilable.
  _LIT (KNewLine,"\n")
  _LIT (KCommonDialogsBitmapFile,"z:\\resource\\apps\\commondialogs.mbm")
  Location of the common dialogs bitmap file.
  _LIT (KCallStatusBitmapFile,"z:\\resource\\apps\\callstatus.mbm")
  Location of the call status bitmap file.
  _LIT (KMemoryCardUiBitmapFile,"z:\\resource\\apps\\aknmemorycardui.mbm")
  Location of the memory card ui bitmap file.
  _LIT (KAvkonBitmapFile,"z:\\resource\\apps\\avkon2.mbm")
  Location of the avkon bitmap file.
  _LIT (KAvkonVariatedBitmapsFile,"z:\\resource\\apps\\variatedbitmaps.mbm")
  Location of the variated bitmaps bitmap file.

Variables

const TInt  KStatusPaneBackgroundGraphicsColorIdle = 215
const TInt  KStatusPaneBackgroundGraphicsColorUsual = 237
const TInt  KStatusPaneBackgroundColor = 0
const TInt  Kqpn_height_status_pane_idle = 56
const TInt  Kqpn_height_status_pane_usual = 44
const TInt  KNoValue = -1000
const TInt  KUseOtherValue = -1001
const TInt  KUseBaseValue = 0
const struct SLafIconLayout  KStatusPaneBackgroundGraphics
const struct SLafIconLayout  KStatusPaneNaviPaneWipeGraphics
const struct SLafIconLayout  KStatusPaneNaviPaneWipeBitmapOffset
const struct SLafIconLayout  KNaviQgnNaviArrowLeft
const struct SLafIconLayout  KNaviQgnNaviArrowRight [2]
const struct SLafIconLayout  KNaviQgnNaviTabBitmap
const struct SLafIconLayout  KNaviQgnNaviTabIcon2 [2]
const struct SLafIconLayout  KNaviQgnNaviTabIconLong2 [2]
const struct SLafIconLayout  KNaviQgnNaviTabIcon3 [3]
const struct SLafIconLayout  KNaviQgnNaviTabIcon4 [4]
const struct SLafIconLayout  KNaviQgnNaviTabIconLong3 [3]
const struct SLafTextCharasteristics  KNaviQgnNaviTabText2 [2]
const struct SLafTextCharasteristics  KNaviQgnNaviTabTextLong2 [2]
const struct SLafTextCharasteristics  KNaviQgnNaviTabText3 [3]
const struct SLafTextCharasteristics  KNaviQgnNaviTabText4 [4]
const struct SLafTextCharasteristics  KNaviQgnNaviTabTextLong3 [3]
const struct SLafIconLayout  KNaviQgnNaviTabIcon1
const struct SLafTextCharasteristics  KNaviQgnNaviTabText1
const struct SLafTextCharasteristics  KNaviQgnNaviInformation [2]
const struct SLafTextCharasteristics  KNaviQgnAdditionalInformation
const struct SLafTextCharasteristics  KNaviQgnHelpHints
const struct SLafIconLayout  KNaviQgnNaviIcon
const struct SLafTextCharasteristics  KNaviQgnNaviIconText
const struct SLafIconLayout  KNaviQgnNaviEditingStatusIcon
const TInt  KTabWidthWithTwoTabs = EAknTabWidthWithTwoTabs
  Constant for two tabs layout.
const TInt  KTabWidthWithTwoLongTabs = EAknTabWidthWithTwoLongTabs
  Constant for two long tabs layout.
const TInt  KTabWidthWithThreeTabs = EAknTabWidthWithThreeTabs
  Constant for three tabs layout.
const TInt  KTabWidthWithThreeLongTabs = EAknTabWidthWithThreeLongTabs
  Constant for three long tabs layout.
const TInt  KTabWidthWithFourTabs = EAknTabWidthWithFourTabs
  Constant for four tabs layout.
const TInt  KTabWidthWithOneTab = EAknTabWidthWithOneTab
  Constant for one tab layout.
const TInt  KNaviTabMargins = 0
const TInt  KNaviTabActiveTextColor = 215
const TInt  KNaviTabInactiveTextColor = 129
const TInt  KNaviTabOneTabTextColor = 0
const TInt  KTabNumberOfTabBitmaps = 14
const TInt  KTabIndexOfFirstTabBitmapInTwoTabsSet = 0
const TInt  KTabIndexOfLastTabBitmapInTwoTabsSet = 1
const TInt  KTabIndexOfFirstTabBitmapInTwoLongTabsSet = 2
const TInt  KTabIndexOfLastTabBitmapInTwoLongTabsSet = 3
const TInt  KTabIndexOfFirstTabBitmapInThreeTabsSet = 7
const TInt  KTabIndexOfLastTabBitmapInThreeTabsSet = 9
const TInt  KTabIndexOfFirstTabBitmapInThreeLongTabsSet = 4
const TInt  KTabIndexOfLastTabBitmapInThreeLongTabsSet = 6
const TInt  KTabIndexOfFirstTabBitmapInFourTabsSet = 10
const TInt  KTabIndexOfLastTabBitmapInFourTabsSet = 13
const struct SLafTextCharasteristics  KTitleQgnOneLineLabel [2]
const struct SLafTextCharasteristics  KTitleQgnTwoLineLabel [2]
const struct SLafIconLayout  KTitleQgnLogoImage = { 2, 2, 2, 1, 97, 25}
const struct SLafIconLayout  KContextQgnBitmap
const TInt  KBatteryLevelMin = 0
  Constant for battery level minimum value.
const TInt  KBatteryLevelMax = 7
  Constant for battery level maximum value.
const TInt  KBatteryBitmapOffsets [KBatteryLevelMax]
const struct SLafIconLayout  KBatteryQgnIndiBatteryStrength
const struct SLafIconLayout  KBatteryQgnIndiBatteryIcon
const TInt  KSignalLevelMin = 0
  Constant for signal level minimum value.
const TInt  KSignalLevelMax = 7
  Constant for signal level maximum value.
const TInt  KSignalBitmapOffsets [KSignalLevelMax]
const struct SLafIconLayout  KSignalQgnIndiSignalStrength
const struct SLafIconLayout  KSignalQgnIndiSignalIcon
const TInt  KAknSoftkeyPaneHeight = 20
const TInt  KAknDefaultWsBufferSize = 7000
  Default size of the window server buffer.
const TInt  KAknMaxWsBufferSize = 16000
  Maximum size of the window server buffer.
const TInt  KMinSpaceBetweenIconsInPixels = 3
const struct SLafIconLayout  KSmallStatusPaneIndicator
const struct SLafIconLayout  KSmallStatusPaneTextIndicator
const struct SLafIconLayout  KSmallStatusPaneSecureStateIndicator
const struct SLafIconLayout  KSmallStatusPaneWmlWaitGlobeIndicator
const struct SLafIconLayout  KSmallStatusPaneWaitBarIndicator
const struct SLafIconLayout  KSmallStatusPaneProgressBarIndicator
const struct SLafIconLayout  KSmallStatusPaneGprsIndicator
const struct SLafIconLayout  KMirroredStatusPaneNaviPaneWipeBitmapOffset
const struct SLafIconLayout  KMirroredNaviQgnNaviArrowLeft [2]
const struct SLafIconLayout  KMirroredNaviQgnNaviArrowRight
const struct SLafIconLayout  KMirroredNaviQgnNaviTabBitmap
const struct SNaviWipePart  KNaviWipeSignalPanePart
const struct SNaviWipePart  KNaviWipeContextPanePart
const struct SNaviWipePart  KNaviWipeNaviPanePart
const struct SNaviWipePart  KNaviWipeSignalPanePartMirrored
const struct SNaviWipePart  KNaviWipeContextPanePartMirrored
const struct SNaviWipePart  KNaviWipeNaviPanePartMirrored
const TInt  KAknKeyboardRepeatInitialDelay = 600000
  Constant for the delay in microseconds before the key repeating starts when the key is pressed down.
const TInt  KAknStandardKeyboardRepeatRate = (1000000/6)
  Keyboard repeat rate in microseconds.
const TInt  KAknEditorKeyboardRepeatRate = (1000000/10)
  Keyboard repeat rate in editors in microseconds.
const TInt  KAknScreenModeUnset = -1
  Value for unset screen mode.

Function Documentation

_LIT KAvkonVariatedBitmapsFile  ,
"z:\\resource\\apps\\variatedbitmaps.mbm" 
 

Location of the variated bitmaps bitmap file.

_LIT KAvkonBitmapFile  ,
"z:\\resource\\apps\\avkon2.mbm" 
 

Location of the avkon bitmap file.

_LIT KMemoryCardUiBitmapFile  ,
"z:\\resource\\apps\\aknmemorycardui.mbm" 
 

Location of the memory card ui bitmap file.

_LIT KCallStatusBitmapFile  ,
"z:\\resource\\apps\\callstatus.mbm" 
 

Location of the call status bitmap file.

_LIT KCommonDialogsBitmapFile  ,
"z:\\resource\\apps\\commondialogs.mbm" 
 

Location of the common dialogs bitmap file.

_LIT KNewLine  ,
"\n" 
 
Deprecated:
Notice that GMXMLConstants.h contains same constant with different value.
_LIT KTitlePaneDefaultText  ,
" " 
 

Title pane default text if not any other default text is avilable.


Variable Documentation

const TInt KAknDefaultWsBufferSize = 7000
 

Default size of the window server buffer.

const TInt KAknEditorKeyboardRepeatRate = (1000000/10)
 

Keyboard repeat rate in editors in microseconds.

Key events are repeated at this rate in editors when the key is pressed down.

const TInt KAknKeyboardRepeatInitialDelay = 600000
 

Constant for the delay in microseconds before the key repeating starts when the key is pressed down.

const TInt KAknMaxWsBufferSize = 16000
 

Maximum size of the window server buffer.

UI components and applications may request window server buffer size up to this size with CAknEnv::Static()->RequestWsBuffer() method.

const TInt KAknScreenModeUnset = -1
 

Value for unset screen mode.

const TInt KAknSoftkeyPaneHeight = 20
 
Deprecated:
const TInt KAknStandardKeyboardRepeatRate = (1000000/6)
 

Keyboard repeat rate in microseconds.

Key events are repeated at this rate when the key is pressed down.

Editor repeat rate is set in KAknEditorKeyboardRepeatRate constant

const TInt KBatteryBitmapOffsets[KBatteryLevelMax]
 

Initial value:

    {25,21,17,13,9,5,1}
Deprecated:
const TInt KBatteryLevelMax = 7
 

Constant for battery level maximum value.

Deprecated:
const TInt KBatteryLevelMin = 0
 

Constant for battery level minimum value.

Deprecated:
const struct SLafIconLayout KBatteryQgnIndiBatteryIcon
 

Initial value:

    {KNoValue,29,0,KNoValue,12,15}
Deprecated:
const struct SLafIconLayout KBatteryQgnIndiBatteryStrength
 

Initial value:

    {KNoValue,0,0,KNoValue,12,29}
Deprecated:
const struct SLafIconLayout KContextQgnBitmap
 

Initial value:

    { 0, 0, KNoValue, KNoValue, 44, 44}
Deprecated:
const TInt KMinSpaceBetweenIconsInPixels = 3
 
Deprecated:
const struct SLafIconLayout KMirroredNaviQgnNaviArrowLeft[2]
 

Initial value:

    {
        {5,0,KNoValue,KNoValue,4,16},
        {1,0,KNoValue,KNoValue,4,16}
    }
Deprecated:
const struct SLafIconLayout KMirroredNaviQgnNaviArrowRight
 

Initial value:

    {0,0,KNoValue,KNoValue,4,16}
Deprecated:
const struct SLafIconLayout KMirroredNaviQgnNaviTabBitmap
 

Initial value:

    {9,0,KNoValue,KNoValue,107,16}
Deprecated:
const struct SLafIconLayout KMirroredStatusPaneNaviPaneWipeBitmapOffset
 

Initial value:

    {0, 0, 55, KNoValue, 174, 15}
Deprecated:
const struct SLafTextCharasteristics KNaviQgnAdditionalInformation
 

Initial value:

    {0, 6, 3, 12, 92, ELeft}
Deprecated:
const struct SLafTextCharasteristics KNaviQgnHelpHints
 

Initial value:

    {0, 6, 4, 12, 110, ELeft}
Deprecated:
const struct SLafIconLayout KNaviQgnNaviArrowLeft
 

Initial value:

    {0,0,KNoValue,KNoValue,4,16}
Deprecated:
const struct SLafIconLayout KNaviQgnNaviArrowRight[2]
 

Initial value:

    {
        {KNoValue,0,5,KNoValue,4,16},
        {KNoValue,0,1,KNoValue,4,16}
    }
Deprecated:
const struct SLafIconLayout KNaviQgnNaviEditingStatusIcon
 

Initial value:

    {75, 4, KNoValue, KNoValue, 110, 9}
Deprecated:
const struct SLafIconLayout KNaviQgnNaviIcon
 

Initial value:

    {20, 3, KNoValue, KNoValue, 35, 11}
Deprecated:
const struct SLafTextCharasteristics KNaviQgnNaviIconText
 

Initial value:

    {0, 62, 25, 13, 33, ECenter}
Deprecated:
const struct SLafTextCharasteristics KNaviQgnNaviInformation[2]
 

Initial value:

    {
        {0, 8, 12, 12, 100, ECenter},
        {0, 8, 8, 12, 85, ECenter}
    }
Deprecated:
const struct SLafIconLayout KNaviQgnNaviTabBitmap
 

Initial value:

    {4,0,KNoValue,KNoValue,107,16}
Deprecated:
const struct SLafIconLayout KNaviQgnNaviTabIcon1
 

Initial value:

    {20,3,KNoValue,KNoValue,35,11}
Deprecated:
const struct SLafIconLayout KNaviQgnNaviTabIcon2[2]
 

Initial value:

    {
        {17,3,KNoValue,KNoValue,35,11},
        {63,3,KNoValue,KNoValue,35,11}
    }
Deprecated:
const struct SLafIconLayout KNaviQgnNaviTabIcon3[3]
 

Initial value:

    {
        {16,3,KNoValue,KNoValue,22,11},
        {47,3,KNoValue,KNoValue,22,11},
        {78,3,KNoValue,KNoValue,22,11}
    }
Deprecated:
const struct SLafIconLayout KNaviQgnNaviTabIcon4[4]
 

Initial value:

    {
        {14,3,KNoValue,KNoValue,18,11},
        {37,3,KNoValue,KNoValue,18,11},
        {60,3,KNoValue,KNoValue,18,11},
        {83,3,KNoValue,KNoValue,18,11}
    }
Deprecated:
const struct SLafIconLayout KNaviQgnNaviTabIconLong2[2]
 

Initial value:

    {
        {17,3,KNoValue,KNoValue,74,11},
        {24,3,KNoValue,KNoValue,74,11}
    }
Deprecated:
const struct SLafIconLayout KNaviQgnNaviTabIconLong3[3]
 

Initial value:

    {
        {17,3,KNoValue,KNoValue,67,11},
        {24,3,KNoValue,KNoValue,67,11},
        {31,3,KNoValue,KNoValue,67,11}
    }
Deprecated:
const struct SLafTextCharasteristics KNaviQgnNaviTabText1
 

Initial value:

    {0,62,25,13,33,ECenter}
Deprecated:
const struct SLafTextCharasteristics KNaviQgnNaviTabText2[2]
 

Initial value:

    {
        {215,17,66,12,36,ECenter},
        {215,63,20,12,36,ECenter}
    }
Deprecated:
const struct SLafTextCharasteristics KNaviQgnNaviTabText3[3]
 

Initial value:

    {
        {215,17,81,12,21,ECenter},
        {215,48,50,12,21,ECenter},
        {215,79,19,12,21,ECenter}
    }
Deprecated:
const struct SLafTextCharasteristics KNaviQgnNaviTabText4[4]
 

Initial value:

    {
        {215,17,89,12,13,ECenter},
        {215,40,66,12,13,ECenter},
        {215,63,43,12,13,ECenter},
        {215,86,20,12,13,ECenter}
    }
Deprecated:
const struct SLafTextCharasteristics KNaviQgnNaviTabTextLong2[2]
 

Initial value:

    {
        {215,17,29,12,74,ECenter},
        {215,24,22,12,74,ECenter}
    }
Deprecated:
const struct SLafTextCharasteristics KNaviQgnNaviTabTextLong3[3]
 

Initial value:

    {
        {215,17,36,12,67,ECenter},
        {215,24,29,12,67,ECenter},
        {215,31,22,12,67,ECenter}
    }
Deprecated:
const TInt KNaviTabActiveTextColor = 215
 
Deprecated:
const TInt KNaviTabInactiveTextColor = 129
 
Deprecated:
const TInt KNaviTabMargins = 0
 
Deprecated:
const TInt KNaviTabOneTabTextColor = 0
 
Deprecated:
const struct SNaviWipePart KNaviWipeContextPanePart
 

Initial value:

    {12,56}
Deprecated:
const struct SNaviWipePart KNaviWipeContextPanePartMirrored
 

Initial value:

    {120,164}
Deprecated:
const struct SNaviWipePart KNaviWipeNaviPanePart
 

Initial value:

    {56,176}
Deprecated:
const struct SNaviWipePart KNaviWipeNaviPanePartMirrored
 

Initial value:

    {0,120}
Deprecated:
const struct SNaviWipePart KNaviWipeSignalPanePart
 

Initial value:

    {0,12}
Deprecated:
const struct SNaviWipePart KNaviWipeSignalPanePartMirrored
 

Initial value:

    {164,176}
Deprecated:
const TInt KNoValue = -1000
 
Deprecated:
const TInt Kqpn_height_status_pane_idle = 56
 
Deprecated:
const TInt Kqpn_height_status_pane_usual = 44
 
Deprecated:
const TInt KSignalBitmapOffsets[KSignalLevelMax]
 

Initial value:

    {25,21,17,13,9,5,1}
Deprecated:
const TInt KSignalLevelMax = 7
 

Constant for signal level maximum value.

Deprecated:
const TInt KSignalLevelMin = 0
 

Constant for signal level minimum value.

Deprecated:
const struct SLafIconLayout KSignalQgnIndiSignalIcon
 

Initial value:

    {0,29,KNoValue,KNoValue,12,15}
Deprecated:
const struct SLafIconLayout KSignalQgnIndiSignalStrength
 

Initial value:

    {0,0,KNoValue,KNoValue,12,29}
Deprecated:
const struct SLafIconLayout KSmallStatusPaneGprsIndicator
 

Initial value:

    {KNoValue,KNoValue,KNoValue,KNoValue,12,15}
Deprecated:
const struct SLafIconLayout KSmallStatusPaneIndicator
 

Initial value:

    {0,3,KNoValue,KNoValue,171,15}
Deprecated:
const struct SLafIconLayout KSmallStatusPaneProgressBarIndicator
 

Initial value:

    {3,3,KNoValue,KNoValue,77,9}
Deprecated:
const struct SLafIconLayout KSmallStatusPaneSecureStateIndicator
 

Initial value:

    {0,4,KNoValue,KNoValue,10,9}
Deprecated:
const struct SLafIconLayout KSmallStatusPaneTextIndicator
 

Initial value:

    {2,2,KNoValue,KNoValue,171,11}
Deprecated:
const struct SLafIconLayout KSmallStatusPaneWaitBarIndicator
 

Initial value:

    {3,3,KNoValue,KNoValue,77,9}
Deprecated:
const struct SLafIconLayout KSmallStatusPaneWmlWaitGlobeIndicator
 

Initial value:

    {82,1,80,KNoValue,13,13}
Deprecated:
const TInt KStatusPaneBackgroundColor = 0
 
Deprecated:
const struct SLafIconLayout KStatusPaneBackgroundGraphics
 

Initial value:

    {1,29,KNoValue,KNoValue,174,15}
Deprecated:
const TInt KStatusPaneBackgroundGraphicsColorIdle = 215
 
Deprecated:
const TInt KStatusPaneBackgroundGraphicsColorUsual = 237
 
Deprecated:
const struct SLafIconLayout KStatusPaneNaviPaneWipeBitmapOffset
 

Initial value:

    {55, 0, KNoValue, KNoValue, 174, 15}
Deprecated:
const struct SLafIconLayout KStatusPaneNaviPaneWipeGraphics
 

Initial value:

    {0, 1, KNoValue, KNoValue, 174, 15}
Deprecated:
const TInt KTabIndexOfFirstTabBitmapInFourTabsSet = 10
 
const TInt KTabIndexOfFirstTabBitmapInThreeLongTabsSet = 4
 
const TInt KTabIndexOfFirstTabBitmapInThreeTabsSet = 7
 
const TInt KTabIndexOfFirstTabBitmapInTwoLongTabsSet = 2
 
const TInt KTabIndexOfFirstTabBitmapInTwoTabsSet = 0
 
const TInt KTabIndexOfLastTabBitmapInFourTabsSet = 13
 
const TInt KTabIndexOfLastTabBitmapInThreeLongTabsSet = 6
 
const TInt KTabIndexOfLastTabBitmapInThreeTabsSet = 9
 
const TInt KTabIndexOfLastTabBitmapInTwoLongTabsSet = 3
 
const TInt KTabIndexOfLastTabBitmapInTwoTabsSet = 1
 
const TInt KTabNumberOfTabBitmaps = 14
 
const TInt KTabWidthWithFourTabs = EAknTabWidthWithFourTabs
 

Constant for four tabs layout.

const TInt KTabWidthWithOneTab = EAknTabWidthWithOneTab
 

Constant for one tab layout.

const TInt KTabWidthWithThreeLongTabs = EAknTabWidthWithThreeLongTabs
 

Constant for three long tabs layout.

const TInt KTabWidthWithThreeTabs = EAknTabWidthWithThreeTabs
 

Constant for three tabs layout.

const TInt KTabWidthWithTwoLongTabs = EAknTabWidthWithTwoLongTabs
 

Constant for two long tabs layout.

const TInt KTabWidthWithTwoTabs = EAknTabWidthWithTwoTabs
 

Constant for two tabs layout.

const struct SLafIconLayout KTitleQgnLogoImage = { 2, 2, 2, 1, 97, 25}
 
Deprecated:
const struct SLafTextCharasteristics KTitleQgnOneLineLabel[2]
 

Initial value:

    {
        { 215, 1, 3, 22, 104, ELeft},
        { KUseOtherValue, KUseOtherValue, KUseOtherValue, KUseOtherValue, 97, KUseOtherValue}
    }
Deprecated:
const struct SLafTextCharasteristics KTitleQgnTwoLineLabel[2]
 

Initial value:

    {
        { 215, 1, 3, 11, 104, ELeft},
        { KUseOtherValue, KUseOtherValue, KUseOtherValue, 25, 97, KUseOtherValue}
    }
Deprecated:
const TInt KUseBaseValue = 0
 
Deprecated:
const TInt KUseOtherValue = -1001
 
Deprecated:

Copyright © Nokia Corporation 2001-2008
Back to top