author | Sebastian Brannstrom <sebastianb@symbian.org> |
Fri, 19 Nov 2010 00:16:55 +0000 | |
branch | symbian1 |
changeset 373 | f5de49b27caf |
parent 353 | 33963ffd3082 |
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_queueview |
|
20 |
{ |
|
21 |
menubar = r_podcast_queueview_menubar; |
|
336
3d6c1417e8bd
Merged all the later Symbian3 updates into Symbian1 branch; new SIS v. 1.00.32
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
261
diff
changeset
|
22 |
cba = r_podcast_cba; |
2 | 23 |
toolbar = r_queueview_toolbar; |
24 |
} |
|
25 |
||
26 |
RESOURCE MENU_BAR r_podcast_queueview_menubar |
|
27 |
{ |
|
28 |
titles = |
|
29 |
{ |
|
30 |
MENU_TITLE { menu_pane = r_podcast_queueview_menu; txt = ""; } |
|
31 |
}; |
|
32 |
} |
|
33 |
||
34 |
RESOURCE MENU_PANE r_podcast_queueview_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; |
|
52 |
} |
|
53 |
}; |
|
54 |
} |
|
55 |
||
56 |
RESOURCE AVKON_TOOLBAR r_queueview_toolbar |
|
57 |
{ |
|
58 |
flags = KAknToolbarFixed; |
|
59 |
items = |
|
60 |
{ |
|
61 |
||
62 |
TBAR_CTRL |
|
63 |
{ |
|
64 |
type = EAknCtButton; |
|
65 |
id =EPodcastSuspendDownloads; |
|
66 |
control = AVKON_BUTTON |
|
67 |
{ |
|
68 |
states = |
|
69 |
{ |
|
70 |
AVKON_BUTTON_STATE |
|
71 |
{ |
|
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
182
diff
changeset
|
72 |
bmpfile = APPICON; |
350
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
347
diff
changeset
|
73 |
bmpid = EMbmPodcastDownload_pause; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
347
diff
changeset
|
74 |
bmpmask = EMbmPodcastDownload_pause_mask; |
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
182
diff
changeset
|
75 |
//txt = STRING_r_suspend_download_cmd; |
2 | 76 |
helptxt = STRING_r_view_stop_downloads_cmd; |
77 |
} |
|
78 |
}; |
|
79 |
}; |
|
80 |
}, |
|
81 |
TBAR_CTRL |
|
82 |
{ |
|
83 |
type = EAknCtButton; |
|
84 |
id =EPodcastResumeDownloads; |
|
85 |
control = AVKON_BUTTON |
|
86 |
{ |
|
87 |
states = |
|
88 |
{ |
|
89 |
AVKON_BUTTON_STATE |
|
90 |
{ |
|
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
182
diff
changeset
|
91 |
bmpfile = APPICON; |
350
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
347
diff
changeset
|
92 |
bmpid = EMbmPodcastDownload_play; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
347
diff
changeset
|
93 |
bmpmask = EMbmPodcastDownload_play_mask; |
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
182
diff
changeset
|
94 |
//txt = STRING_r_view_resume_short_dls_cmd; |
2 | 95 |
helptxt = STRING_r_view_resume_downloads_cmd; |
96 |
} |
|
97 |
}; |
|
98 |
}; |
|
99 |
}, |
|
100 |
TBAR_CTRL |
|
101 |
{ |
|
102 |
type = EAknCtButton; |
|
103 |
id = EPodcastRemoveDownload; |
|
104 |
control = AVKON_BUTTON |
|
105 |
{ |
|
106 |
states = |
|
107 |
{ |
|
108 |
AVKON_BUTTON_STATE |
|
109 |
{ |
|
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
182
diff
changeset
|
110 |
bmpfile = APPICON; |
350
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
347
diff
changeset
|
111 |
bmpid = EMbmPodcastDelete; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
347
diff
changeset
|
112 |
bmpmask = EMbmPodcastDelete_mask; |
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
182
diff
changeset
|
113 |
//txt = STRING_r_view_remove_download_short_cmd; |
2 | 114 |
helptxt = STRING_r_view_remove_download_cmd; |
115 |
} |
|
116 |
}; |
|
117 |
}; |
|
118 |
}, |
|
119 |
TBAR_CTRL |
|
120 |
{ |
|
121 |
type = EAknCtButton; |
|
122 |
id =EPodcastRemoveAllDownloads; |
|
123 |
control = AVKON_BUTTON |
|
124 |
{ |
|
125 |
states = |
|
126 |
{ |
|
127 |
AVKON_BUTTON_STATE |
|
128 |
{ |
|
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
182
diff
changeset
|
129 |
bmpfile = APPICON; |
350
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
347
diff
changeset
|
130 |
bmpid = EMbmPodcastDelete_all; |
9c4fd008e20f
Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
347
diff
changeset
|
131 |
bmpmask = EMbmPodcastDelete_all_mask; |
261
55305e953f12
Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
182
diff
changeset
|
132 |
//txt = STRING_r_view_remove_all_downloads_cmd_short; |
2 | 133 |
helptxt = STRING_r_view_remove_all_downloads_cmd; |
134 |
} |
|
135 |
}; |
|
136 |
}; |
|
137 |
} |
|
138 |
}; |
|
139 |
} |
|
140 |
||
141 |
RESOURCE STYLUS_POPUP_MENU r_queueview_popup_menu |
|
142 |
{ |
|
143 |
items = |
|
144 |
{ |
|
182
828b50176e56
Removing "Remove" command from popup in queue view. This command exists as a toolbar button.
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
149
diff
changeset
|
145 |
// STYLUS_POPUP_MENU_ITEM |
828b50176e56
Removing "Remove" command from popup in queue view. This command exists as a toolbar button.
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
149
diff
changeset
|
146 |
// { |
828b50176e56
Removing "Remove" command from popup in queue view. This command exists as a toolbar button.
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
149
diff
changeset
|
147 |
// txt = STRING_r_view_remove_download_short_cmd; |
828b50176e56
Removing "Remove" command from popup in queue view. This command exists as a toolbar button.
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
149
diff
changeset
|
148 |
// command = EPodcastRemoveDownload; |
828b50176e56
Removing "Remove" command from popup in queue view. This command exists as a toolbar button.
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
149
diff
changeset
|
149 |
// }, |
145
cc0182a5da39
Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents:
70
diff
changeset
|
150 |
STYLUS_POPUP_MENU_ITEM |
cc0182a5da39
Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents:
70
diff
changeset
|
151 |
{ |
347
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
336
diff
changeset
|
152 |
txt = STRING_r_view_show_info_cmd; |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
336
diff
changeset
|
153 |
command = EPodcastShowInfo; |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
336
diff
changeset
|
154 |
}, |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
336
diff
changeset
|
155 |
STYLUS_POPUP_MENU_ITEM |
b8d687bb7ca1
Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
336
diff
changeset
|
156 |
{ |
353
33963ffd3082
UI improvements for automatic delete
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
350
diff
changeset
|
157 |
txt = STRING_r_view_mark_as_unplayed_cmd_short; |
33963ffd3082
UI improvements for automatic delete
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
350
diff
changeset
|
158 |
command = EPodcastMarkAsUnplayed; |
33963ffd3082
UI improvements for automatic delete
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
350
diff
changeset
|
159 |
}, |
33963ffd3082
UI improvements for automatic delete
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
350
diff
changeset
|
160 |
STYLUS_POPUP_MENU_ITEM |
33963ffd3082
UI improvements for automatic delete
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
350
diff
changeset
|
161 |
{ |
33963ffd3082
UI improvements for automatic delete
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
350
diff
changeset
|
162 |
txt = STRING_r_view_mark_as_played_cmd_short; |
33963ffd3082
UI improvements for automatic delete
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
350
diff
changeset
|
163 |
command = EPodcastMarkAsPlayed; |
33963ffd3082
UI improvements for automatic delete
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
350
diff
changeset
|
164 |
}, |
33963ffd3082
UI improvements for automatic delete
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
350
diff
changeset
|
165 |
STYLUS_POPUP_MENU_ITEM |
33963ffd3082
UI improvements for automatic delete
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
350
diff
changeset
|
166 |
{ |
373
f5de49b27caf
Popup menus tweaked
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
353
diff
changeset
|
167 |
txt = STRING_r_view_remove_download_short_cmd; |
f5de49b27caf
Popup menus tweaked
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
353
diff
changeset
|
168 |
command = EPodcastRemoveDownload; |
f5de49b27caf
Popup menus tweaked
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
353
diff
changeset
|
169 |
}, |
f5de49b27caf
Popup menus tweaked
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
353
diff
changeset
|
170 |
STYLUS_POPUP_MENU_ITEM |
f5de49b27caf
Popup menus tweaked
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
353
diff
changeset
|
171 |
{ |
145
cc0182a5da39
Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents:
70
diff
changeset
|
172 |
txt = STRING_r_view_move_up_short_cmd; |
cc0182a5da39
Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents:
70
diff
changeset
|
173 |
command = EPodcastMoveDownloadUp; |
cc0182a5da39
Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents:
70
diff
changeset
|
174 |
}, |
cc0182a5da39
Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents:
70
diff
changeset
|
175 |
STYLUS_POPUP_MENU_ITEM |
cc0182a5da39
Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents:
70
diff
changeset
|
176 |
{ |
cc0182a5da39
Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents:
70
diff
changeset
|
177 |
txt = STRING_r_view_move_down_short_cmd; |
cc0182a5da39
Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents:
70
diff
changeset
|
178 |
command = EPodcastMoveDownloadDown; |
2 | 179 |
} |
180 |
}; |
|
181 |
} |