📄 s60animation.rss
字号:
/*
* ============================================================================
* Name : S60Animation.rss
* Part of : S60Animation
* Created : 31.01.2006 by ToBeReplacedByAuthor
* Description:
* This file contains all the resources for the S60Animation.
* Initial content was generated by Series 60 Application Wizard.
* Version :
* Copyright: ToBeReplacedByCopyright
* ============================================================================
*/
// RESOURCE IDENTIFIER
NAME AWIZ // 4 letter ID
// INCLUDES
#include <eikon.rh>
#include "S60Animation.hrh"
#include "S60Animation.loc"
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include <S60Animation.mbg>
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf = "S60Animation"; }
RESOURCE EIK_APP_INFO
{
hotkeys = r_s60animation_hotkeys;
menubar = r_s60animation_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
}
//----------------------------------------------------
//
// r_s60animation_hotkeys
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_s60animation_hotkeys
{
control =
{
HOTKEY { command = EAknCmdExit; key='e'; }
};
}
//----------------------------------------------------
//
// r_s60animation_menubar
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_s60animation_menubar
{
titles =
{
MENU_TITLE { menu_pane = r_s60animation_menu; txt = "File"; }
};
}
//----------------------------------------------------
//
// r_s60animation_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_s60animation_menu
{
items =
{
MENU_ITEM { command = ES60AnimationCmdStart; txt = qtn_appl_start; },
MENU_ITEM { command = ES60AnimationCmdStop; txt = qtn_appl_stop; },
MENU_ITEM { command = EAknCmdExit; txt = qtn_appl_exit; }
};
}
//--------------------------------------------------
//
// r_animation_example_data
//
// Resource defining the animation to be used by
// CAknBitmapAnimation
//--------------------------------------------------
RESOURCE BMPANIM_DATA r_s60animation_bmpanim_data
{
frameinterval = 1000;
playmode = EAknBitmapAnimationPlayModeBounce;
bmpfile = "*";
frames = r_s60animation_frame_array ;
}
//--------------------------------------------------
//
// r_animation_example_array
//
// Array of BMPANIM_FRAME elements that will be used
// by BMPANIM_DATA and finally CAknBitmapAnimation
// Although not illustrated in this case bitmaps can be
// masked using the maskid field
//--------------------------------------------------
RESOURCE ARRAY r_s60animation_frame_array
{
items =
{
BMPANIM_FRAME
{
time = 1500;
bmpid = EMbmS60animationFrame1;
maskid = EMbmS60animationFramemask1;
},
BMPANIM_FRAME
{
bmpid = EMbmS60animationFrame2;
maskid = EMbmS60animationFramemask2;
},
BMPANIM_FRAME
{
time = 500;
bmpid = EMbmS60animationFrame3;
maskid = EMbmS60animationFramemask3;
}
};
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -