author | Sebastian Brannstrom <sebastianb@symbian.org> |
Sat, 23 Oct 2010 16:38:32 +0100 | |
branch | RCL_3 |
changeset 274 | 03285b1fc18d |
parent 264 | 6dfdf1d9da5c |
child 301 | f5af16df2425 |
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; |
|
22 |
cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
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; |
|
243
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
52 |
}, |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
53 |
MENU_ITEM |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
54 |
{ |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
55 |
txt = STRING_r_view_remove_download_short_cmd; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
56 |
command = EPodcastRemoveDownload; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
57 |
flags = EEikMenuItemSpecific; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
58 |
}, |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
59 |
MENU_ITEM |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
60 |
{ |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
61 |
txt = STRING_r_view_move_up_short_cmd; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
62 |
command = EPodcastMoveDownloadUp; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
63 |
flags = EEikMenuItemSpecific; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
64 |
}, |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
65 |
MENU_ITEM |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
66 |
{ |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
67 |
txt = STRING_r_view_move_down_short_cmd; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
68 |
command = EPodcastMoveDownloadDown; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
69 |
flags = EEikMenuItemSpecific; |
2 | 70 |
} |
71 |
}; |
|
72 |
} |
|
73 |
||
74 |
RESOURCE AVKON_TOOLBAR r_queueview_toolbar |
|
75 |
{ |
|
76 |
flags = KAknToolbarFixed; |
|
77 |
items = |
|
78 |
{ |
|
79 |
||
80 |
TBAR_CTRL |
|
81 |
{ |
|
82 |
type = EAknCtButton; |
|
83 |
id =EPodcastSuspendDownloads; |
|
84 |
control = AVKON_BUTTON |
|
85 |
{ |
|
86 |
states = |
|
87 |
{ |
|
88 |
AVKON_BUTTON_STATE |
|
89 |
{ |
|
264
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
90 |
bmpfile = APPICON; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
91 |
bmpid = EMbmPodcastDwn_pause; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
92 |
bmpmask = EMbmPodcastDwn_pause_mask; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
93 |
//txt = STRING_r_suspend_download_cmd; |
2 | 94 |
helptxt = STRING_r_view_stop_downloads_cmd; |
95 |
} |
|
96 |
}; |
|
97 |
}; |
|
98 |
}, |
|
99 |
TBAR_CTRL |
|
100 |
{ |
|
101 |
type = EAknCtButton; |
|
102 |
id =EPodcastResumeDownloads; |
|
103 |
control = AVKON_BUTTON |
|
104 |
{ |
|
105 |
states = |
|
106 |
{ |
|
107 |
AVKON_BUTTON_STATE |
|
108 |
{ |
|
264
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
109 |
bmpfile = APPICON; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
110 |
bmpid = EMbmPodcastDwn_start; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
111 |
bmpmask = EMbmPodcastDwn_start_mask; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
112 |
//txt = STRING_r_view_resume_short_dls_cmd; |
2 | 113 |
helptxt = STRING_r_view_resume_downloads_cmd; |
114 |
} |
|
115 |
}; |
|
116 |
}; |
|
117 |
}, |
|
118 |
TBAR_CTRL |
|
119 |
{ |
|
120 |
type = EAknCtButton; |
|
121 |
id =EPodcastRemoveAllDownloads; |
|
122 |
control = AVKON_BUTTON |
|
123 |
{ |
|
124 |
states = |
|
125 |
{ |
|
126 |
AVKON_BUTTON_STATE |
|
127 |
{ |
|
264
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
128 |
bmpfile = APPICON; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
129 |
bmpid = EMbmPodcastRemove_all; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
130 |
bmpmask = EMbmPodcastRemove_all_mask; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
131 |
//txt = STRING_r_view_remove_all_downloads_cmd_short; |
2 | 132 |
helptxt = STRING_r_view_remove_all_downloads_cmd; |
133 |
} |
|
134 |
}; |
|
135 |
}; |
|
136 |
} |
|
137 |
}; |
|
138 |
} |