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

📄 vibra.rss

📁 symbian 2rd下手机振动的控制和应用
💻 RSS
字号:
/*
============================================================================
 Name        : Vibra.rss
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : This file contains all the resources for the Vibra.
============================================================================
*/

//  RESOURCE IDENTIFIER
NAME    AWIZ // 4 letter ID

//  INCLUDES

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


//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf = "Vibra"; }

RESOURCE EIK_APP_INFO
	{
	status_pane = r_vibra_status_pane;
	}

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

//----------------------------------------------------
//   
//    r_vibra_view1
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_vibra_view1
	{
	hotkeys = r_vibra_hotkeys;
	menubar = r_vibra_menubar_view1;
	cba     = R_AVKON_SOFTKEYS_SELECTION_LIST;
	}

//----------------------------------------------------
//   
//    r_vibra_menubar_view1
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_vibra_menubar_view1
	{
	titles =
		{
		MENU_TITLE { menu_pane = r_vibra_app_menu; txt = "App"; },
		MENU_TITLE { menu_pane = r_vibra_view1_menu; txt = "View"; }
		};
	}

//----------------------------------------------------
//   
//    r_vibra_view1_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_vibra_view1_menu
	{
	items =
		{
		MENU_ITEM { command = EVibraCmdAppTest;				txt = qtn_view1_option_item1; },
		MENU_ITEM { command = EVibraCmdStartVibra;			txt = qtn_view1_option_item2; },
		MENU_ITEM { command = EVibraCmdStopVibra;			txt = qtn_view1_option_item3; },
		MENU_ITEM { command = EVibraCmdStepVibra;				txt = qtn_view1_option_item4; },
		MENU_ITEM { command = EVibraCmdStatusVibra;			txt = qtn_view1_option_item5; }
		};
	}

//----------------------------------------------------
//   
//    r_vibra_view2
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_vibra_view2
	{
	hotkeys = r_vibra_hotkeys;
	menubar = r_vibra_menubar_view2;  
	cba     = R_AVKON_SOFTKEYS_SELECTION_LIST; 
	}

//----------------------------------------------------
//   
//    r_vibra_menubar_view2
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_vibra_menubar_view2
	{
	titles =
		{
		MENU_TITLE { menu_pane = r_vibra_app_menu; txt = "App"; },
		MENU_TITLE { menu_pane = r_vibra_view2_menu; txt = "View"; }
		};
	}

//----------------------------------------------------
//   
//    r_vibra_view2_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_vibra_view2_menu
	{
	items =
		{
		MENU_ITEM { command = EVibraCmdAppTest; txt = qtn_view2_option_item; }
		};
	}

//----------------------------------------------------
//   
//    r_vibra_app_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_vibra_app_menu
	{
	items =
		{
		MENU_ITEM { command = EVibraCmdAppTest; txt = qtn_appl_option_item; },
		MENU_ITEM { command = EAknCmdExit; txt = qtn_appl_exit; }
		};
	}

RESOURCE STATUS_PANE_APP_MODEL r_vibra_status_pane
	{
	panes =
		{
		SPANE_PANE
			{
			id = EEikStatusPaneUidNavi;
			type = EAknCtNaviPane;
			resource = r_vibra_navi_decorator;
			}
		};
	}

//----------------------------------------------------
//   
//    r_vibra_navi_decorator
//
//----------------------------------------------------
//
RESOURCE NAVI_DECORATOR r_vibra_navi_decorator
	{
	type = ENaviDecoratorControlTabGroup;
	control = TAB_GROUP
		{
		tab_width = EAknTabWidthWithTwoTabs;  // two tabs
		active = 0;
		tabs = {
			TAB
				{
				id = EVibraView1Tab; // from application hrh
				txt = qtn_view1_tab;
				},
			TAB
				{
				id = EVibraView2Tab;
				txt = qtn_view2_tab;
				}
			};
		};
	}

⌨️ 快捷键说明

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