/*
* Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0""
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: Resource definitions for project peninputgenerichwr
*
*/
// Resource identifier
NAME PIGH
// System includes
#include <aknsconstants.hrh>
#include <eikon.hrh>
#include <peninputgenerichwr.mbg>
#include <aknfeppeninputenums.h>
// User includes
#include "peninputcommonctrls.hrh"
#include "peninputcommonlayout.rh"
#include "peninputgenerichwr.hrh"
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf=""; }
// Macros
#define PENINPUT_LAYOUT_HWR_BMP "z:\\resource\\apps\\peninputgenerichwr.mbm"
// ---------------------------------------------------------------------------
// r_peninput_layout_config_info
// The configuration of window's layout
// ---------------------------------------------------------------------------
//
RESOURCE PENINPUT_LAYOUT_CONFIG_INFO r_peninput_layout_config_info
{
language=2;
languagestring="Fr";
casesensitive=1;
guideline=EPeninputGuideLineBottom;
positiontopline=33;
positionbottomline=66;
clientlayoutlist=r_peninput_layout_hwr_client_layout_list;
vkblayoutlist=-1;
rangebarinfo=r_peninput_layout_rangebar_info;
shiftcapsinfo=-1;
rangebarresource=r_peninput_layout_hwr_range_list;
}
// ---------------------------------------------------------------------------
// r_peninput_layout_hwr_client_layout_list
// Contains latin hwr layout
// ---------------------------------------------------------------------------
//
RESOURCE PENINPUT_LAYOUT_CLIENT_LAYOUT_LIST r_peninput_layout_hwr_client_layout_list
{
items =
{
PENINPUT_LAYOUT_CLIENT_LAYOUT
{
id=EPeninutClientLayout10x5;
colcount=8;
rowcount=5;
controls =
{
PENINPUT_LAYOUT_CONTROL
{
id=EPeninutWindowCtrlIdHwrBox; // HWR box
beginrow=0;
begincolumn=0;
endrow=5;
endcolumn=7;
},
PENINPUT_LAYOUT_CONTROL
{
id=EPeninutWindowCtrlIdRangeBar; // Rangebar
beginrow=0;
begincolumn=7;
endrow=3;
endcolumn=8;
},
PENINPUT_LAYOUT_CONTROL
{
id=EPeninutWindowCtrlIdSwitchToVkbBtn; // HWR switch button
beginrow=3;
begincolumn=7;
endrow=5;
endcolumn=8;
}
};
}
};
}
// ---------------------------------------------------------------------------
// r_peninput_layout_rangebar_info
// The information of hwr's rangebar
// ---------------------------------------------------------------------------
//
RESOURCE PENINPUT_LAYOUT_RANGE_BAR_INFO r_peninput_layout_rangebar_info
{
style=1;
ranges=
{
PENINPUT_LAYOUT_RANGE_INFO
{
rangeid=ERangeEnglish; // English button
responsestyle=1;
clientlayoutid=EPeninutClientLayout10x5;
vkblayoutid=0;
},
PENINPUT_LAYOUT_RANGE_INFO
{
rangeid=ERangeNumber; // Number button
responsestyle=1;
clientlayoutid=EPeninutClientLayout10x5;
vkblayoutid=0;
},
PENINPUT_LAYOUT_RANGE_INFO
{
rangeid=ERangeSymbol; // Symbol button
responsestyle=1;
clientlayoutid=EPeninutClientLayout10x5;
vkblayoutid=0;
}
};
}
// ---------------------------------------------------------------------------
// r_peninput_layout_hwr_range_list
// HWR range list
// ---------------------------------------------------------------------------
//
RESOURCE AKN_FEP_INPUTRANGE_LIST r_peninput_layout_hwr_range_list
{
ranges=
{
AKN_FEP_INPUTRANGE
{
rangeid=ERangeEnglish;
rangetype=ERangeTypeNormal;
ctrlid=EPeninutWindowCtrlIdNativeCharBtn;
ctrltype=EButtonTypeMultiMode;
indicator=r_peninput_layout_hwr_range_english;
},
AKN_FEP_INPUTRANGE
{
rangeid=ERangeNumber;
ctrlid=EPeninutWindowCtrlIdLatinNumberBtn;
indicator=r_peninput_layout_hwr_range_number;
},
AKN_FEP_INPUTRANGE
{
rangeid=ERangeSymbol;
ctrlid=EPeninutWindowCtrlIdSymbolBtn;
indicator=r_peninput_layout_hwr_range_symbol;
}
};
}
// -----------------------------------------------------------------------------
// r_peninput_layout_hwr_range_english
// Button resource for latin range indicator
// -----------------------------------------------------------------------------
//
RESOURCE AKN_FEP_MULTIPLE_MODE_BUTTON r_peninput_layout_hwr_range_english
{
modes=
{
AKN_FEP_BUTTON_MODE
{
modeimage = r_peninput_layout_hwr_range_english_textcase;
rangeid=ERangeEnglish;
modeid=ECaseText;
},
AKN_FEP_BUTTON_MODE
{
modeimage = r_peninput_layout_hwr_range_english_lowercase;
rangeid=ERangeEnglish;
modeid=ECaseLower;
},
AKN_FEP_BUTTON_MODE
{
modeimage = r_peninput_layout_hwr_range_english_uppercase;
rangeid=ERangeEnglish;
modeid=ECaseUpper;
}
};
}
// -----------------------------------------------------------------------------
// r_peninput_layout_hwr_range_english_uppercase
// Image resource for latin range indicator
// -----------------------------------------------------------------------------
//
RESOURCE AKN_FEP_BUTTON_IMAGE r_peninput_layout_hwr_range_english_uppercase
{
bmpfile=PENINPUT_LAYOUT_HWR_BMP;
imgmajorskinid=EAknsMajorGeneric;
nactive=EMbmPeninputgenerichwrQgn_indi_input_case_capital;
nactivemsk=EMbmPeninputgenerichwrQgn_indi_input_case_capital_mask;
nactiveskinid=EAknsMinorGenericQgnIndiFepButtonCaseCapital;
nactivep=EMbmPeninputgenerichwrQgn_indi_input_case_capital;
nactivepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_capital_mask;
nactivepskinid=EAknsMinorGenericQgnIndiFepButtonCaseCapital;
active=EMbmPeninputgenerichwrQgn_indi_input_case_capital;
activemsk=EMbmPeninputgenerichwrQgn_indi_input_case_capital_mask;
activeskinid=EAknsMinorGenericQgnIndiFepButtonCaseCapitalSel;
activep=EMbmPeninputgenerichwrQgn_indi_input_case_capital;
activepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_capital_mask;
activepskinid=EAknsMinorGenericQgnIndiFepButtonCaseCapitalSel;
disable=EMbmPeninputgenerichwrQgn_indi_input_case_capital;
disablemsk=EMbmPeninputgenerichwrQgn_indi_input_case_capital_mask;
disableskinid=EAknsMinorGenericQgnIndiFepButtonCaseCapital;
}
// -----------------------------------------------------------------------------
// r_peninput_layout_hwr_range_english_lowercase
// Image resource for latin range indicator
// -----------------------------------------------------------------------------
//
RESOURCE AKN_FEP_BUTTON_IMAGE r_peninput_layout_hwr_range_english_lowercase
{
bmpfile=PENINPUT_LAYOUT_HWR_BMP;
imgmajorskinid=EAknsMajorGeneric;
nactive=EMbmPeninputgenerichwrQgn_indi_input_case_small;
nactivemsk=EMbmPeninputgenerichwrQgn_indi_input_case_small_mask;
nactiveskinid=EAknsMinorGenericQgnIndiFepButtonCaseSmall;
nactivep=EMbmPeninputgenerichwrQgn_indi_input_case_small;
nactivepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_small_mask;
nactivepskinid=EAknsMinorGenericQgnIndiFepButtonCaseSmall;
active=EMbmPeninputgenerichwrQgn_indi_input_case_small;
activemsk=EMbmPeninputgenerichwrQgn_indi_input_case_small_mask;
activeskinid=EAknsMinorGenericQgnIndiFepButtonCaseSmallSel;
activep=EMbmPeninputgenerichwrQgn_indi_input_case_small;
activepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_small_mask;
activepskinid=EAknsMinorGenericQgnIndiFepButtonCaseSmallSel;
disable=EMbmPeninputgenerichwrQgn_indi_input_case_small;
disablemsk=EMbmPeninputgenerichwrQgn_indi_input_case_small_mask;
disableskinid=EAknsMinorGenericQgnIndiFepButtonCaseSmall;
}
// -----------------------------------------------------------------------------
// r_peninput_layout_hwr_range_english_textcase
// Image resource for latin range indicator
// -----------------------------------------------------------------------------
//
RESOURCE AKN_FEP_BUTTON_IMAGE r_peninput_layout_hwr_range_english_textcase
{
bmpfile=PENINPUT_LAYOUT_HWR_BMP;
imgmajorskinid=EAknsMajorGeneric;
nactive=EMbmPeninputgenerichwrQgn_indi_input_case_text;
nactivemsk=EMbmPeninputgenerichwrQgn_indi_input_case_text_mask;
nactiveskinid=EAknsMinorGenericQgnIndiFepButtonCaseText;
nactivep=EMbmPeninputgenerichwrQgn_indi_input_case_text;
nactivepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_text_mask;
nactivepskinid=EAknsMinorGenericQgnIndiFepButtonCaseText;
active=EMbmPeninputgenerichwrQgn_indi_input_case_text;
activemsk=EMbmPeninputgenerichwrQgn_indi_input_case_text_mask;
activeskinid=EAknsMinorGenericQgnIndiFepButtonCaseTextSel;
activep=EMbmPeninputgenerichwrQgn_indi_input_case_text;
activepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_text_mask;
activepskinid=EAknsMinorGenericQgnIndiFepButtonCaseTextSel;
disable=EMbmPeninputgenerichwrQgn_indi_input_case_text;
disablemsk=EMbmPeninputgenerichwrQgn_indi_input_case_text_mask;
disableskinid=EAknsMinorGenericQgnIndiFepButtonCaseText;
}
// ---------------------------------------------------------------------------
// r_peninput_layout_hwr_range_number
// Number range button of hwr's rangebar
// ---------------------------------------------------------------------------
//
RESOURCE AKN_FEP_BUTTON_IMAGE r_peninput_layout_hwr_range_number
{
bmpfile=PENINPUT_LAYOUT_HWR_BMP;
imgmajorskinid=EAknsMajorGeneric;
nactive=EMbmPeninputgenerichwrQgn_indi_input_case_numeric;
nactivemsk=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_mask;
nactiveskinid=EAknsMinorGenericQgnIndiFepButtonCaseNumeric;
nactivep=EMbmPeninputgenerichwrQgn_indi_input_case_numeric;
nactivepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_mask;
nactivepskinid=EAknsMinorGenericQgnIndiFepButtonCaseNumeric;
active=EMbmPeninputgenerichwrQgn_indi_input_case_numeric;
activemsk=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_mask;
activeskinid=EAknsMinorGenericQgnIndiFepButtonCaseNumericSel;
activep=EMbmPeninputgenerichwrQgn_indi_input_case_numeric;
activepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_mask;
activepskinid=EAknsMinorGenericQgnIndiFepButtonCaseNumericSel;
disable=EMbmPeninputgenerichwrQgn_indi_input_case_numeric;
disablemsk=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_mask;
disableskinid=EAknsMinorGenericQgnIndiFepButtonCaseNumeric;
}
// ---------------------------------------------------------------------------
// r_peninput_layout_hwr_range_symbol
// Symbol range button of hwr's rangebar
// ---------------------------------------------------------------------------
//
RESOURCE AKN_FEP_BUTTON_IMAGE r_peninput_layout_hwr_range_symbol
{
bmpfile=PENINPUT_LAYOUT_HWR_BMP;
imgmajorskinid=EAknsMajorGeneric;
nactive=EMbmPeninputgenerichwrQgn_indi_input_case_special;
nactivemsk=EMbmPeninputgenerichwrQgn_indi_input_case_special_mask;
nactiveskinid=EAknsMinorGenericQgnIndiFepButtonCaseSpecial;
nactivep=EMbmPeninputgenerichwrQgn_indi_input_case_special;
nactivepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_special_mask;
nactivepskinid=EAknsMinorGenericQgnIndiFepButtonCaseSpecial;
active=EMbmPeninputgenerichwrQgn_indi_input_case_special;
activemsk=EMbmPeninputgenerichwrQgn_indi_input_case_special_mask;
activeskinid=EAknsMinorGenericQgnIndiFepButtonCaseSpecialSel;
activep=EMbmPeninputgenerichwrQgn_indi_input_case_special;
activepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_special_mask;
activepskinid=EAknsMinorGenericQgnIndiFepButtonCaseSpecialSel;
disable=EMbmPeninputgenerichwrQgn_indi_input_case_special;
disablemsk=EMbmPeninputgenerichwrQgn_indi_input_case_special_mask;
disableskinid=EAknsMinorGenericQgnIndiFepButtonCaseSpecial;
}