activehello.rss
来自「symbian活动对象的例子」· RSS 代码 · 共 132 行
RSS
132 行
// ActiveHello.rss
//
// Copyright (c) 2002 Symbian Ltd. All rights reserved.
//
NAME ACTV
#include <eikon.rh>
#include <eikcore.rsg>
#include "activehello.hrh"
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF
{
buf="";
}
RESOURCE EIK_APP_INFO
{
menubar = r_activehello_menubar;
hotkeys = r_activehello_hotkeys;
}
RESOURCE HOTKEYS r_activehello_hotkeys
{
control=
{
HOTKEY
{
command=EEikCmdExit;
key='e';
}
};
}
RESOURCE MENU_BAR r_activehello_menubar
{
titles=
{
MENU_TITLE
{
menu_pane = r_activehello_file_menu;
txt = "File";
},
MENU_TITLE
{
menu_pane = r_activehello_other_menu;
txt = "Other";
}
};
}
RESOURCE MENU_PANE r_activehello_file_menu
{
items=
{
MENU_ITEM
{
command = EEikCmdExit;
txt = "Close (debug)";
}
};
}
RESOURCE MENU_PANE r_activehello_other_menu
{
items=
{
MENU_ITEM
{
command = EActiveHelloCmdSetHello;
txt = "Set hello";
},
MENU_ITEM
{
command = EActiveHelloCmdCancelHello;
txt = "Cancel";
},
MENU_ITEM
{
command = EActiveHelloCmdStartFlashing;
txt = "Start flashing";
},
MENU_ITEM
{
command = EActiveHelloCmdStopFlashing;
txt = "Stop flashing";
},
MENU_ITEM
{
command = EActiveHelloCmdStartMultiHello;
txt = "Start multi hello";
},
MENU_ITEM
{
command = EActiveHelloCmdCancelMultiHello;
txt = "Stop multi hello";
}
};
}
RESOURCE TBUF r_activehello_text_hello
{
buf = "Hello world!";
}
RESOURCE TBUF r_activehello_text_cancelled
{
buf = "Cancelled";
}
RESOURCE TBUF r_activehello_text_started
{
buf = "Started flashing";
}
RESOURCE TBUF r_activehello_text_stopped
{
buf = "Stopped flashing";
}
RESOURCE TBUF r_activehello_text_multi_started
{
buf = "Started multi-hello";
}
RESOURCE TBUF r_activehello_text_multi_cancel
{
buf = "Cancelled multi-hello";
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?