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

📄 drawimage.rss

📁 symbian的画图程序
💻 RSS
字号:
/*
============================================================================
 Name		: DrawImage.rss
 Author	  : caitong
 Copyright   : Your copyright notice
 Description : This file contains all the resources for the DrawImage.
============================================================================
*/

//  RESOURCE IDENTIFIER
NAME	DRAW // 4 letter ID

//  INCLUDES

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



//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf = "DrawImage"; }

RESOURCE EIK_APP_INFO
	{
	hotkeys = r_DrawImage_hotkeys;
	menubar = r_DrawImage_menubar;
	cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;	 
	}

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

//----------------------------------------------------
//   
//	r_DrawImage_menubar
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_DrawImage_menubar
	{
	titles =
		{
		MENU_TITLE { menu_pane = r_DrawImage_menu; txt = "File"; }
		};
	}

//----------------------------------------------------
//   
//	r_DrawImage_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_DrawImage_menu
	{
	items =
		{
		MENU_ITEM { command = EDrawImageCmdAppTest; txt = qtn_appl_test; },
		MENU_ITEM { command = EDrawImageCmdHelp; txt = qtn_appl_help; },
		MENU_ITEM { command = EDrawImageCmdAbout; txt = qtn_appl_about; },
		MENU_ITEM { command = EAknCmdExit; txt = qtn_appl_exit; }
		};
	}

//----------------------------------------------------
//   
//	r_about_query_dialog
//
//----------------------------------------------------
//
RESOURCE DIALOG r_about_query_dialog
	{
	flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
	buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
	items=
		{
		DLG_LINE 
			{
			type = EAknCtPopupHeadingPane;
			id = EAknMessageQueryHeaderId;
			itemflags = EEikDlgItemNonFocusing;
			control = AVKON_HEADING
				{
				};
			},
		DLG_LINE
			{
			type = EAknCtMessageQuery;
			id = EAknMessageQueryContentId;
			control = AVKON_MESSAGE_QUERY
				{
				};
			}
		};
	}

RESOURCE TBUF32 r_about_dialog_title { buf=qtn_appl_about_dialog_title; }
RESOURCE TBUF r_about_dialog_text { buf=qtn_appl_about_dialog_text; }

//----------------------------------------------------------------------
//  r_message_text -- Localized string used by the application
//----------------------------------------------------------------------
/*
References to the following line in the .loc file:
	#define R_MESSAGE_TEXT_STRING "Hello World!"
With S60 you can load the buffer by using StringLoader (more flexible API):
	#include <StringLoader.h>	// Link against: CommonEngine.lib 
	HBufC* text = StringLoader::LoadLC(R_MESSAGE_TEXT);
	// Do something with the string
	CleanupStack::PopAndDestroy(text);
Or in the traditional Symbian OS way with CCoeEnv::AllocReadResourceLC():
	#include <eikenv.h>			// Link against: eikcore.lib
	HBufC* text = CEikonEnv::Static()->AllocReadResourceLC(R_MESSAGE_TEXT);
	// Do something with the string
	CleanupStack::PopAndDestroy(text);
*/
RESOURCE TBUF r_message_text {	buf = R_MESSAGE_TEXT_STRING; }


⌨️ 快捷键说明

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