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/PerlUiS60.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/PerlUiS60.rss')
-rw-r--r-- | symbian/PerlUiS60.rss | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/symbian/PerlUiS60.rss b/symbian/PerlUiS60.rss new file mode 100644 index 0000000000..757fb33740 --- /dev/null +++ b/symbian/PerlUiS60.rss @@ -0,0 +1,144 @@ +/* Copyright (c) 2004-2005 Nokia. All rights reserved. */ + +/* The PerlUi class is licensed under the same terms as Perl itself. */ + +/* The S60 definitions. */ + +NAME PERL + +#include <eikon.rh> +#include <avkon.rh> +#include <avkon.rsg> + +#include "PerlUi.hrh" +#include "PerlApp.hrh" + +RESOURCE RSS_SIGNATURE +{ +} + +RESOURCE TBUF r_default_document_name +{ + buf = ""; +} + +RESOURCE EIK_APP_INFO +{ + menubar = r_Perl_menubar; + cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; +} + + +RESOURCE MENU_BAR r_Perl_menubar +{ + titles = { + MENU_TITLE + { + menu_pane = r_Perl_menu; + } + }; +} + + +RESOURCE MENU_PANE r_Perl_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_ok_cancel_dialog +{ + flags = EEikDialogFlagWait | EEikDialogFlagCbaButtons; + buttons = R_AVKON_SOFTKEYS_OK_CANCEL; + items = { + DLG_LINE + { + type = EAknCtNote; + id = EGeneralNote; + control = AVKON_NOTE + { + layout = EGeneralLayout; + }; + } + }; +} + +RESOURCE DIALOG r_perlui_yes_no_dialog +{ + flags = EEikDialogFlagWait | EEikDialogFlagCbaButtons; + buttons = R_AVKON_SOFTKEYS_YES_NO; + items = { + DLG_LINE + { + type = EAknCtNote; + id = EGeneralNote; + control = AVKON_NOTE + { + layout = EGeneralLayout; + }; + } + }; +} + +RESOURCE DIALOG r_perlui_text_query_dialog +{ + flags = EGeneralQueryFlags; + buttons = R_AVKON_SOFTKEYS_OK_CANCEL; + items = { + DLG_LINE + { + type = EAknCtQuery; + id = EGeneralQuery; + control = AVKON_DATA_QUERY + { + layout = EDataLayout; + control = EDWIN {}; + }; + } + }; +} + +RESOURCE AVKON_LIST_QUERY r_perlui_list_query_dialog +{ + flags = EGeneralQueryFlags; + softkeys = R_AVKON_SOFTKEYS_OK_CANCEL; + items = { + DLG_LINE + { + type = EAknCtListQueryControl; + id = EListQueryControl; + control = AVKON_LIST_QUERY_CONTROL + { + listtype = EAknCtSinglePopupMenuListBox; + }; + } + }; +} + +#include <CommonDialogs.hrh> +#include <CommonDialogs.rh> + +RESOURCE MEMORYSELECTIONDIALOG r_perlui_file_selection_dialog +{ +} + |