author | Sebastian Brannstrom <sebastianb@symbian.org> |
Fri, 22 Oct 2010 14:28:27 +0100 | |
branch | symbian1 |
changeset 266 | ff6cd24e77e2 |
parent 261 | 55305e953f12 |
child 347 | b8d687bb7ca1 |
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 |
}, |
|
164
000f9fc147b2
Catch up with default branch; New v 27 SIS
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
130
diff
changeset
|
43 |
// MENU_ITEM |
000f9fc147b2
Catch up with default branch; New v 27 SIS
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
130
diff
changeset
|
44 |
// { |
000f9fc147b2
Catch up with default branch; New v 27 SIS
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
130
diff
changeset
|
45 |
// command = EPodcastFilterShows; |
000f9fc147b2
Catch up with default branch; New v 27 SIS
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
130
diff
changeset
|
46 |
// txt = STRING_r_view_filter_shows_cmd; |
000f9fc147b2
Catch up with default branch; New v 27 SIS
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
130
diff
changeset
|
47 |
// cascade = r_filtershows_menu; |
000f9fc147b2
Catch up with default branch; New v 27 SIS
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
130
diff
changeset
|
48 |
// }, |
130
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
49 |
MENU_ITEM |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
50 |
{ |
2 | 51 |
command = EPodcastAbout; |
52 |
txt = STRING_r_view_about_cmd; |
|
53 |
}, |
|
54 |
MENU_ITEM |
|
55 |
{ |
|
56 |
command = EPodcastHelp; |
|
57 |
txt = STRING_r_view_help; |
|
58 |
}, |
|
59 |
MENU_ITEM |
|
60 |
{ |
|
61 |
command = EAknSoftkeyExit; |
|
62 |
txt = STRING_r_exit_cmd; |
|
63 |
} |
|
64 |
}; |
|
65 |
} |
|
66 |
||
130
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
67 |
RESOURCE MENU_PANE r_filtershows_menu |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
68 |
{ |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
69 |
items = { |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
70 |
MENU_ITEM |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
71 |
{ |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
72 |
command = EPodcastFilterShowsAll; |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
73 |
txt = STRING_r_view_filter_all_shows_cmd; |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
74 |
}, |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
75 |
/* MENU_ITEM |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
76 |
{ |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
77 |
command = EPodcastFilterShowsNew; |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
78 |
txt = STRING_r_view_filter_new_shows_cmd; |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
79 |
}, |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
80 |
MENU_ITEM |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
81 |
{ |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
82 |
command = EPodcastFilterShowsDownloaded; |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
83 |
txt = STRING_r_view_filter_downloaded_shows_cmd; |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
84 |
},*/ |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
85 |
MENU_ITEM |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
86 |
{ |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
87 |
command = EPodcastFilterShowsNewAndDownloaded; |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
88 |
txt = STRING_r_view_filter_downloaded_new_shows_cmd; |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
89 |
} |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
90 |
}; |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
91 |
} |
92572a695a1d
Added new experimental feature to show only new and downloaded shows; Updated SIS files
teknolog
parents:
70
diff
changeset
|
92 |
|
2 | 93 |
RESOURCE AVKON_TOOLBAR r_showsview_toolbar |
94 |
{ |
|
95 |
flags = KAknToolbarFixed; |
|
96 |
items = |
|
97 |
{ |
|
98 |
TBAR_CTRL |
|
99 |
{ |
|
100 |
type = EAknCtButton; |
|
101 |
id = EPodcastUpdateFeed; |
|
102 |
control = AVKON_BUTTON |
|
103 |
{ |
|
104 |
states = |
|
105 |
{ |
|
106 |
AVKON_BUTTON_STATE |
|
107 |
{ |
|
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
108 |
bmpfile = APPICON; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
109 |
bmpid = EMbmPodcastReload; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
110 |
bmpmask = EMbmPodcastReload_mask; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
111 |
//txt = STRING_r_update_feed_short_cmd; |
2 | 112 |
helptxt = STRING_r_update_feed_cmd; |
113 |
} |
|
114 |
}; |
|
115 |
}; |
|
116 |
}, |
|
117 |
TBAR_CTRL |
|
118 |
{ |
|
119 |
type = EAknCtButton; |
|
120 |
id = EPodcastCancelUpdateAllFeeds; |
|
121 |
control = AVKON_BUTTON |
|
122 |
{ |
|
123 |
states = |
|
124 |
{ |
|
125 |
AVKON_BUTTON_STATE |
|
126 |
{ |
|
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
127 |
bmpfile = APPICON; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
128 |
bmpid = EMbmPodcastCancel; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
129 |
bmpmask = EMbmPodcastCancel_mask; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
130 |
//txt = STRING_r_cancel_update_all_feeds_short_cmd; |
2 | 131 |
helptxt = STRING_r_cancel_update_all_feeds_cmd; |
132 |
} |
|
133 |
}; |
|
134 |
}; |
|
54
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
135 |
}, |
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
136 |
// 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
|
137 |
// 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
|
138 |
TBAR_CTRL |
2 | 139 |
{ |
140 |
type = EAknCtButton; |
|
141 |
id = EPodcastDownloadShow; |
|
142 |
control = AVKON_BUTTON |
|
143 |
{ |
|
144 |
states = |
|
145 |
{ |
|
146 |
AVKON_BUTTON_STATE |
|
147 |
{ |
|
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
148 |
bmpfile = APPICON; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
149 |
bmpid = EMbmPodcastDownload; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
150 |
bmpmask = EMbmPodcastDownload_mask; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
151 |
//txt = STRING_r_view_download_show_cmd; |
2 | 152 |
helptxt = STRING_r_view_download_show_cmd; |
153 |
} |
|
154 |
}; |
|
155 |
}; |
|
54
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
156 |
} |
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
157 |
, |
2 | 158 |
TBAR_CTRL |
159 |
{ |
|
160 |
type = EAknCtButton; |
|
161 |
id =EPodcastDeleteShow; |
|
162 |
control = AVKON_BUTTON |
|
163 |
{ |
|
164 |
states = |
|
165 |
{ |
|
166 |
AVKON_BUTTON_STATE |
|
167 |
{ |
|
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
168 |
bmpfile = APPICON; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
169 |
bmpid = EMbmPodcastDelete; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
170 |
bmpmask = EMbmPodcastDelete_mask; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
171 |
//txt = STRING_r_view_delete_show_cmd; |
2 | 172 |
helptxt = STRING_r_view_delete_show_cmd; |
173 |
} |
|
174 |
}; |
|
175 |
}; |
|
176 |
}, |
|
177 |
TBAR_CTRL |
|
178 |
{ |
|
179 |
type = EAknCtButton; |
|
180 |
id = EPodcastMarkAsPlayed; |
|
181 |
control = AVKON_BUTTON |
|
182 |
{ |
|
183 |
states = |
|
184 |
{ |
|
185 |
AVKON_BUTTON_STATE |
|
186 |
{ |
|
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
187 |
bmpfile = APPICON; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
188 |
bmpid = EMbmPodcastMarkold; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
189 |
bmpmask = EMbmPodcastMarkold_mask; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
190 |
//txt = STRING_r_view_mark_as_played_cmd_short; |
2 | 191 |
helptxt = STRING_r_view_mark_as_played_cmd_short; |
192 |
} |
|
193 |
}; |
|
194 |
}; |
|
195 |
}, |
|
196 |
TBAR_CTRL |
|
197 |
{ |
|
198 |
type = EAknCtButton; |
|
199 |
id =EPodcastMarkAsUnplayed; |
|
200 |
control = AVKON_BUTTON |
|
201 |
{ |
|
202 |
states = |
|
203 |
{ |
|
204 |
AVKON_BUTTON_STATE |
|
205 |
{ |
|
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
206 |
bmpfile = APPICON; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
207 |
bmpid = EMbmPodcastMarknew; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
208 |
bmpmask = EMbmPodcastMarknew_mask; |
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
164
diff
changeset
|
209 |
//txt = STRING_r_view_mark_as_unplayed_cmd_short; |
2 | 210 |
helptxt = STRING_r_view_mark_as_unplayed_cmd_short; |
211 |
} |
|
212 |
}; |
|
213 |
}; |
|
214 |
} |
|
215 |
}; |
|
216 |
} |
|
217 |
||
218 |
RESOURCE STYLUS_POPUP_MENU r_showview_popup_menu |
|
219 |
{ |
|
220 |
items = |
|
221 |
{ |
|
222 |
STYLUS_POPUP_MENU_ITEM |
|
223 |
{ |
|
224 |
txt = STRING_r_view_show_info_cmd; |
|
225 |
command = EPodcastShowInfo; |
|
29 | 226 |
} |
2 | 227 |
}; |
228 |
} |
|
229 |
||
230 |
RESOURCE DIALOG r_show_info_note |
|
231 |
{ |
|
232 |
flags = EAknDialogGenericQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
233 |
buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
234 |
items= |
|
235 |
{ |
|
236 |
||
237 |
DLG_LINE |
|
238 |
{ |
|
239 |
type = EAknCtPopupHeadingPane; |
|
240 |
id = EAknMessageQueryHeaderId; |
|
241 |
itemflags = EEikDlgItemNonFocusing; |
|
242 |
control = AVKON_HEADING |
|
243 |
{ |
|
244 |
headinglayout=R_AVKON_LIST_HEADING_PANE_POPUPS; |
|
245 |
}; |
|
246 |
}, |
|
247 |
DLG_LINE |
|
248 |
{ |
|
249 |
type = EAknCtMessageQuery; |
|
250 |
id = EAknMessageQueryContentId; |
|
251 |
control = AVKON_MESSAGE_QUERY |
|
252 |
{ |
|
253 |
||
254 |
}; |
|
24
ca50ea154990
Moved search result title to navipane. Fixed but 1832
teknolog
parents:
23
diff
changeset
|
255 |
} |
2 | 256 |
}; |
257 |
} |
|
258 |