author | teknolog |
Sun, 28 Feb 2010 23:25:24 +0000 | |
changeset 29 | 08733234ccb1 |
parent 23 | cf4b850bbffb |
child 56 | c5cd47bc11ef |
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; |
|
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 |
{ |
|
72 |
//bmpfile = AVKON_BITMAP_FILE; |
|
73 |
//bmpid = EMbmAvkonQgn_indi_find_goto; |
|
74 |
txt = STRING_r_suspend_download_cmd; |
|
75 |
helptxt = STRING_r_view_stop_downloads_cmd; |
|
76 |
} |
|
77 |
}; |
|
78 |
}; |
|
79 |
}, |
|
80 |
TBAR_CTRL |
|
81 |
{ |
|
82 |
type = EAknCtButton; |
|
83 |
id =EPodcastResumeDownloads; |
|
84 |
control = AVKON_BUTTON |
|
85 |
{ |
|
86 |
states = |
|
87 |
{ |
|
88 |
AVKON_BUTTON_STATE |
|
89 |
{ |
|
90 |
//bmpfile = AVKON_BITMAP_FILE; |
|
91 |
//bmpid = EMbmAvkonQgn_indi_find_goto; |
|
92 |
txt = STRING_r_view_resume_short_dls_cmd; |
|
93 |
helptxt = STRING_r_view_resume_downloads_cmd; |
|
94 |
} |
|
95 |
}; |
|
96 |
}; |
|
97 |
}, |
|
23
cf4b850bbffb
Added macro SYMBIAN1_UI that toggles between single and double tap UI
teknolog
parents:
2
diff
changeset
|
98 |
#ifdef SYMBIAN1_UI |
2 | 99 |
TBAR_CTRL |
100 |
{ |
|
101 |
type = EAknCtButton; |
|
102 |
id = EPodcastRemoveDownload; |
|
103 |
control = AVKON_BUTTON |
|
104 |
{ |
|
105 |
states = |
|
106 |
{ |
|
107 |
AVKON_BUTTON_STATE |
|
108 |
{ |
|
109 |
//bmpfile = AVKON_BITMAP_FILE; |
|
110 |
//bmpid = EMbmAvkonQgn_indi_find_goto; |
|
111 |
txt = STRING_r_view_remove_download_short_cmd; |
|
112 |
helptxt = STRING_r_view_remove_download_cmd; |
|
113 |
} |
|
114 |
}; |
|
115 |
}; |
|
116 |
}, |
|
23
cf4b850bbffb
Added macro SYMBIAN1_UI that toggles between single and double tap UI
teknolog
parents:
2
diff
changeset
|
117 |
#endif |
2 | 118 |
TBAR_CTRL |
119 |
{ |
|
120 |
type = EAknCtButton; |
|
121 |
id =EPodcastRemoveAllDownloads; |
|
122 |
control = AVKON_BUTTON |
|
123 |
{ |
|
124 |
states = |
|
125 |
{ |
|
126 |
AVKON_BUTTON_STATE |
|
127 |
{ |
|
128 |
//bmpfile = AVKON_BITMAP_FILE; |
|
129 |
//bmpid = EMbmAvkonQgn_indi_find_goto; |
|
130 |
txt = STRING_r_view_remove_all_downloads_cmd_short; |
|
131 |
helptxt = STRING_r_view_remove_all_downloads_cmd; |
|
132 |
} |
|
133 |
}; |
|
134 |
}; |
|
135 |
} |
|
136 |
}; |
|
137 |
} |
|
138 |
||
139 |
RESOURCE STYLUS_POPUP_MENU r_queueview_popup_menu |
|
140 |
{ |
|
141 |
items = |
|
142 |
{ |
|
143 |
/* STYLUS_POPUP_MENU_ITEM |
|
144 |
{ |
|
145 |
txt = STRING_r_view_show_info_cmd; |
|
146 |
command = EPodcastShowInfo; |
|
147 |
},*/ |
|
148 |
STYLUS_POPUP_MENU_ITEM |
|
149 |
{ |
|
150 |
txt = STRING_r_view_remove_download_short_cmd; |
|
151 |
command = EPodcastRemoveDownload; |
|
152 |
} |
|
153 |
}; |
|
154 |
} |