📄 s60uiexample.rss
字号:
// Copyright (c) 2006 Nokia Corporation.
// RESOURCE IDENTIFIER
NAME S60U // 4 letter ID
// INCLUDES
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include <appinfo.rh>
#include "S60UIExample.hrh"
#include "S60UIExample.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="HEWB";
}
// -----------------------------------------------------------------------------
//
// Define default menu and CBA key.
//
// -----------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
}
// -----------------------------------------------------------------------------
//
// r_s60uiexample_initialview
// Define initial view
//
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_s60uiexample_initialview
{
menubar = r_s60uiexample_initialmenubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// -----------------------------------------------------------------------------
//
// r_s60uiexample_initialmenubar
// Menu title definition
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_s60uiexample_initialmenubar
{
titles =
{
MENU_TITLE
{
menu_pane = r_s60uiexample_initialmenu;
}
};
}
// -----------------------------------------------------------------------------
//
// r_s60uiexample_initialmenu
// Menu for "Options"
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_s60uiexample_initialmenu
{
items =
{
MENU_ITEM
{
command = ES60UIExampleStartGame;
txt = qtn_startgame;
},
MENU_ITEM
{
command = ES60UIExampleContinueGame;
txt = qtn_continuegame;
},
MENU_ITEM
{
command = EAknSoftkeyExit;
txt = qtn_exit;
}
};
}
// -----------------------------------------------------------------------------
//
// r_s60uiexample_playview
// Define play view
//
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_s60uiexample_playview
{
menubar = r_s60uiexample_playmenubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// -----------------------------------------------------------------------------
//
// r_S60UIExample_playmenubar
// Menu title definition
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_s60uiexample_playmenubar
{
titles =
{
MENU_TITLE
{
menu_pane = r_s60uiexample_playmenu;
}
};
}
// -----------------------------------------------------------------------------
//
// r_s60uiexample_playmenu
// Menu for "Options"
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_s60uiexample_playmenu
{
items =
{
MENU_ITEM
{
command = ES60UIExampleStopGame;
txt = qtn_endgame;
},
MENU_ITEM
{
command = ES60UIExampleContinueGame;
txt = qtn_continuegame;
},
MENU_ITEM
{
command = ES60UIExampleStartGame;
txt = qtn_restartgame;
},
MENU_ITEM
{
command = ES60UIExamplePauseGame;
txt = qtn_pausegame;
},
MENU_ITEM
{
command = EAknSoftkeyExit;
txt = qtn_exit;
}
};
}
// -----------------------------------------------------------------------------
//
// String Resources
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF32 r_s60uiexample_title_text
{
buf = qtn_s60uiexample_title_text;
}
// ----------------------------------------------------------------------------
//
// r_localisable_app_info
//
// ----------------------------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
{
short_caption = qtn_short_caption_string;
caption_and_icon =
CAPTION_AND_ICON_INFO
{
caption = qtn_caption_string;
number_of_icons = 1;
icon_file = "\\resource\\apps\\S60UIExample_icon.mif";
};
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -