blob: 757fb337409850d155a90cd870ca19287be2d769 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
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
{
}
|