stopwatch.rss
来自「《基于Symbian OS的手机开发与应用实践》这本书的配套源码。」· RSS 代码 · 共 107 行
RSS
107 行
/*
* ============================================================================
* Name : Stopwatch.rss
* Part of : Stopwatch
* Created : 05.02.2006 by ToBeReplacedByAuthor
* Description:
* This file contains all the resources for the Stopwatch.
* Initial content was generated by Series 60 Application Wizard.
* Version :
* Copyright: ToBeReplacedByCopyright
* ============================================================================
*/
// RESOURCE IDENTIFIER
NAME AWIZ // 4 letter ID
// INCLUDES
#include <eikon.rh>
#include "Stopwatch.hrh"
#include "Stopwatch.loc"
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf = "Stopwatch"; }
RESOURCE EIK_APP_INFO
{
hotkeys = r_stopwatch_hotkeys;
cba = r_stopwatch_softkey_start_exit;
}
//----------------------------------------------------
//
// r_stopwatch_hotkeys
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_stopwatch_hotkeys
{
control =
{
HOTKEY { command = EAknCmdExit; key='e'; }
};
}
RESOURCE CBA r_stopwatch_softkey_start_exit
{
buttons =
{
CBA_BUTTON
{
id = EStopwatchCmdStart;
txt = qtn_appl_start;
},
CBA_BUTTON
{
id = EEikCmdExit;
txt = qtn_appl_exit;
}
};
}
RESOURCE CBA r_stopwatch_softkey_stop_reset
{
buttons =
{
CBA_BUTTON
{
id = EStopwatchCmdStop;
txt = qtn_appl_stop;
},
CBA_BUTTON
{
id = EStopwatchCmdReset;
txt = qtn_appl_reset;
}
};
}
RESOURCE CBA r_stopwatch_softkey_resume_reset
{
buttons =
{
CBA_BUTTON
{
id = EStopwatchCmdResume;
txt = qtn_appl_resume;
},
CBA_BUTTON
{
id = EStopwatchCmdReset;
txt = qtn_appl_reset;
}
};
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?