helloworld.rss

来自「symbian平台helloword 的例子。」· RSS 代码 · 共 84 行

RSS
84
字号
/**
* 
* @brief Resource file for HelloWorld application
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/

//  RESOURCE IDENTIFIER
NAME    HWRD // 4 letter ID

//  INCLUDES

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

#include "HelloWorld.hrh"
#include "HelloWorld.loc"

//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf=""; }

RESOURCE EIK_APP_INFO
	{
    menubar = r_helloworld_menubar;
    cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
	}


RESOURCE MENU_BAR r_helloworld_menubar
    {
    titles =
        {
        MENU_TITLE
			{
			menu_pane = r_helloworld_menu;
			}
        };
    }


//   r_helloworld_menu
//   Menu for "Options"
RESOURCE MENU_PANE r_helloworld_menu
    {
    items = 
        {
        MENU_ITEM 
			{ 
			command = EHelloWorldCommand1;
			txt = COMMAND_ONE;
			},
		MENU_ITEM 
			{
			command = EAknCmdExit;   
			txt = text_softkey_exit;
			}
        };
    }

// ---------------------------------------------------------
//   
//    Strings used by the application
//
// ---------------------------------------------------------
//
RESOURCE TBUF r_label_text
	{
	buf = LABEL_TEXT;
	}

RESOURCE TBUF r_dialog_text
	{
	buf = COMMAND_ONE;
	}

// End of File

⌨️ 快捷键说明

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