📄 animation.rss
字号:
/*
* ==============================================================================
* Name : animation.rss
* Part of : Animation example
* Interface :
* Description :
* Version :
*
* Copyright (c) 2004 - 2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
// RESOURCE IDENTIFIER
NAME ANIM // 4 letter ID
// INCLUDES
#include <eikon.rh>
#include <eikon.rsg>
#include <avkon.rh>
#include <avkon.rsg>
#include <appinfo.rh>
#include "Animation.hrh"
#include "Animation.rls"
// RESOURCE DEFINITIONS
// -----------------------------------------------------------------------------
//
// Define the resource file signature
// This resource should be empty.
//
// -----------------------------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
{
}
// -----------------------------------------------------------------------------
//
// Default Document Name
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_default_document_name
{
buf="";
}
// -----------------------------------------------------------------------------
//
// Define default menu and CBA key.
//
// -----------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
menubar = r_animation_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// -----------------------------------------------------------------------------
//
// r_animation_menubar
// Menubar for Animation example
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_animation_menubar
{
titles =
{
MENU_TITLE { menu_pane = r_animation_menu; }
};
}
// -----------------------------------------------------------------------------
//
// r_animation_menu
// Menu for "Options"
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_animation_menu
{
items =
{
MENU_ITEM { command = EEikCmdReset; txt = STRING_r_anim_reset_text; },
MENU_ITEM { command = EAknSoftkeyExit; txt = STRING_r_anim_exit_text; }
};
}
// -----------------------------------------------------------------------------
//
// Resources for messages.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_anim_caption_string
{ buf = STRING_r_anim_caption_string; }
//----------------------------------------------------
//
// r_animation_localisable_app_info
//
//----------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_animation_localisable_app_info
{
short_caption = STRING_r_anim_short_caption_string;
caption_and_icon =
CAPTION_AND_ICON_INFO
{
caption = STRING_r_anim_caption_string;
number_of_icons = 1;
icon_file = "\\resource\\apps\\Animation_aif.mif";
};
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -