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

📄 vrex.rss

📁 symbian s60 有关音频的代码实例,供参考
💻 RSS
字号:
/*
============================================================================
 Name        : VRex.rss
 Author      : Forum Nokia
 Created     : 30/08/2006 by Forum  Nokia
 Version     : 2.0
 Copyright   : Nokia Corporation, 2006
 Description : This file contains all the resources for the VRex.
============================================================================
*/

//  RESOURCE IDENTIFIER
NAME    VREX // 4 letter ID

//  INCLUDES

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

#ifdef EKA2
    #include <appinfo.rh>
    #include "VRex_loc.rls"
#endif

//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf = "VRex"; }

RESOURCE EIK_APP_INFO
    {
    status_pane = r_VRex_status_pane;
    }

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

//----------------------------------------------------
//   
//    r_view1
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_view1
    {
    hotkeys = r_VRex_hotkeys;
    menubar = r_VRex_menubar_view1;  
    cba     = R_AVKON_SOFTKEYS_OPTIONS_EXIT;    
    }

//----------------------------------------------------
//   
//    r_VRex_menubar_view1
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_VRex_menubar_view1
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_VRex_app_menu; txt = "App"; },        
        MENU_TITLE { menu_pane = r_VRex_view1_menu; txt = "View"; }
        };
    }

//----------------------------------------------------
//   
//    r_VRex_view1_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_VRex_view1_menu
    {
    items =
        {
        MENU_ITEM { command = EVRexCmdAppStartPreview; txt = qtn_vrex_start_preview; },
        MENU_ITEM { command = EVRexCmdAppPlay; txt = qtn_vrex_play; },
        MENU_ITEM { command = EVRexCmdAppDocPlay; txt = qtn_vrex_docplay; },
        MENU_ITEM { command = EVRexCmdAppDocFileInfo; txt = qtn_vrex_file_info; }

        };
    }

//----------------------------------------------------
//   
//    r_view2
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_view2
    {
    hotkeys = r_VRex_hotkeys;
    menubar = r_VRex_menubar_view2;  
    cba     = R_AVKON_SOFTKEYS_OPTIONS_EXIT; 
    }

//----------------------------------------------------
//   
//    r_VRex_menubar_view2
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_VRex_menubar_view2
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_VRex_app_menu; txt = "App"; }
        };
    }

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

//----------------------------------------------------
//   
//     r_VRex_status_pane
//
//----------------------------------------------------
//
RESOURCE STATUS_PANE_APP_MODEL r_VRex_status_pane
    {
	panes =
		{
		SPANE_PANE
			{
			id = EEikStatusPaneUidTitle;
            type = EAknCtTitlePane;
            resource = r_vrex_title_pane;
			}
		};
    }

//----------------------------------------------------
//   
//    r_vrex_pause_stop
// 
//
//----------------------------------------------------
// 
RESOURCE CBA r_vrex_pause_stop
	{
	buttons = 
	   	{
		CBA_BUTTON { id=EVRexCmdAppPause; txt = qtn_vrex_pause; },
		CBA_BUTTON { id=EVRexCmdAppStop; txt = qtn_vrex_stop; }
		} ;
	}

//----------------------------------------------------
//   
//    r_vrex_continue_return
// 
//
//----------------------------------------------------
// 
RESOURCE CBA r_vrex_continue_return
	{
	buttons = 
		{
		CBA_BUTTON { id=EVRexCmdAppContinue; txt = qtn_vrex_continue; },
		CBA_BUTTON { id=EVRexCmdAppReturn; txt = qtn_vrex_return; }
		} ;
	}

//----------------------------------------------------
//   
//    r_vrex_stop
// 
//
//----------------------------------------------------
// 
RESOURCE CBA r_vrex_stop
	{
	buttons = 
		{
		CBA_BUTTON { id=EVRexCmdAppStop; txt = qtn_vrex_stop; },
		CBA_BUTTON { id=EAknSoftkeyEmpty; txt = qtn_vrex_empty; }
		} ;
	}

//----------------------------------------------------
//   
//    r_vrex_record_return
// 
//
//----------------------------------------------------
// 
RESOURCE CBA r_vrex_record_return
	{
	buttons = 
		{
		CBA_BUTTON { id=EVRexCmdAppRecord; txt = qtn_vrex_record; },
		CBA_BUTTON { id=EVRexCmdAppReturn; txt = qtn_vrex_return; }
		} ;
	}
    
//----------------------------------------------------
//   
//    r_vrex_title_pane
//
//----------------------------------------------------
//
RESOURCE TITLE_PANE r_vrex_title_pane
    {
    txt = qtn_vrex_main_title;
    }

// ---------------------------------------------------
//
//    r_vrex_time_text_layout
//
// ---------------------------------------------------
//
RESOURCE AVKON_LAYOUT_TEXT r_vrex_time_text_layout
    {
    font = ELatinBold12; C=0; l=43; r=4; B=13; W=73; J=ELayoutAlignRight;
    }

//----------------------------------------------------
//   
//    r_vrex_navi_time
//
//----------------------------------------------------
//
RESOURCE TBUF256  r_vrex_navi_time 
    { 
    buf = qtn_vrex_sep_slash; 
    }

// ---------------------------------------------------
//
//    r_vrex_file_details
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_details
    {
    buf = qtn_vrex_fd_headings;
    }

// ---------------------------------------------------
//
//    r_vrex_file_details_row_format
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_details_row_format
    {
    buf = "%0U\t%1U"; 
    }

// ---------------------------------------------------
//
//    r_vrex_file_title_heading
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_title_heading
    {
    buf = qtn_vrex_fd_title;
    }

// ---------------------------------------------------
//
//    r_vrex_file_name_heading
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_name_heading
    {
    buf = qtn_vrex_fd_filename;
    }


// ---------------------------------------------------
//
//    r_vrex_file_url_heading
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_url_heading
    {
    buf = qtn_vrex_filedetails_url;
    }

// ---------------------------------------------------
//
//    r_vrex_file_format_heading
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_format_heading
    {
    buf = qtn_vrex_details_format;
    }

// ---------------------------------------------------
//
//    r_vrex_file_resolution_heading
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_resolution_heading
    {
    buf = qtn_vrex_details_resolution;
    }

// ---------------------------------------------------
//
//    r_vrex_file_resolution_heading
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_resolution
    {
    buf = qtn_vrex_times_indic;
    }

// ---------------------------------------------------
//
//    r_vrex_file_duration_heading
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_duration_heading
    {
    buf = qtn_vrex_details_duration;
    }

// ---------------------------------------------------
//
//    r_vrex_file_bitrate_heading
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_bitrate_heading
    {
    buf = qtn_vrex_details_bitrate;
    }


// ---------------------------------------------------
//
//    r_mp_file_bitrate
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_bitrate
    {
    buf = qtn_vrex_bitrate_kbps;
    }

// ---------------------------------------------------
//
//    r_vrex_file_size_heading
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_size_heading
    {
    buf = qtn_vrex_details_size;
    }

// ---------------------------------------------------
//
//    r_vrex_file_size_kb
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_size_kb
    {
    buf = qtn_vrex_size_kb;
    }

// ---------------------------------------------------
//
//    r_vrex_file_size_mb
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_size_mb
    {
    buf = qtn_vrex_size_mb;
    }

// ---------------------------------------------------
//
//    r_vrex_file_date_heading
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_date_heading
    {
    buf = qtn_vrex_details_date;
    }

// ---------------------------------------------------
//
//    r_vrex_file_date_heading
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_time_heading
    {
    buf = qtn_vrex_details_time;
    }

// ---------------------------------------------------
//
//    r_vrex_file_date_heading
//
// ---------------------------------------------------
//
RESOURCE TBUF256 r_vrex_file_copyright_heading
    {
    buf = qtn_vrex_details_copyright;
    }

#ifdef EKA2

//-----------------------------------------------------------------------------
//
//    r_localisable_app_info
//
//-----------------------------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
    {
    short_caption = STRING_short_caption;
    caption_and_icon =
        CAPTION_AND_ICON_INFO 
            {
            caption=STRING_r_long_caption;
            number_of_icons = 1;
	   	    icon_file = "\\resource\\apps\\VRex.mif";
            };
    }
#endif

⌨️ 快捷键说明

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