⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dirscracc.rss

📁 symbian平台上如何在屏幕上快速的显示图片
💻 RSS
字号:
/*
* ============================================================================
*  Name     : DirScrAcc.rss
*  Part of  : DirScrAcc
*  Created  : 06/11/2003 by Forum Nokia
*  Description:
*     This file contains all the resources for the DirScrAcc.
*     Initial content was generated by Nokia Series 60 AppWizard.
*  Version  :
*  Copyright: Nokia Corporation
* ============================================================================
*/

//  RESOURCE IDENTIFIER
NAME    DSCR // 4 letter ID

//  INCLUDES

#include <eikon.rh>
#include "dirscracc.hrh"
#include "dirscracc.loc"
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>


//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf="DirScrAcc"; }

RESOURCE EIK_APP_INFO
    {
    status_pane = r_dirscracc_status_pane;

    }
	
//----------------------------------------------------
//   
//    r_dirscracc_hotkeys
//    Hotkeys
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_dirscracc_hotkeys
    {
    control=
        {
        HOTKEY { command=EAknCmdExit; key='e'; }
        };
    }


//----------------------------------------------------
//   
//    r_dirscracc_view1
//    Resource definition for View 1
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_dirscracc_view1
    {
    hotkeys=r_dirscracc_hotkeys;
    menubar=r_dirscracc_menubar_view1;  
    cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT;    
    }

//----------------------------------------------------
//   
//    r_dirscracc_menubar_view1
//    Menubar for view 1
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_dirscracc_menubar_view1
    {
    titles=
        {
        MENU_TITLE { menu_pane=r_dirscracc_app_menu; txt="App"; },
        MENU_TITLE { menu_pane=r_dirscracc_view1_menu; txt="View"; }
        };
    }

//----------------------------------------------------
//   
//    r_dirscracc_view1_menu
//    Menupane for view 1, includes the menu item
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_dirscracc_view1_menu
    {
    items=
        {
        MENU_ITEM { command=EDirScrAccCmdView1Cmd1; txt = qtn_view1_option_item1; },
        MENU_ITEM { command=EDirScrAccCmdView1Cmd2; txt = qtn_view1_option_item2; },
        MENU_ITEM { command=EDirScrAccCmdView1Cmd3; txt = qtn_view1_option_item3; },
        MENU_ITEM { command=EDirScrAccCmdView1Cmd4; txt = qtn_view1_option_item4; }
        };
    }

//----------------------------------------------------
//   
//    r_dirscracc_view2
//    Resource definition for View 2
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_dirscracc_view2
    {
    hotkeys=r_dirscracc_hotkeys;
    menubar=r_dirscracc_menubar_view2;  
    cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT; 
    }

//----------------------------------------------------
//   
//    r_dirscracc_menubar_view2
//    Menubar for View2
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_dirscracc_menubar_view2
    {
    titles=
        {
        MENU_TITLE { menu_pane=r_dirscracc_app_menu; txt="App"; },
        MENU_TITLE { menu_pane=r_dirscracc_view2_menu; txt="View"; }
        };
    }

//----------------------------------------------------
//   
//    r_dirscracc_view2_menu
//    MenuPane and its Items for View 2
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_dirscracc_view2_menu
    {
    items=
        {
        MENU_ITEM { command=EDirScrAccCmdView2Cmd1; txt = qtn_view2_option_item1; },
        MENU_ITEM { command=EDirScrAccCmdView2Cmd2; txt = qtn_view2_option_item2; },
        MENU_ITEM { command=EDirScrAccCmdView2Cmd3; txt = qtn_view2_option_item3; },
        MENU_ITEM { command=EDirScrAccCmdView2Cmd4; txt = qtn_view2_option_item4; }
        };
    }

//----------------------------------------------------
//   
//    r_dirscracc_view3
//    Resource definition for View 3
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_dirscracc_view3
    {
    hotkeys=r_dirscracc_hotkeys;
    cba=R_AVKON_SOFTKEYS_OK_BACK; 
    }

//----------------------------------------------------
//   
//    r_dirscracc_app_menu
//    MenuPane and MenuItems for the application
//    This will show in all views' menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_dirscracc_app_menu
    {
    items=
        {
        MENU_ITEM { command=EAknCmdExit; txt = qtn_appl_option_exit; }
        };
    }

//----------------------------------------------------
//   
//    r_dirscracc_status_pane
//    Here we define the StatusPane to include
//    Navipane with tabs
//
//----------------------------------------------------
//

RESOURCE STATUS_PANE_APP_MODEL r_dirscracc_status_pane
    {
    panes=
        {
        SPANE_PANE
            {
            id = EEikStatusPaneUidNavi;
            type = EAknCtNaviPane;
            resource = r_dirscracc_navi_decorator;
            }
        };
    }

//----------------------------------------------------
//   
//    r_dirscracc_navi_decorator
//    Here we define the tabs for the NaviPane in StatusPane
//
//----------------------------------------------------
//
RESOURCE NAVI_DECORATOR r_dirscracc_navi_decorator
    {
    type = ENaviDecoratorControlTabGroup;
    control = TAB_GROUP
        {
        tab_width = EAknTabWidthWithThreeTabs;  // two tabs
        active = 0;
        tabs = {
            TAB
                {
                id = EDirScrAccView1Tab; // from application hrh
                txt = qtn_view1_tab;
                },
            TAB
                {
                id = EDirScrAccView2Tab;
                txt = qtn_view2_tab;
                },
            TAB
                {
                id = EDirScrAccView3Tab;
                txt = qtn_view3_tab;
                }
            };
        };
    }


            
// End of File

⌨️ 快捷键说明

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