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

📄 ldn02.rss.bak

📁 symbian电话簿引擎的经典例子
💻 BAK
字号:
/* Copyright (c) 2009, Nokia. All rights reserved */

NAME LDN0

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


// ---------------------------------------------------------
//   
//    Define the resource file signature 
//    This resource should be empty.
//
// ---------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
    {
    }

// ---------------------------------------------------------
//   
//    Default Document Name
//
// ---------------------------------------------------------
//
RESOURCE TBUF r_ldn02_default_doc_name
    {
    buf="";
    }

// ---------------------------------------------------------
//   
//    Define default menu and CBA key.
//
// ---------------------------------------------------------
//
RESOURCE EIK_APP_INFO
    {
    menubar = r_ldn02_menubar;
    cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
    }


// ---------------------------------------------------------
//   
//   r_ldn02_menubar
//   Menubar for LDN02 example
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_ldn02_menubar
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_ldn02_menu;
            }
        };
    }


// ---------------------------------------------------------
//   
//   r_ldn02_menu
//   Menu for "Options"
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_ldn02_menu
    {
    items = 
        {
        MENU_ITEM 
            {
            command = ELDN02Command1;
            txt = "Command 1";
            },
        MENU_ITEM
            {
            command = EAknSoftkeyExit;
            txt = "Exit";
            }
        };
    }
//-----------------------------------------------------
//
//	HELLO VIEW
//
//-----------------------------------------------------
RESOURCE TBUF32  R_QTN_LD_HELLO_TITLE
{
 	buf = qtn_ld_hello_title;
}

RESOURCE AVKON_VIEW R_HELLO_VIEW
{
    menubar = R_HELLOVIEW_MENUBAR;
    cba = R_CBA_HELLO;
}


RESOURCE CBA R_CBA_HELLO
{
    buttons=
	{
        AVKON_CBA_BUTTON
		{
             id = EAknSoftkeyOptions;
             txt = qtn_ld_hello_cba_option;
		},
        AVKON_CBA_BUTTON
		{
            id = EAknSoftkeyExit;
            txt = qtn_ld_hello_cba_exit;
		}
	};
}


RESOURCE MENU_BAR R_HELLOVIEW_MENUBAR
{
    titles =
        {
        MENU_TITLE
            {
            menu_pane = R_LD_HELLO_MENU;
            }
        };
}


//menu
RESOURCE MENU_PANE R_LD_HELLO_MENU
{
    items = 
        {
                  
        MENU_ITEM 
            {
            command = ELDJ02CmdHelp;
            txt = qtn_ld_hello_help;
            }
        };
}





//-----------------------------------------------------
//
//	WORLD VIEW
//
//-----------------------------------------------------
RESOURCE TBUF32  R_QTN_LD_WORLD_TITLE
{
 	buf = qtn_ld_world_title;
}

RESOURCE AVKON_VIEW R_WORLD_VIEW
{
    menubar = R_WORLDVIEW_MENUBAR;
    cba = R_CBA_WORLD;
}


RESOURCE CBA R_CBA_WORLD
{
    buttons=
	{
        AVKON_CBA_BUTTON
		{
             id = EAknSoftkeyOptions;
             txt = qtn_ld_world_cba_option;
		},
        AVKON_CBA_BUTTON
		{
            id = EAknSoftkeyExit;
            txt = qtn_ld_world_cba_exit;
		}
	};
}


RESOURCE MENU_BAR R_WORLDVIEW_MENUBAR
{
    titles =
        {
        MENU_TITLE
            {
            menu_pane = R_LD_WORLD_MENU;
            }
        };
}


//menu
RESOURCE MENU_PANE R_LD_WORLD_MENU
{
    items = 
        {
        MENU_ITEM 
            {
            command = ELDJ02CmdLogonMain;
            txt = qtn_ld_world_login_main;
            },
        MENU_ITEM 
            {
            command = ELDJ02CmdWorldToApple;
            txt = qtn_ld_world_to_apple;
            }
        };
}

⌨️ 快捷键说明

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