latest switch/say/~~
[p5sagit/p5-mst-13.2.git] / symbian / PerlUiS60.rss
CommitLineData
f0b5fd17 1/* Copyright (c) 2004-2005 Nokia. All rights reserved. */
2
d0d72822 3/* The PerlUi class is licensed under the same terms as Perl itself. */
4
5/* The S60 definitions. */
f0b5fd17 6
7NAME PERL
8
9#include <eikon.rh>
10#include <avkon.rh>
11#include <avkon.rsg>
12
d0d72822 13#include "PerlUi.hrh"
f0b5fd17 14#include "PerlApp.hrh"
15
16RESOURCE RSS_SIGNATURE
17{
18}
19
20RESOURCE TBUF r_default_document_name
21{
22 buf = "";
23}
24
25RESOURCE EIK_APP_INFO
26{
27 menubar = r_Perl_menubar;
28 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
29}
30
31
32RESOURCE MENU_BAR r_Perl_menubar
33{
34 titles = {
35 MENU_TITLE
36 {
37 menu_pane = r_Perl_menu;
38 }
39 };
40}
41
42
43RESOURCE MENU_PANE r_Perl_menu
44{
45 items = {
46 MENU_ITEM {
47 command = EPerlAppCommandAbout;
48 txt = "About";
49 },
50 MENU_ITEM {
51 command = EPerlAppCommandTime;
52 txt = "Time";
53 },
54 MENU_ITEM {
55 command = EPerlAppCommandRunFile;
56 txt = "Run";
57 },
58 MENU_ITEM {
59 command = EPerlAppCommandOneLiner;
60 txt = "Oneliner";
61 },
62 MENU_ITEM {
63 command = EPerlAppCommandCopyright;
64 txt = "Copyright";
65 }
66 };
67}
68
d0d72822 69RESOURCE DIALOG r_perlui_ok_cancel_dialog
f0b5fd17 70{
71 flags = EEikDialogFlagWait | EEikDialogFlagCbaButtons;
72 buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
73 items = {
74 DLG_LINE
75 {
76 type = EAknCtNote;
77 id = EGeneralNote;
78 control = AVKON_NOTE
79 {
80 layout = EGeneralLayout;
81 };
82 }
83 };
84}
85
d0d72822 86RESOURCE DIALOG r_perlui_yes_no_dialog
f0b5fd17 87{
88 flags = EEikDialogFlagWait | EEikDialogFlagCbaButtons;
89 buttons = R_AVKON_SOFTKEYS_YES_NO;
90 items = {
91 DLG_LINE
92 {
93 type = EAknCtNote;
94 id = EGeneralNote;
95 control = AVKON_NOTE
96 {
97 layout = EGeneralLayout;
98 };
99 }
100 };
101}
102
d0d72822 103RESOURCE DIALOG r_perlui_text_query_dialog
f0b5fd17 104{
105 flags = EGeneralQueryFlags;
106 buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
107 items = {
108 DLG_LINE
109 {
110 type = EAknCtQuery;
111 id = EGeneralQuery;
112 control = AVKON_DATA_QUERY
113 {
114 layout = EDataLayout;
115 control = EDWIN {};
116 };
117 }
118 };
119}
120
d0d72822 121RESOURCE AVKON_LIST_QUERY r_perlui_list_query_dialog
f0b5fd17 122{
123 flags = EGeneralQueryFlags;
124 softkeys = R_AVKON_SOFTKEYS_OK_CANCEL;
125 items = {
126 DLG_LINE
127 {
128 type = EAknCtListQueryControl;
129 id = EListQueryControl;
130 control = AVKON_LIST_QUERY_CONTROL
131 {
132 listtype = EAknCtSinglePopupMenuListBox;
133 };
134 }
135 };
136}
137
138#include <CommonDialogs.hrh>
139#include <CommonDialogs.rh>
140
d0d72822 141RESOURCE MEMORYSELECTIONDIALOG r_perlui_file_selection_dialog
f0b5fd17 142{
143}
144