This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
update t/porting/filenames.t to check for path components contaning two
[perl5.git] / symbian / PerlUiUIQ.rss
1 /* Copyright (c) 200-2005 Nokia. All rights reserved. */ 
2
3 /* The PerlUi class is licensed under the same terms as Perl itself. */
4
5 /* The UIQ definitions. */
6
7 NAME PERL
8
9 #include <eikon.rh>
10 #include <eikcore.rsg>
11 #include <qikon.rh>
12
13 #include "PerlUi.hrh"
14 #include "PerlApp.hrh"
15
16 RESOURCE RSS_SIGNATURE
17 {
18 }
19
20 RESOURCE TBUF r_default_document_name
21 {
22     buf = "";
23 }
24
25 RESOURCE EIK_APP_INFO
26 {
27     menubar = r_perlui_menubar;
28     toolbar = r_perlui_menubar;
29 }
30
31
32 RESOURCE MENU_BAR r_perlui_menubar
33 {
34     titles = {
35         MENU_TITLE
36             {
37             menu_pane = r_perlui_menu; txt = "Options";
38             }
39     };
40 }
41
42
43 RESOURCE MENU_PANE r_perlui_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 = EPerlAppCommandOneLiner;
56             txt = "Oneliner";
57         },
58         MENU_ITEM {
59             command = EPerlAppCommandCopyright;
60             txt = "Copyright";
61             }
62         };
63 }
64
65 RESOURCE DIALOG r_perlui_oneliner_dialog
66 {
67     title = "Title";
68     buttons = R_EIK_BUTTONS_CANCEL_OK;
69     flags = EEikDialogFlagWait;
70     items = {
71         DLG_LINE {
72             type = EEikCtEdwin;
73             prompt = "Prompt";
74             id = EPerlUiTextQueryInputField;
75             control = EDWIN {
76                 width = 10;
77                 maxlength = 128;
78             };
79         }
80     };
81 }
82
83 RESOURCE DIALOG r_perlui_ok_cancel_dialog
84 {
85     title = "OK / Cancel ?";
86     buttons = r_perlui_ok_cancel_buttons;
87 }
88
89 RESOURCE DLG_BUTTONS r_perlui_ok_cancel_buttons
90 {
91     buttons = {
92         DLG_BUTTON {
93             id = EEikBidOk;
94             button = CMBUT { txt = "Ok"; };
95         },
96         DLG_BUTTON {
97             id = EEikBidCancel;
98             button = CMBUT { txt = "Cancel"; };
99         }
100     };
101 }
102
103 RESOURCE DIALOG r_perlui_yes_no_dialog
104 {
105     title = "Yes / No ?";
106     buttons = r_perlui_yes_no_buttons;
107 }
108
109 RESOURCE DLG_BUTTONS r_perlui_yes_no_buttons
110 {
111     buttons = {
112         DLG_BUTTON {
113             id = EEikBidOk;
114             button = CMBUT { txt = "Yes"; };
115         },
116         DLG_BUTTON {
117             id = EEikBidCancel;
118             button = CMBUT { txt = "No"; };
119         }
120     };
121 }
122
123
124