Fix compiler warning:
[p5sagit/p5-mst-13.2.git] / symbian / PerlUiUIQ.rss
CommitLineData
d0d72822 1/* Copyright (c) 200-2005 Nokia. All rights reserved. */
25ca88e0 2
d0d72822 3/* The PerlUi class is licensed under the same terms as Perl itself. */
4
5/* The UIQ definitions. */
25ca88e0 6
7NAME PERL
8
9#include <eikon.rh>
10#include <eikcore.rsg>
11#include <qikon.rh>
12
d0d72822 13#include "PerlUi.hrh"
25ca88e0 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{
d0d72822 27 menubar = r_perlui_menubar;
28 toolbar = r_perlui_menubar;
25ca88e0 29}
30
31
d0d72822 32RESOURCE MENU_BAR r_perlui_menubar
25ca88e0 33{
34 titles = {
35 MENU_TITLE
36 {
d0d72822 37 menu_pane = r_perlui_menu; txt = "Options";
25ca88e0 38 }
39 };
40}
41
42
d0d72822 43RESOURCE MENU_PANE r_perlui_menu
25ca88e0 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 {
25ca88e0 55 command = EPerlAppCommandOneLiner;
56 txt = "Oneliner";
57 },
58 MENU_ITEM {
59 command = EPerlAppCommandCopyright;
60 txt = "Copyright";
61 }
62 };
63}
64
d0d72822 65RESOURCE DIALOG r_perlui_oneliner_dialog
25ca88e0 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";
d0d72822 74 id = EPerlUiTextQueryInputField;
25ca88e0 75 control = EDWIN {
76 width = 10;
77 maxlength = 128;
78 };
79 }
80 };
81}
82
d0d72822 83RESOURCE DIALOG r_perlui_ok_cancel_dialog
25ca88e0 84{
85 title = "OK / Cancel ?";
d0d72822 86 buttons = r_perlui_ok_cancel_buttons;
25ca88e0 87}
88
d0d72822 89RESOURCE DLG_BUTTONS r_perlui_ok_cancel_buttons
25ca88e0 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
d0d72822 103RESOURCE DIALOG r_perlui_yes_no_dialog
25ca88e0 104{
105 title = "Yes / No ?";
d0d72822 106 buttons = r_perlui_yes_no_buttons;
25ca88e0 107}
108
d0d72822 109RESOURCE DLG_BUTTONS r_perlui_yes_no_buttons
25ca88e0 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