/*
* Copyright (c) 2002-2007 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 peninputhwrboxjp
*
*/


// Resource identifier
NAME PIJH

// System includes
#include <peninputhwrboxjp.mbg>
#include <aknfeppeninputenums.h>  // ERangeHiraganaKanji, ...
#include <peninputcommonlayout.rh>
#include <peninputcommonlayoutglobalenum.h>  // EPeninutWindowCtrlIdHwrBox, ...

// User includes
#include "peninputhwrboxjp.hrh"

RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf=""; }

// Macros  
#define PENINPUT_LAYOUT_HWR_BMP "z:\\resource\\apps\\peninputhwrboxjp.mbm"

// ---------------------------------------------------------------------------
// r_peninput_layout_config_info
// The configuration of window's layout
// ---------------------------------------------------------------------------
//
RESOURCE PENINPUT_LAYOUT_CONFIG_INFO r_peninput_layout_config_info
    {
    language=32;
    languagestring="Ja"; 
    casesensitive=0;
    positiontopline=33;
    positionbottomline=66;
    clientlayoutlist=r_peninput_layout_hwr_client_layout_list;
    vkblayoutlist=-1;
    rangebarinfo=r_peninput_layout_rangebar_info;
    shiftcapsinfo=-1;
    rangebarresource=0;    
    }

// ---------------------------------------------------------------------------
// 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=EPeninutClientLayout;
            colcount=PENINPUT_LAYOUT_HWR_COL_COUNT+1;
            rowcount=6;
            controls =
                {
                PENINPUT_LAYOUT_CONTROL
                    {
                    id=EPeninutWindowCtrlIdDropDownList; // DropDownList
                    beginrow=0;
                    begincolumn=0;
                    endrow=PENINPUT_LAYOUT_HWR_ROW_COUNT;
                    endcolumn=PENINPUT_LAYOUT_HWR_COL_COUNT;
                    },
                PENINPUT_LAYOUT_CONTROL
                    {
                    id=EPeninutWindowCtrlIdHwrBox; // HWR box
                    beginrow=1;
                    begincolumn=0;
                    endrow=6;
                    endcolumn=PENINPUT_LAYOUT_HWR_COL_COUNT;
                    },
                PENINPUT_LAYOUT_CONTROL
                    {
                    id=EPeninutWindowCtrlIdConvertToKanjiBtn; // Convert button
                    beginrow=0;
                    begincolumn=PENINPUT_LAYOUT_HWR_COL_COUNT;
                    endrow=1;
                    endcolumn=PENINPUT_LAYOUT_HWR_COL_COUNT+1;
                    },
                PENINPUT_LAYOUT_CONTROL
                    {
                    id=EPeninutWindowCtrlIdClear2Btn; // Backspace button
                    beginrow=1;
                    begincolumn=PENINPUT_LAYOUT_HWR_COL_COUNT;
                    endrow=2;
                    endcolumn=PENINPUT_LAYOUT_HWR_COL_COUNT+1;
                    },
                PENINPUT_LAYOUT_CONTROL
                    {
                    id=EPeninutWindowCtrlIdEnterBtn; // Enter button
                    beginrow=2;
                    begincolumn=PENINPUT_LAYOUT_HWR_COL_COUNT;
                    endrow=3;
                    endcolumn=PENINPUT_LAYOUT_HWR_COL_COUNT+1;
                    },
                PENINPUT_LAYOUT_CONTROL
                    {
                    id=EPeninutWindowCtrlIdInputLangSwitcherBtn; // Language switch button
                    beginrow=3;
                    begincolumn=PENINPUT_LAYOUT_HWR_COL_COUNT;
                    endrow=4;
                    endcolumn=PENINPUT_LAYOUT_HWR_COL_COUNT+1;
                    },                    
                PENINPUT_LAYOUT_CONTROL
                    {
                    id=EPeninutWindowCtrlIdSymbolBtn;  // SC button
                    beginrow=4;
                    begincolumn=PENINPUT_LAYOUT_HWR_COL_COUNT;
                    endrow=5;
                    endcolumn=PENINPUT_LAYOUT_HWR_COL_COUNT+1;
                    },                    
                PENINPUT_LAYOUT_CONTROL
                    {
                    id=EPeninutWindowCtrlIdSwitchToVkbBtn; // HWR switch button
                    beginrow=5;
                    begincolumn=PENINPUT_LAYOUT_HWR_COL_COUNT;
                    endrow=6;
                    endcolumn=PENINPUT_LAYOUT_HWR_COL_COUNT+1;
                    }
                };
            }
        };
    }

RESOURCE PENINPUT_LAYOUT_RANGE_BAR_INFO r_peninput_layout_rangebar_info
    {
    style=0;
    ranges=
        {
        PENINPUT_LAYOUT_RANGE_INFO
            {
            rangeid=ERangeHiraganaKanji; // Hiragana button
            responsestyle=1;
            clientlayoutid=EPeninutClientLayout; 
            vkblayoutid=0;
            }, 
        PENINPUT_LAYOUT_RANGE_INFO
            {
            rangeid=ERangeEnglish; // English button
            responsestyle=1;
            clientlayoutid=EPeninutClientLayout; 
            vkblayoutid=0;
            }, 
        PENINPUT_LAYOUT_RANGE_INFO
            {
            rangeid=ERangeNumber; // Number button
            responsestyle=1;
            clientlayoutid=EPeninutClientLayout; 
            vkblayoutid=0;
            },
        PENINPUT_LAYOUT_RANGE_INFO
            {
            rangeid=ERangeKatakana; // Accent button
            responsestyle=1;
            clientlayoutid=EPeninutClientLayout; 
            vkblayoutid=0;
            },
        PENINPUT_LAYOUT_RANGE_INFO
            {
            rangeid=ERangeHiraganaOnly; // Hiragana button
            responsestyle=1;
            clientlayoutid=EPeninutClientLayout; 
            vkblayoutid=0;
            }, 
        PENINPUT_LAYOUT_RANGE_INFO
            {
            rangeid=ERangeFullWidthEnglish; // English button
            responsestyle=1;
            clientlayoutid=EPeninutClientLayout; 
            vkblayoutid=0;
            }, 
        PENINPUT_LAYOUT_RANGE_INFO
            {
            rangeid=ERangeFullWidthNumeric; // Number button
            responsestyle=1;
            clientlayoutid=EPeninutClientLayout; 
            vkblayoutid=0;
            },
        PENINPUT_LAYOUT_RANGE_INFO
            {
            rangeid=ERangeFullWidthKatakana; // Accent button
            responsestyle=1;
            clientlayoutid=EPeninutClientLayout; 
            vkblayoutid=0;
            }
        }; 
    }

