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

📄 textimagesound.rss

📁 《基于symbian手机开发与应用》一书的源代码
💻 RSS
字号:
/*
* ============================================================================
*  Name     : TextImageSound.rss
*  Part of  : TextImageSound
*  Created  : 2006-4-22 by LiuLiping
*  Description:
*     This file contains all the resources for the TextImageSound.
*     Initial content was generated by Series 60 AppWizard.
*  Version  :
*  Copyright: 
* ============================================================================
*/

//  RESOURCE IDENTIFIER
NAME    AWIZ // 4 letter ID

//  INCLUDES

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



//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf = "TextImageSound"; }

RESOURCE EIK_APP_INFO
    {
    status_pane = r_textimagesound_status_pane;
    }

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

//----------------------------------------------------
//   
//    r_textimagesound_Text
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_textimagesound_Text
    {
    hotkeys = r_textimagesound_hotkeys;
    menubar = r_textimagesound_menubar_Text;  
    cba     = R_AVKON_SOFTKEYS_SELECTION_LIST;    
    }

//----------------------------------------------------
//   
//    r_textimagesound_menubar_Text
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_textimagesound_menubar_Text
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_textimagesound_Text_menu; txt = qtn_text; }
        };
    }

//----------------------------------------------------
//   
//    r_textimagesound_text_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_textimagesound_Text_menu
    {
    items =
        {
        MENU_ITEM { command = ETextImageSoundCmdAppTest; txt = qtn_text_option_item; },
		MENU_ITEM { command = EAknCmdExit; txt = qtn_exit;}
        };
    }

//----------------------------------------------------
//   
//    r_textimagesound_imagesound
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_textimagesound_imagesound
    {
    hotkeys = r_textimagesound_hotkeys;
    menubar = r_textimagesound_menubar_imagesound;  
    cba     = R_AVKON_SOFTKEYS_SELECTION_LIST; 
    }

//----------------------------------------------------
//   
//    r_textimagesound_menubar_imagesound
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_textimagesound_menubar_imagesound
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_textimagesound_imagesound_menu; txt = "ImageSound"; }
        };
    }

//----------------------------------------------------
//   
//    r_textimagesound_imagesound_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_textimagesound_imagesound_menu
    {
    items =
        {
		MENU_ITEM { command = EPlay; txt = "Play";	},
		MENU_ITEM { command = EStop; txt = "Stop";	},
		MENU_ITEM { command = EAknCmdExit; txt = qtn_exit;}
        };
    }

//----------------------------------------------------
//   
//    r_textimagesound_app_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_textimagesound_app_menu
    {
    items =
        {
        MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; }
        };
    }

RESOURCE STATUS_PANE_APP_MODEL r_textimagesound_status_pane
    {
	panes =
		{
		SPANE_PANE
			{
			id = EEikStatusPaneUidNavi;
			type = EAknCtNaviPane;
			resource = r_textimagesound_navi_decorator;
			}
		};
    }

//----------------------------------------------------
//   
//    r_textimagesound_navi_decorator
//
//----------------------------------------------------
//
RESOURCE NAVI_DECORATOR r_textimagesound_navi_decorator
    {
    type = ENaviDecoratorControlTabGroup;
    control = TAB_GROUP
		{
		tab_width = EAknTabWidthWithThreeLongTabs; 
		active = 0;
		tabs = {
			TAB
				{
                id = ETextImageSoundTextTab;		// from application hrh
                txt = qtn_Text_tab;
                },
			TAB
				{
                id = ETextImageSoundImageSoundTab;
                txt = qtn_imagesound_tab;
				}
			};
		};
	}


RESOURCE TBUF r_app_text	{	buf = "Welcome you !!";		}
            
// End of File

⌨️ 快捷键说明

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