/*
* 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 <eikon.hrh>
#include <peninputgenerichwr.mbg>
#include <aknfeppeninputenums.h>
#include <aknsconstants.hrh>

// User includes
#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=58;
    languagestring="Hi"; 
    casesensitive=0;
    guideline=EPeninputGuideLineBottom;
    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=EPeninutClientLayout10x6;
            colcount=8;
            rowcount=6;
            controls =
                {
                PENINPUT_LAYOUT_CONTROL
                    {
                    id=EPeninutWindowCtrlIdHwrBox; // HWR box
                    beginrow=0;
                    begincolumn=0;
                    endrow=6;
                    endcolumn=7;
                    },
                PENINPUT_LAYOUT_CONTROL
                    {
                    id=EPeninutWindowCtrlIdRangeBar; // Rangebar
                    beginrow=0;
                    begincolumn=7;
                    endrow=4;
                    endcolumn=8;
                    },
                PENINPUT_LAYOUT_CONTROL
                    {
                    id=EPeninutWindowCtrlIdSwitchToVkbBtn; // HWR switch button
                    beginrow=4;
                    begincolumn=7;
                    endrow=6;
                    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=ERangeNative; // Native button
            responsestyle=1;
            clientlayoutid=EPeninutClientLayout10x6; 
            vkblayoutid=0;
            }, 
        PENINPUT_LAYOUT_RANGE_INFO
            {
            rangeid=ERangeEnglish; // English button
            responsestyle=1;
            clientlayoutid=EPeninutClientLayout10x6; 
            vkblayoutid=0;
            }, 
        PENINPUT_LAYOUT_RANGE_INFO
            {
            rangeid=ERangeNumber; // Number button
            responsestyle=1;
            clientlayoutid=EPeninutClientLayout10x6; 
            vkblayoutid=0;
            },
        PENINPUT_LAYOUT_RANGE_INFO
            {
            rangeid=ERangeNativeNumber; // Native Number button
            responsestyle=1;
            clientlayoutid=EPeninutClientLayout10x6; 
            vkblayoutid=0;
            },
        PENINPUT_LAYOUT_RANGE_INFO
            {
            rangeid=ERangeSymbol; // Symbol button
            responsestyle=1;
            clientlayoutid=EPeninutClientLayout10x6; 
            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=ERangeNative;
            ctrlid=EPeninutWindowCtrlIdNativeCharBtn;
            indicator=r_peninput_layout_hwr_range_native;
            },  
        AKN_FEP_INPUTRANGE
            {
            rangeid=ERangeEnglish;
            rangetype=ERangeTypeNormal;
            ctrlid=EPeninutWindowCtrlIdLatinCharBtn;  
            ctrltype=EButtonTypeMultiMode;
            indicator=r_peninput_layout_hwr_range_english;
            },        
        AKN_FEP_INPUTRANGE
            {
            rangeid=ERangeMixedNumber;
            rangetype=ERangeTypeMixed;
            ctrlid=EPeninutWindowCtrlIdLatinNumberBtn;
            ctrltype=EButtonTypeMultiMode;
            indicator=r_peninput_layout_hwr_range_mixed_number;
            },
        AKN_FEP_INPUTRANGE
            {
            rangeid=ERangeSymbol;
            ctrlid=EPeninutWindowCtrlIdSymbolBtn;
            indicator=r_peninput_layout_hwr_range_symbol;
            }
        };
    }

// -----------------------------------------------------------------------------
// r_peninput_layout_hwr_range_native
// Image resource for latin range indicator
// -----------------------------------------------------------------------------
//
RESOURCE AKN_FEP_BUTTON_IMAGE r_peninput_layout_hwr_range_native
    {
    bmpfile=PENINPUT_LAYOUT_HWR_BMP;
    imgmajorskinid=EAknsMajorGeneric;
    nactive=EMbmPeninputgenerichwrQgn_indi_input_case_text_hindi;
    nactivemsk=EMbmPeninputgenerichwrQgn_indi_input_case_text_hindi_mask;
    nactiveskinid=EAknsMinorGenericQgnIndiFepButtonChinese;

    nactivep=EMbmPeninputgenerichwrQgn_indi_input_case_text_hindi;
    nactivepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_text_hindi_mask;
    nactivepskinid=EAknsMinorGenericQgnIndiFepButtonChinese;

    active=EMbmPeninputgenerichwrQgn_indi_input_case_text_hindi;
    activemsk=EMbmPeninputgenerichwrQgn_indi_input_case_text_hindi_mask;
    activeskinid=EAknsMinorGenericQgnIndiFepButtonChineseSel;

    activep=EMbmPeninputgenerichwrQgn_indi_input_case_text_hindi;
    activepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_text_hindi_mask;
    activepskinid=EAknsMinorGenericQgnIndiFepButtonChineseSel;

    disable=EMbmPeninputgenerichwrQgn_indi_input_case_text_hindi;
    disablemsk=EMbmPeninputgenerichwrQgn_indi_input_case_text_hindi_mask;
    disableskinid=EAknsMinorGenericQgnIndiFepButtonChinese;

    }

// ---------------------------------------------------------------------------
// 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_mixed_number
// Button resource for number range indicator
// -----------------------------------------------------------------------------
//
RESOURCE AKN_FEP_MULTIPLE_MODE_BUTTON r_peninput_layout_hwr_range_mixed_number
    {
    modes=
        {
        AKN_FEP_BUTTON_MODE
            {
            modeimage = r_peninput_layout_hwr_range_native_number;
            rangeid=ERangeNativeNumber;
            },
        AKN_FEP_BUTTON_MODE
            {
            modeimage = r_peninput_layout_hwr_range_latin_number;
            rangeid=ERangeNumber;
            }
        };
    }
// -----------------------------------------------------------------------------
// r_peninput_layout_hwr_range_native_number
// Button resource for native number indicator
// -----------------------------------------------------------------------------
//
RESOURCE AKN_FEP_BUTTON_IMAGE r_peninput_layout_hwr_range_native_number
    {
    bmpfile=PENINPUT_LAYOUT_HWR_BMP;    
    imgmajorskinid=EAknsMajorGeneric;
    nactive=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_devanagari;  
    nactivemsk=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_devanagari_mask;      
//    nactiveskinid=EAknsMinorGenericQgnIndiFepButtonCaseNativeNumeric;        

    nactivep=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_devanagari; 
    nactivepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_devanagari_mask;   
//    nactivepskinid=EAknsMinorGenericQgnIndiFepButtonCaseNativeNumeric;    

    active=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_devanagari;
    activemsk=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_devanagari_mask;
//    activeskinid=EAknsMinorGenericQgnIndiFepButtonCaseNativeNumericSel;

    activep=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_devanagari;  
    activepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_devanagari_mask;  
//    activepskinid=EAknsMinorGenericQgnIndiFepButtonCaseNativeNumericSel;    

    disable=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_devanagari;
    disablemsk=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_devanagari_mask;
//    disableskinid=EAknsMinorGenericQgnIndiFepButtonCaseNativeNumeric;

    }
// ---------------------------------------------------------------------------
// r_peninput_layout_hwr_range_latin_number
// Number range button of hwr's rangebar
// ---------------------------------------------------------------------------
//
RESOURCE AKN_FEP_BUTTON_IMAGE r_peninput_layout_hwr_range_latin_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;
    }
