author | Sebastian Brannstrom <sebastianb@symbian.org> |
Wed, 07 Jul 2010 14:19:21 +0100 | |
branch | symbian1 |
changeset 164 | 000f9fc147b2 |
parent 130 | 92572a695a1d |
child 176 | 1c8b56cb6409 |
child 261 | 55305e953f12 |
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 |
{ |
|
108 |
//bmpfile = AVKON_BITMAP_FILE; |
|
109 |
//bmpid = EMbmAvkonQgn_indi_find_goto; |
|
110 |
txt = STRING_r_update_feed_short_cmd; |
|
111 |
helptxt = STRING_r_update_feed_cmd; |
|
112 |
} |
|
113 |
}; |
|
114 |
}; |
|
115 |
}, |
|
116 |
TBAR_CTRL |
|
117 |
{ |
|
118 |
type = EAknCtButton; |
|
119 |
id = EPodcastCancelUpdateAllFeeds; |
|
120 |
control = AVKON_BUTTON |
|
121 |
{ |
|
122 |
states = |
|
123 |
{ |
|
124 |
AVKON_BUTTON_STATE |
|
125 |
{ |
|
126 |
//bmpfile = AVKON_BITMAP_FILE; |
|
127 |
//bmpid = EMbmAvkonQgn_indi_find_goto; |
|
128 |
txt = STRING_r_cancel_update_all_feeds_short_cmd; |
|
129 |
helptxt = STRING_r_cancel_update_all_feeds_cmd; |
|
130 |
} |
|
131 |
}; |
|
132 |
}; |
|
54
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
133 |
}, |
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
134 |
// 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
|
135 |
// 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
|
136 |
TBAR_CTRL |
2 | 137 |
{ |
138 |
type = EAknCtButton; |
|
139 |
id = EPodcastDownloadShow; |
|
140 |
control = AVKON_BUTTON |
|
141 |
{ |
|
142 |
states = |
|
143 |
{ |
|
144 |
AVKON_BUTTON_STATE |
|
145 |
{ |
|
146 |
//bmpfile = AVKON_BITMAP_FILE; |
|
147 |
//bmpid = EMbmAvkonQgn_indi_find_goto; |
|
148 |
txt = STRING_r_view_download_show_cmd; |
|
149 |
helptxt = STRING_r_view_download_show_cmd; |
|
150 |
} |
|
151 |
}; |
|
152 |
}; |
|
54
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
153 |
} |
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
154 |
, |
2 | 155 |
TBAR_CTRL |
156 |
{ |
|
157 |
type = EAknCtButton; |
|
158 |
id =EPodcastDeleteShow; |
|
159 |
control = AVKON_BUTTON |
|
160 |
{ |
|
161 |
states = |
|
162 |
{ |
|
163 |
AVKON_BUTTON_STATE |
|
164 |
{ |
|
165 |
//bmpfile = AVKON_BITMAP_FILE; |
|
166 |
//bmpid = EMbmAvkonQgn_indi_find_goto; |
|
167 |
txt = STRING_r_view_delete_show_cmd; |
|
168 |
helptxt = STRING_r_view_delete_show_cmd; |
|
169 |
} |
|
170 |
}; |
|
171 |
}; |
|
172 |
}, |
|
173 |
TBAR_CTRL |
|
174 |
{ |
|
175 |
type = EAknCtButton; |
|
176 |
id = EPodcastMarkAsPlayed; |
|
177 |
control = AVKON_BUTTON |
|
178 |
{ |
|
179 |
states = |
|
180 |
{ |
|
181 |
AVKON_BUTTON_STATE |
|
182 |
{ |
|
183 |
//bmpfile = AVKON_BITMAP_FILE; |
|
184 |
//bmpid = EMbmAvkonQgn_indi_find_goto; |
|
185 |
txt = STRING_r_view_mark_as_played_cmd_short; |
|
186 |
helptxt = STRING_r_view_mark_as_played_cmd_short; |
|
187 |
} |
|
188 |
}; |
|
189 |
}; |
|
190 |
}, |
|
191 |
TBAR_CTRL |
|
192 |
{ |
|
193 |
type = EAknCtButton; |
|
194 |
id =EPodcastMarkAsUnplayed; |
|
195 |
control = AVKON_BUTTON |
|
196 |
{ |
|
197 |
states = |
|
198 |
{ |
|
199 |
AVKON_BUTTON_STATE |
|
200 |
{ |
|
201 |
//bmpfile = AVKON_BITMAP_FILE; |
|
202 |
//bmpid = EMbmAvkonQgn_indi_find_goto; |
|
203 |
txt = STRING_r_view_mark_as_unplayed_cmd_short; |
|
204 |
helptxt = STRING_r_view_mark_as_unplayed_cmd_short; |
|
205 |
} |
|
206 |
}; |
|
207 |
}; |
|
208 |
} |
|
209 |
}; |
|
210 |
} |
|
211 |
||
212 |
RESOURCE STYLUS_POPUP_MENU r_showview_popup_menu |
|
213 |
{ |
|
214 |
items = |
|
215 |
{ |
|
216 |
STYLUS_POPUP_MENU_ITEM |
|
217 |
{ |
|
218 |
txt = STRING_r_view_show_info_cmd; |
|
219 |
command = EPodcastShowInfo; |
|
29 | 220 |
} |
2 | 221 |
}; |
222 |
} |
|
223 |
||
224 |
RESOURCE DIALOG r_show_info_note |
|
225 |
{ |
|
226 |
flags = EAknDialogGenericQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
227 |
buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
228 |
items= |
|
229 |
{ |
|
230 |
||
231 |
DLG_LINE |
|
232 |
{ |
|
233 |
type = EAknCtPopupHeadingPane; |
|
234 |
id = EAknMessageQueryHeaderId; |
|
235 |
itemflags = EEikDlgItemNonFocusing; |
|
236 |
control = AVKON_HEADING |
|
237 |
{ |
|
238 |
headinglayout=R_AVKON_LIST_HEADING_PANE_POPUPS; |
|
239 |
}; |
|
240 |
}, |
|
241 |
DLG_LINE |
|
242 |
{ |
|
243 |
type = EAknCtMessageQuery; |
|
244 |
id = EAknMessageQueryContentId; |
|
245 |
control = AVKON_MESSAGE_QUERY |
|
246 |
{ |
|
247 |
||
248 |
}; |
|
24
ca50ea154990
Moved search result title to navipane. Fixed but 1832
teknolog
parents:
23
diff
changeset
|
249 |
} |
2 | 250 |
}; |
251 |
} |
|
252 |