simplelist.rss

来自「一个基于SYMBIAN的列表项目程序。适合于初学者学习SYMBIAN之用。是《S」· RSS 代码 · 共 125 行

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

//  RESOURCE IDENTIFIER
NAME    LIS1 // 4 letter ID

//  INCLUDES

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

#include "SimpleList.hrh"
#include "SimpleList.loc"

//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf="SimpleList"; }

RESOURCE EIK_APP_INFO
	{
	menubar=r_simplelist_menu_bar;
	cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;
	}


//----------------------------------------------------
//   
//    r_simplelist_menu_bar
//    options menu for the application
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_simplelist_menu_bar
	{
	titles=
		{
		MENU_TITLE 
			{
			txt = ""; // the text is not used in Series 60
			menu_pane = r_simplelist_menu_pane;
			}
		};
	}


//----------------------------------------------------
//   
//    r_simplelist_menu_pane
//    options menu pane for the application
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_simplelist_menu_pane
	{
	items =
		{
		MENU_ITEM
			{
			command = EAknCmdExit;
			txt = EXIT_TEXT;
			}
		};
	}

// ---------------------------------------------------------
//	r_simplelist_saved_games_listbox
//	The saved games list
//
// ---------------------------------------------------------
//
RESOURCE LISTBOX r_simplelist_saved_games_listbox
	{
	array_id = r_simplelist_saved_games_items;
	flags = EAknListBoxSelectionList;
	}

// ---------------------------------------------------------
//   
//    The saved games list
//
// ---------------------------------------------------------
//
RESOURCE ARRAY r_simplelist_saved_games_items
	{
	items =
		{
		LBUF
			{
			txt = SAVED_GAME1_TEXT;
			},
		LBUF
			{
			txt = SAVED_GAME2_TEXT;
			},
		LBUF
			{
			txt = SAVED_GAME3_TEXT;
			}
		};	  
	}

// ---------------------------------------------------------
//   
//    Strings used by the application
//
// ---------------------------------------------------------
//
RESOURCE TBUF r_icon_file_name
	{ 
	buf = ICON_FILE_NAME; 
	}



// End of File

⌨️ 快捷键说明

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