author | Sebastian Brannstrom <sebastianb@symbian.org> |
Mon, 15 Nov 2010 17:25:39 +0000 | |
branch | newlist |
changeset 350 | 9c4fd008e20f |
parent 349 | 4538abb763e4 |
child 352 | 31f9864a37ac |
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 = EPodcastMarkAllPlayed; |
|
41 |
txt = STRING_r_view_mark_all_played_cmd; |
|
42 |
}, |
|
130
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
43 |
MENU_ITEM |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
44 |
{ |
2 | 45 |
command = EPodcastAbout; |
46 |
txt = STRING_r_view_about_cmd; |
|
47 |
}, |
|
48 |
MENU_ITEM |
|
49 |
{ |
|
50 |
command = EPodcastHelp; |
|
51 |
txt = STRING_r_view_help; |
|
52 |
}, |
|
53 |
MENU_ITEM |
|
54 |
{ |
|
55 |
command = EAknSoftkeyExit; |
|
56 |
txt = STRING_r_exit_cmd; |
|
57 |
} |
|
58 |
}; |
|
59 |
} |
|
60 |
||
61 |
RESOURCE AVKON_TOOLBAR r_showsview_toolbar |
|
62 |
{ |
|
63 |
flags = KAknToolbarFixed; |
|
64 |
items = |
|
65 |
{ |
|
66 |
TBAR_CTRL |
|
67 |
{ |
|
68 |
type = EAknCtButton; |
|
347
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
69 |
id = EPodcastUpdateAllFeeds; |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
70 |
control = AVKON_BUTTON |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
71 |
{ |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
72 |
states = |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
73 |
{ |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
74 |
AVKON_BUTTON_STATE |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
75 |
{ |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
76 |
bmpfile = APPICON; |
350
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
77 |
bmpid = EMbmPodcastUpdate_all; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
78 |
bmpmask = EMbmPodcastUpdate_all_mask; |
347
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
79 |
//txt = STRING_r_update_feed_short_cmd; |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
80 |
helptxt = STRING_r_update_all_feeds_cmd; |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
81 |
} |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
82 |
}; |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
83 |
}; |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
84 |
}, |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
85 |
TBAR_CTRL |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
86 |
{ |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
87 |
type = EAknCtButton; |
2 | 88 |
id = EPodcastUpdateFeed; |
89 |
control = AVKON_BUTTON |
|
90 |
{ |
|
91 |
states = |
|
92 |
{ |
|
93 |
AVKON_BUTTON_STATE |
|
94 |
{ |
|
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
95 |
bmpfile = APPICON; |
350
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
96 |
bmpid = EMbmPodcastUpdate; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
97 |
bmpmask = EMbmPodcastUpdate_mask; |
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
98 |
//txt = STRING_r_update_feed_short_cmd; |
2 | 99 |
helptxt = STRING_r_update_feed_cmd; |
100 |
} |
|
101 |
}; |
|
102 |
}; |
|
103 |
}, |
|
104 |
TBAR_CTRL |
|
105 |
{ |
|
106 |
type = EAknCtButton; |
|
107 |
id = EPodcastCancelUpdateAllFeeds; |
|
108 |
control = AVKON_BUTTON |
|
109 |
{ |
|
110 |
states = |
|
111 |
{ |
|
112 |
AVKON_BUTTON_STATE |
|
113 |
{ |
|
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
114 |
bmpfile = APPICON; |
350
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
115 |
bmpid = EMbmPodcastUpdate_cancel; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
116 |
bmpmask = EMbmPodcastUpdate_cancel_mask; |
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
117 |
//txt = STRING_r_cancel_update_all_feeds_short_cmd; |
2 | 118 |
helptxt = STRING_r_cancel_update_all_feeds_cmd; |
119 |
} |
|
120 |
}; |
|
121 |
}; |
|
54
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
122 |
}, |
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
123 |
// 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
|
124 |
// 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
|
125 |
TBAR_CTRL |
2 | 126 |
{ |
127 |
type = EAknCtButton; |
|
128 |
id = EPodcastDownloadShow; |
|
129 |
control = AVKON_BUTTON |
|
130 |
{ |
|
131 |
states = |
|
132 |
{ |
|
133 |
AVKON_BUTTON_STATE |
|
134 |
{ |
|
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
135 |
bmpfile = APPICON; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
136 |
bmpid = EMbmPodcastDownload; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
137 |
bmpmask = EMbmPodcastDownload_mask; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
138 |
//txt = STRING_r_view_download_show_cmd; |
2 | 139 |
helptxt = STRING_r_view_download_show_cmd; |
140 |
} |
|
141 |
}; |
|
142 |
}; |
|
54
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
143 |
} |
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
144 |
, |
2 | 145 |
TBAR_CTRL |
146 |
{ |
|
147 |
type = EAknCtButton; |
|
148 |
id =EPodcastDeleteShow; |
|
149 |
control = AVKON_BUTTON |
|
150 |
{ |
|
151 |
states = |
|
152 |
{ |
|
153 |
AVKON_BUTTON_STATE |
|
154 |
{ |
|
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
155 |
bmpfile = APPICON; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
156 |
bmpid = EMbmPodcastDelete; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
157 |
bmpmask = EMbmPodcastDelete_mask; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
158 |
//txt = STRING_r_view_delete_show_cmd; |
2 | 159 |
helptxt = STRING_r_view_delete_show_cmd; |
160 |
} |
|
161 |
}; |
|
162 |
}; |
|
163 |
}, |
|
164 |
TBAR_CTRL |
|
350
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
165 |
{ |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
166 |
type = EAknCtButton; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
167 |
id = EPodcastDownloadAll; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
168 |
control = AVKON_BUTTON |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
169 |
{ |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
170 |
states = |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
171 |
{ |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
172 |
AVKON_BUTTON_STATE |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
173 |
{ |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
174 |
bmpfile = APPICON; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
175 |
bmpid = EMbmPodcastDownload_all; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
176 |
bmpmask = EMbmPodcastDownload_all_mask; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
177 |
//txt = STRING_r_cancel_update_all_feeds_short_cmd; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
178 |
helptxt = STRING_r_download_all_shows; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
179 |
} |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
180 |
}; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
181 |
}; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
182 |
}, |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
183 |
TBAR_CTRL |
2 | 184 |
{ |
185 |
type = EAknCtButton; |
|
186 |
id = EPodcastMarkAsPlayed; |
|
187 |
control = AVKON_BUTTON |
|
188 |
{ |
|
189 |
states = |
|
190 |
{ |
|
191 |
AVKON_BUTTON_STATE |
|
192 |
{ |
|
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
193 |
bmpfile = APPICON; |
350
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
194 |
bmpid = EMbmPodcastMark_old; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
195 |
bmpmask = EMbmPodcastMark_old_mask; |
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
196 |
//txt = STRING_r_view_mark_as_played_cmd_short; |
2 | 197 |
helptxt = STRING_r_view_mark_as_played_cmd_short; |
198 |
} |
|
199 |
}; |
|
200 |
}; |
|
201 |
}, |
|
202 |
TBAR_CTRL |
|
203 |
{ |
|
204 |
type = EAknCtButton; |
|
205 |
id =EPodcastMarkAsUnplayed; |
|
206 |
control = AVKON_BUTTON |
|
207 |
{ |
|
208 |
states = |
|
209 |
{ |
|
210 |
AVKON_BUTTON_STATE |
|
211 |
{ |
|
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
212 |
bmpfile = APPICON; |
350
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
213 |
bmpid = EMbmPodcastMark_new; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
214 |
bmpmask = EMbmPodcastMark_new_mask; |
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
215 |
//txt = STRING_r_view_mark_as_unplayed_cmd_short; |
2 | 216 |
helptxt = STRING_r_view_mark_as_unplayed_cmd_short; |
217 |
} |
|
218 |
}; |
|
219 |
}; |
|
220 |
} |
|
221 |
}; |
|
222 |
} |
|
223 |
||
224 |
RESOURCE STYLUS_POPUP_MENU r_showview_popup_menu |
|
225 |
{ |
|
226 |
items = |
|
227 |
{ |
|
228 |
STYLUS_POPUP_MENU_ITEM |
|
229 |
{ |
|
230 |
txt = STRING_r_view_show_info_cmd; |
|
231 |
command = EPodcastShowInfo; |
|
350
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
232 |
}, |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
233 |
STYLUS_POPUP_MENU_ITEM |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
234 |
{ |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
235 |
txt = STRING_r_view_mark_as_unplayed_cmd_short; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
236 |
command = EPodcastMarkAsUnplayed; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
237 |
}, |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
238 |
STYLUS_POPUP_MENU_ITEM |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
239 |
{ |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
240 |
txt = STRING_r_view_mark_as_played_cmd_short; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
241 |
command = EPodcastMarkAsPlayed; |
29 | 242 |
} |
350
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
349
diff
changeset
|
243 |
|
2 | 244 |
}; |
245 |
} |
|
246 |
||
247 |
RESOURCE DIALOG r_show_info_note |
|
248 |
{ |
|
249 |
flags = EAknDialogGenericQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
250 |
buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
251 |
items= |
|
252 |
{ |
|
253 |
||
254 |
DLG_LINE |
|
255 |
{ |
|
256 |
type = EAknCtPopupHeadingPane; |
|
257 |
id = EAknMessageQueryHeaderId; |
|
258 |
itemflags = EEikDlgItemNonFocusing; |
|
259 |
control = AVKON_HEADING |
|
260 |
{ |
|
261 |
headinglayout=R_AVKON_LIST_HEADING_PANE_POPUPS; |
|
262 |
}; |
|
263 |
}, |
|
264 |
DLG_LINE |
|
265 |
{ |
|
266 |
type = EAknCtMessageQuery; |
|
267 |
id = EAknMessageQueryContentId; |
|
268 |
control = AVKON_MESSAGE_QUERY |
|
269 |
{ |
|
270 |
||
271 |
}; |
|
24
ca50ea154990
Moved search result title to navipane. Fixed but 1832
teknolog
parents:
23
diff
changeset
|
272 |
} |
2 | 273 |
}; |
274 |
} |
|
275 |