bitmap.rss

来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· RSS 代码 · 共 136 行

RSS
136
字号
/**
* 
* @brief Resource file for Bitmap application
*
* © EMCC Software Ltd
* @version 1.0
*/

//  RESOURCE IDENTIFIER
NAME    BITM // 4 letter ID

//  INCLUDES

#include <avkon.rh>
#include <avkon.rsg>
#include <eikon.rh>
#include <eikon.rsg>

#include "Bitmap.hrh"
#include "Bitmap.loc"

// RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF {buf = "Bitmap"; }


RESOURCE EIK_APP_INFO
{
    status_pane = r_bitmap_status_pane;
}


// ---------------------------------------------------------
//
//    r_bitmap_status_pane
//    Define the status pane
//
// ---------------------------------------------------------
//

RESOURCE STATUS_PANE_APP_MODEL r_bitmap_status_pane
{
    panes=
    {
        SPANE_PANE
        {
            id = EEikStatusPaneUidNavi;
            type = EAknCtNaviPane;
            resource = r_bitmap_navi_decorator;
        }
    };
}

//----------------------------------------------------
//
//    r_bitmap_navi_decorator
//    Define the navi decorator
//
//----------------------------------------------------
//
RESOURCE NAVI_DECORATOR r_bitmap_navi_decorator
{
    type = ENaviDecoratorControlTabGroup;
    control = TAB_GROUP
    {
        tab_width = EAknTabWidthWithThreeTabs;  // three tabs
        active = 0;
        tabs = {
            TAB
            {
                id = EBitmapDrawViewId; // from application hrh
                txt = qte_drawview_tab;
            },
            TAB
            {
                id = EBitmapBitBltViewId; // from application hrh
                txt = qte_bitbltview_tab;
            },            
            TAB
            {
                id = EBitmapBitBltMaskViewId;
                txt = qte_bitbltmaskview_tab;
            }
        };
    };
}



// ---------------------------------------------------------
//
//    r_bitmap_drawview
//    Define draw view 
//
// ---------------------------------------------------------
//

RESOURCE AVKON_VIEW r_bitmap_drawview
{
    cba = R_AVKON_SOFTKEYS_EXIT;
}

// ---------------------------------------------------------
//
//    r_bitmap_bitbltview
//    Define bitblt view
//
// ---------------------------------------------------------
//

RESOURCE AVKON_VIEW r_bitmap_bitbltview
{
    cba = R_AVKON_SOFTKEYS_EXIT;
}


// ---------------------------------------------------------
//
//    r_bitmap_bitbltmaskview
//    Define bitbltmask view
//
// ---------------------------------------------------------
//

RESOURCE AVKON_VIEW r_bitmap_bitbltmaskview
{
    cba = R_AVKON_SOFTKEYS_EXIT;
}




// End of File

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?