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

📄 ldmno20.rss

📁 如何实现一个活动对象
💻 RSS
字号:
/* Copyright (c) 2008, Nokia. All rights reserved */

NAME LDMN

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


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

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

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


// ---------------------------------------------------------
//   
//   r_ldmno20_menubar
//   Menubar for LDMNO20 example
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_ldmno20_menubar
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_ldmno20_menu;
            }
        };
    }


// ---------------------------------------------------------
//   
//   r_ldmno20_menu
//   Menu for "Options"
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_ldmno20_menu
    {
    items = 
        {
        MENU_ITEM 
            {
            command = ELDMNO20Command1;
            txt = "Command 1";
            },
        MENU_ITEM
            {
            command = EAknSoftkeyExit;
            txt = "Exit";
            }
        };
    }


// ---------------------------------------------------------
//	CircleView
// ---------------------------------------------------------
//
RESOURCE AVKON_VIEW R_CIRCLE_VIEW_BEGIN
{
	menubar = R_CIRLE_MENUBAR;
    cba = R_CBA_CIRCLE_BEGIN;
}


RESOURCE CBA R_CBA_CIRCLE_BEGIN
{
    buttons=
	{
        AVKON_CBA_BUTTON
		{
             id = EAknSoftkeyOptions;
             txt = qtn_circle_cba_choice;
		},
        AVKON_CBA_BUTTON
		{
            id = EAknSoftkeyExit;
            txt = qtn_circle_cba_exit;
		}
	};
}
RESOURCE MENU_BAR R_CIRLE_MENUBAR
{
    titles =
        {
        MENU_TITLE
            {
            menu_pane = R_CIRCLE_MENU;
            }
        };
}

RESOURCE MENU_PANE R_CIRCLE_MENU
{
    items = 
        {
		MENU_ITEM 
            {
            command = ECIRCLE_Begin;//开始
            txt = qtn_circle_menu_begin;
            },
		MENU_ITEM 
            {
            command = ECIRCLE_Stop;//停止
            txt = qtn_circle_menu_stop;
            }
        };
}

⌨️ 快捷键说明

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