author | Sebastian Brannstrom <sebastianb@symbian.org> |
Thu, 21 Oct 2010 22:46:18 +0100 | |
branch | RCL_3 |
changeset 265 | 72305c65726c |
parent 264 | 6dfdf1d9da5c |
child 290 | 0d5e69a7cda9 |
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 |
}, |
|
43 |
MENU_ITEM |
|
44 |
{ |
|
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; |
|
243
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
57 |
}, |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
58 |
MENU_ITEM |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
59 |
{ |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
60 |
txt = STRING_r_view_show_info_cmd; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
61 |
command = EPodcastShowInfo; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
62 |
flags = EEikMenuItemSpecific; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
63 |
}, |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
64 |
MENU_ITEM |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
65 |
{ |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
66 |
txt = STRING_r_view_mark_as_unplayed_cmd_short; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
67 |
command = EPodcastMarkAsUnplayed; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
68 |
flags = EEikMenuItemSpecific; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
69 |
}, |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
70 |
MENU_ITEM |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
71 |
{ |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
72 |
txt = STRING_r_view_mark_as_played_cmd_short; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
73 |
command = EPodcastMarkAsPlayed; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
74 |
flags = EEikMenuItemSpecific; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
75 |
}, |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
76 |
MENU_ITEM |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
77 |
{ |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
78 |
txt = STRING_r_view_download_show_cmd; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
79 |
command = EPodcastDownloadShow; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
80 |
flags = EEikMenuItemSpecific; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
81 |
}, |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
82 |
MENU_ITEM |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
83 |
{ |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
84 |
txt = STRING_r_view_delete_show_cmd; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
85 |
command = EPodcastDeleteShow; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
126
diff
changeset
|
86 |
flags = EEikMenuItemSpecific; |
2 | 87 |
} |
88 |
}; |
|
89 |
} |
|
90 |
||
91 |
RESOURCE AVKON_TOOLBAR r_showsview_toolbar |
|
92 |
{ |
|
93 |
flags = KAknToolbarFixed; |
|
94 |
items = |
|
95 |
{ |
|
96 |
TBAR_CTRL |
|
97 |
{ |
|
98 |
type = EAknCtButton; |
|
99 |
id = EPodcastUpdateFeed; |
|
100 |
control = AVKON_BUTTON |
|
101 |
{ |
|
102 |
states = |
|
103 |
{ |
|
104 |
AVKON_BUTTON_STATE |
|
105 |
{ |
|
264
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
106 |
bmpfile = APPICON; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
107 |
bmpid = EMbmPodcastReload; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
108 |
bmpmask = EMbmPodcastReload_mask; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
109 |
//txt = STRING_r_update_feed_short_cmd; |
2 | 110 |
helptxt = STRING_r_update_feed_cmd; |
111 |
} |
|
112 |
}; |
|
113 |
}; |
|
114 |
}, |
|
115 |
TBAR_CTRL |
|
116 |
{ |
|
117 |
type = EAknCtButton; |
|
118 |
id = EPodcastCancelUpdateAllFeeds; |
|
119 |
control = AVKON_BUTTON |
|
120 |
{ |
|
121 |
states = |
|
122 |
{ |
|
123 |
AVKON_BUTTON_STATE |
|
124 |
{ |
|
264
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
125 |
bmpfile = APPICON; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
126 |
bmpid = EMbmPodcastCancel; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
127 |
bmpmask = EMbmPodcastCancel_mask; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
128 |
//txt = STRING_r_cancel_update_all_feeds_short_cmd; |
2 | 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 |
{ |
|
264
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
146 |
bmpfile = APPICON; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
147 |
bmpid = EMbmPodcastDownload; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
148 |
bmpmask = EMbmPodcastDownload_mask; |
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
149 |
//txt = STRING_r_view_download_show_cmd; |
2 | 150 |
helptxt = STRING_r_view_download_show_cmd; |
151 |
} |
|
152 |
}; |
|
153 |
}; |
|
54
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 |
}; |
156 |
} |
|
157 |
||
158 |
RESOURCE DIALOG r_show_info_note |
|
159 |
{ |
|
160 |
flags = EAknDialogGenericQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
161 |
buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
162 |
items= |
|
163 |
{ |
|
164 |
||
165 |
DLG_LINE |
|
166 |
{ |
|
167 |
type = EAknCtPopupHeadingPane; |
|
168 |
id = EAknMessageQueryHeaderId; |
|
169 |
itemflags = EEikDlgItemNonFocusing; |
|
170 |
control = AVKON_HEADING |
|
171 |
{ |
|
172 |
headinglayout=R_AVKON_LIST_HEADING_PANE_POPUPS; |
|
173 |
}; |
|
174 |
}, |
|
175 |
DLG_LINE |
|
176 |
{ |
|
177 |
type = EAknCtMessageQuery; |
|
178 |
id = EAknMessageQueryContentId; |
|
179 |
control = AVKON_MESSAGE_QUERY |
|
180 |
{ |
|
181 |
||
182 |
}; |
|
24
ca50ea154990
Moved search result title to navipane. Fixed but 1832
teknolog
parents:
23
diff
changeset
|
183 |
} |
2 | 184 |
}; |
185 |
} |
|
186 |