author | Sebastian Brannstrom <sebastianb@symbian.org> |
Sun, 31 Oct 2010 14:24:15 +0000 | |
branch | RCL_3 |
changeset 322 | a6fa81d2f884 |
parent 290 | 0d5e69a7cda9 |
child 367 | 4b75876aa85a |
permissions | -rw-r--r-- |
2 | 1 |
/* |
2 |
* Copyright (c) 2007-2010 Sebastian Brannstrom, Lars Persson, EmbedDev AB |
|
3 |
* |
|
4 |
* All rights reserved. |
|
5 |
* This component and the accompanying materials are made available |
|
6 |
* under the terms of the License "Eclipse Public License v1.0" |
|
7 |
* which accompanies this distribution, and is available |
|
8 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 |
* |
|
10 |
* Initial Contributors: |
|
11 |
* EmbedDev AB - initial contribution. |
|
12 |
* |
|
13 |
* Contributors: |
|
14 |
* |
|
15 |
* Description: |
|
16 |
* |
|
17 |
*/ |
|
18 |
||
19 |
RESOURCE AVKON_VIEW r_podcast_showsview |
|
20 |
{ |
|
21 |
menubar = r_podcast_showsview_menubar; |
|
22 |
cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
23 |
toolbar = r_showsview_toolbar; |
|
24 |
} |
|
25 |
||
26 |
RESOURCE MENU_BAR r_podcast_showsview_menubar |
|
27 |
{ |
|
28 |
titles = |
|
29 |
{ |
|
30 |
MENU_TITLE { menu_pane = r_podcast_showsview_menu; txt = "Shows"; } |
|
31 |
}; |
|
32 |
} |
|
33 |
||
34 |
RESOURCE MENU_PANE r_podcast_showsview_menu |
|
35 |
{ |
|
36 |
items = |
|
37 |
{ |
|
38 |
MENU_ITEM |
|
39 |
{ |
|
40 |
command = EPodcastAbout; |
|
41 |
txt = STRING_r_view_about_cmd; |
|
42 |
}, |
|
43 |
MENU_ITEM |
|
44 |
{ |
|
45 |
command = EPodcastHelp; |
|
46 |
txt = STRING_r_view_help; |
|
47 |
}, |
|
48 |
MENU_ITEM |
|
49 |
{ |
|
50 |
command = EAknSoftkeyExit; |
|
51 |
txt = STRING_r_exit_cmd; |
|
243
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
52 |
}, |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
53 |
MENU_ITEM |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
54 |
{ |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
55 |
txt = STRING_r_view_show_info_cmd; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
56 |
command = EPodcastShowInfo; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
57 |
flags = EEikMenuItemSpecific; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
58 |
}, |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
59 |
MENU_ITEM |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
60 |
{ |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
61 |
txt = STRING_r_view_mark_as_unplayed_cmd_short; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
62 |
command = EPodcastMarkAsUnplayed; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
63 |
flags = EEikMenuItemSpecific; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
64 |
}, |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
65 |
MENU_ITEM |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
66 |
{ |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
67 |
txt = STRING_r_view_mark_as_played_cmd_short; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
68 |
command = EPodcastMarkAsPlayed; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
69 |
flags = EEikMenuItemSpecific; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
70 |
}, |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
71 |
MENU_ITEM |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
72 |
{ |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
73 |
txt = STRING_r_view_download_show_cmd; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
74 |
command = EPodcastDownloadShow; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
75 |
flags = EEikMenuItemSpecific; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
76 |
}, |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
77 |
MENU_ITEM |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
78 |
{ |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
79 |
txt = STRING_r_view_delete_show_cmd; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
80 |
command = EPodcastDeleteShow; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
81 |
flags = EEikMenuItemSpecific; |
2 | 82 |
} |
83 |
}; |
|
84 |
} |
|
85 |
||
86 |
RESOURCE AVKON_TOOLBAR r_showsview_toolbar |
|
87 |
{ |
|
88 |
flags = KAknToolbarFixed; |
|
89 |
items = |
|
90 |
{ |
|
91 |
TBAR_CTRL |
|
92 |
{ |
|
93 |
type = EAknCtButton; |
|
94 |
id = EPodcastUpdateFeed; |
|
95 |
control = AVKON_BUTTON |
|
96 |
{ |
|
97 |
states = |
|
98 |
{ |
|
99 |
AVKON_BUTTON_STATE |
|
100 |
{ |
|
264
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
101 |
bmpfile = APPICON; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
102 |
bmpid = EMbmPodcastReload; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
103 |
bmpmask = EMbmPodcastReload_mask; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
104 |
//txt = STRING_r_update_feed_short_cmd; |
2 | 105 |
helptxt = STRING_r_update_feed_cmd; |
106 |
} |
|
107 |
}; |
|
108 |
}; |
|
109 |
}, |
|
110 |
TBAR_CTRL |
|
111 |
{ |
|
112 |
type = EAknCtButton; |
|
113 |
id = EPodcastCancelUpdateAllFeeds; |
|
114 |
control = AVKON_BUTTON |
|
115 |
{ |
|
116 |
states = |
|
117 |
{ |
|
118 |
AVKON_BUTTON_STATE |
|
119 |
{ |
|
264
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
120 |
bmpfile = APPICON; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
121 |
bmpid = EMbmPodcastCancel; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
122 |
bmpmask = EMbmPodcastCancel_mask; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
123 |
//txt = STRING_r_cancel_update_all_feeds_short_cmd; |
2 | 124 |
helptxt = STRING_r_cancel_update_all_feeds_cmd; |
125 |
} |
|
126 |
}; |
|
127 |
}; |
|
54
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
128 |
}, |
290
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
129 |
TBAR_CTRL |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
130 |
{ |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
131 |
type = EAknCtButton; |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
132 |
id = EPodcastMarkAllPlayed; |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
133 |
control = AVKON_BUTTON |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
134 |
{ |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
135 |
states = |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
136 |
{ |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
137 |
AVKON_BUTTON_STATE |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
138 |
{ |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
139 |
bmpfile = APPICON; |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
140 |
bmpid = EMbmPodcastMarkold_all; |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
141 |
bmpmask = EMbmPodcastMarkold_all_mask; |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
142 |
//txt = STRING_r_cancel_update_all_feeds_short_cmd; |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
143 |
helptxt = STRING_r_view_mark_all_played_cmd; |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
144 |
} |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
145 |
}; |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
146 |
}; |
0d5e69a7cda9
Added Mark all played button in show view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
264
diff
changeset
|
147 |
}, |
54
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
148 |
// we keep the download toolbar button in S^3, but always disable it |
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
149 |
// because there are drawing issues with only one item in the toolbar |
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
150 |
TBAR_CTRL |
2 | 151 |
{ |
152 |
type = EAknCtButton; |
|
153 |
id = EPodcastDownloadShow; |
|
154 |
control = AVKON_BUTTON |
|
155 |
{ |
|
156 |
states = |
|
157 |
{ |
|
158 |
AVKON_BUTTON_STATE |
|
159 |
{ |
|
264
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
160 |
bmpfile = APPICON; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
161 |
bmpid = EMbmPodcastDownload; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
162 |
bmpmask = EMbmPodcastDownload_mask; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
163 |
//txt = STRING_r_view_download_show_cmd; |
2 | 164 |
helptxt = STRING_r_view_download_show_cmd; |
165 |
} |
|
166 |
}; |
|
167 |
}; |
|
54
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
168 |
} |
2 | 169 |
}; |
170 |
} |
|
171 |
||
172 |
RESOURCE DIALOG r_show_info_note |
|
173 |
{ |
|
174 |
flags = EAknDialogGenericQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
175 |
buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
176 |
items= |
|
177 |
{ |
|
178 |
||
179 |
DLG_LINE |
|
180 |
{ |
|
181 |
type = EAknCtPopupHeadingPane; |
|
182 |
id = EAknMessageQueryHeaderId; |
|
183 |
itemflags = EEikDlgItemNonFocusing; |
|
184 |
control = AVKON_HEADING |
|
185 |
{ |
|
186 |
headinglayout=R_AVKON_LIST_HEADING_PANE_POPUPS; |
|
187 |
}; |
|
188 |
}, |
|
189 |
DLG_LINE |
|
190 |
{ |
|
191 |
type = EAknCtMessageQuery; |
|
192 |
id = EAknMessageQueryContentId; |
|
193 |
control = AVKON_MESSAGE_QUERY |
|
194 |
{ |
|
195 |
||
196 |
}; |
|
24
ca50ea154990
Moved search result title to navipane. Fixed but 1832
teknolog
parents:
23
diff
changeset
|
197 |
} |
2 | 198 |
}; |
199 |
} |
|
200 |