diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2005-11-07 15:32:15 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-11-07 11:39:57 +0000 |
commit | d0d72822ba0a68d160ea4c98ca80f24b8f73969b (patch) | |
tree | 735ce6a98b4d91d05a26f9573f8e62ca8f91738f /symbian/PerlUiS80.rss | |
parent | 7d0beb42a2610634ab455d4519a64df3ca90bc2f (diff) | |
download | perl-d0d72822ba0a68d160ea4c98ca80f24b8f73969b.tar.gz |
Symbian update blead@26025
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A70C@esebe105.NOE.Nokia.com>
p4raw-id: //depot/perl@26030
Diffstat (limited to 'symbian/PerlUiS80.rss')
-rw-r--r-- | symbian/PerlUiS80.rss | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/symbian/PerlUiS80.rss b/symbian/PerlUiS80.rss new file mode 100644 index 0000000000..8028311f35 --- /dev/null +++ b/symbian/PerlUiS80.rss @@ -0,0 +1,95 @@ +/* Copyright (c) 2004-2005 Nokia. All rights reserved. */ + +/* The PerlUi class is licensed under the same terms as Perl itself. */ + +/* The S80 definitions. */ + +NAME PERL + +#include <eikon.rh> +#include <eikon.rsg> + +#include "PerlUi.hrh" +#include "PerlApp.hrh" + +RESOURCE RSS_SIGNATURE +{ +} + +RESOURCE TBUF r_default_document_name +{ + buf = ""; +} + +RESOURCE EIK_APP_INFO +{ + menubar = r_perlui_menubar; + cba = r_perlui_cba; +} + +RESOURCE CBA r_perlui_cba +{ + buttons = { + CBA_BUTTON { id = EPerlAppCommandRunFile; txt = "Run"; }, + CBA_BUTTON { id = EPerlAppCommandOneLiner; txt = "Oneliner"; }, + CBA_BUTTON { id = EPerlAppCommandAboutCopyright; txt = "About"; }, + CBA_BUTTON { id = EEikCmdExit; txt = "Exit"; } + }; +} + + +RESOURCE MENU_BAR r_perlui_menubar +{ + titles = { + MENU_TITLE + { + menu_pane = r_perlui_menu; txt = "Options"; + } + }; +} + + +RESOURCE MENU_PANE r_perlui_menu +{ + items = { + MENU_ITEM { + command = EPerlAppCommandAbout; + txt = "About"; + }, + MENU_ITEM { + command = EPerlAppCommandTime; + txt = "Time"; + }, + MENU_ITEM { + command = EPerlAppCommandRunFile; + txt = "Run"; + }, + MENU_ITEM { + command = EPerlAppCommandOneLiner; + txt = "Oneliner"; + }, + MENU_ITEM { + command = EPerlAppCommandCopyright; + txt = "Copyright"; + } + }; +} + +RESOURCE DIALOG r_perlui_oneliner_dialog +{ + title = "Title"; + buttons = R_EIK_BUTTONS_CANCEL_OK; + flags = EEikDialogFlagWait; + items = { + DLG_LINE { + type = EEikCtEdwin; + prompt = "Prompt"; + id = EPerlUiTextQueryInputField; + control = EDWIN { + width = 10; + maxlength = 128; + }; + } + }; +} + |