|
1 /* |
|
2 * Copyright (c) 2010 Ixonos Plc. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - Initial contribution |
|
11 * |
|
12 * Contributors: |
|
13 * Ixonos Plc |
|
14 * |
|
15 * Description: |
|
16 * Resource definitions for Crop plugin. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 //============================================================================= |
|
23 // RESOURCE INDENTIFIER |
|
24 //============================================================================= |
|
25 NAME PGN0 |
|
26 |
|
27 |
|
28 //============================================================================= |
|
29 // INCLUDES |
|
30 //============================================================================= |
|
31 #include <eikon.rh> |
|
32 #include <ImageEditor.loc> |
|
33 #include <data_caging_paths_strings.hrh> |
|
34 |
|
35 #include "definitions.def" |
|
36 #include "ImageEditorPluginBase.hrh" |
|
37 #include "ImageEditorPluginBase.rh" |
|
38 #include "ImageEditorUids.hrh" |
|
39 #include "Crop.rh" |
|
40 #include "crop_gen.loc" |
|
41 |
|
42 |
|
43 //============================================================================= |
|
44 // CONSTANTS |
|
45 //============================================================================= |
|
46 |
|
47 |
|
48 //============================================================================= |
|
49 // MACROS |
|
50 //============================================================================= |
|
51 |
|
52 |
|
53 //============================================================================= |
|
54 // RESOURCE DEFINITIONS |
|
55 //============================================================================= |
|
56 |
|
57 RESOURCE RSS_SIGNATURE { } |
|
58 |
|
59 RESOURCE PGNINFO r_plugin_info |
|
60 { |
|
61 pluginuid = UID_CROP_PLUGIN; |
|
62 uitype = EPluginUiTypeCustomized; |
|
63 plugintype = EPluginFilterTypeABITO; |
|
64 pluginscope = EPluginScopeMainEngine; |
|
65 plugindisplayorder = 5; |
|
66 pluginname = qtn_sie_plugin_name_crop; |
|
67 iconfile = "crop.mif"; |
|
68 filterfile = "FilterCrop.dll"; |
|
69 } |
|
70 |
|
71 RESOURCE PARAMNAMES r_plugin_pars |
|
72 { |
|
73 parameters= |
|
74 { |
|
75 // Select aspect ratio |
|
76 qtn_sie_heading_aspect_ratio, |
|
77 |
|
78 // Move crop rectangle navi pane text |
|
79 " ", |
|
80 |
|
81 // Crop area size |
|
82 qtn_sie_navi_crop_area, |
|
83 |
|
84 // Manual |
|
85 qtn_sie_crop_aspect_ratio_manual |
|
86 |
|
87 }; |
|
88 } |
|
89 |
|
90 RESOURCE PGNUIITEMS r_sk1_items |
|
91 { |
|
92 items= |
|
93 { |
|
94 PGNUIITEM |
|
95 { |
|
96 id=EPgnSoftkeyIdSet; |
|
97 text=qtn_sie_pgn_sk1_set; |
|
98 }, |
|
99 PGNUIITEM |
|
100 { |
|
101 id=EPgnSoftkeyIdDone; |
|
102 text=qtn_sie_softkey_crop; |
|
103 }, |
|
104 PGNUIITEM |
|
105 { |
|
106 id=EPgnSoftkeyIdSet; |
|
107 text=qtn_sie_pgn_sk1_set; |
|
108 }, |
|
109 PGNUIITEM |
|
110 { |
|
111 id=EPgnSoftkeyIdEmpty; |
|
112 text=" "; |
|
113 } |
|
114 }; |
|
115 } |
|
116 |
|
117 RESOURCE PGNUIITEMS r_sk2_items |
|
118 { |
|
119 items= |
|
120 { |
|
121 PGNUIITEM |
|
122 { |
|
123 id=EPgnSoftkeyIdCancel; |
|
124 text=qtn_sie_pgn_sk2_cancel; |
|
125 }, |
|
126 PGNUIITEM |
|
127 { |
|
128 id=EPgnSoftkeyIdBack; |
|
129 text=qtn_sie_pgn_sk2_back; |
|
130 }, |
|
131 PGNUIITEM |
|
132 { |
|
133 id=EPgnSoftkeyIdBack; |
|
134 text=qtn_sie_pgn_sk2_back; |
|
135 }, |
|
136 PGNUIITEM |
|
137 { |
|
138 id=EPgnSoftkeyIdCancel; |
|
139 text=qtn_sie_pgn_sk2_cancel; |
|
140 } |
|
141 }; |
|
142 } |
|
143 |
|
144 RESOURCE PGNUIITEMS r_msk_items |
|
145 { |
|
146 items= |
|
147 { |
|
148 PGNUIITEM |
|
149 { |
|
150 id=EPgnSoftkeyIdSet; |
|
151 text=qtn_sie_pgn_sk1_set; |
|
152 }, |
|
153 PGNUIITEM |
|
154 { |
|
155 id=EPgnSoftkeyIdDone; |
|
156 text=qtn_sie_softkey_crop; |
|
157 }, |
|
158 PGNUIITEM |
|
159 { |
|
160 id=EPgnSoftkeyIdSet; |
|
161 text=qtn_sie_pgn_sk1_set; |
|
162 }, |
|
163 PGNUIITEM |
|
164 { |
|
165 id=EPgnSoftkeyIdEmpty; |
|
166 text=" "; |
|
167 } |
|
168 }; |
|
169 } |
|
170 |
|
171 RESOURCE PGNUIITEMS r_menu_items |
|
172 { |
|
173 items= |
|
174 { |
|
175 |
|
176 }; |
|
177 } |
|
178 |
|
179 RESOURCE CROPMODES r_crop_modes |
|
180 { |
|
181 items= |
|
182 { |
|
183 CROPMODE |
|
184 { |
|
185 text=qtn_sie_crop_aspect_ratio_4x6; |
|
186 w=6; |
|
187 h=4; |
|
188 }, |
|
189 CROPMODE |
|
190 { |
|
191 text=qtn_sie_crop_aspect_ratio_6x4; |
|
192 w=4; |
|
193 h=6; |
|
194 }, |
|
195 CROPMODE |
|
196 { |
|
197 text=qtn_sie_crop_aspect_ratio_5x7; |
|
198 w=7; |
|
199 h=5; |
|
200 }, |
|
201 CROPMODE |
|
202 { |
|
203 text=qtn_sie_crop_aspect_ratio_7x5; |
|
204 w=5; |
|
205 h=7; |
|
206 }, |
|
207 CROPMODE |
|
208 { |
|
209 text=qtn_sie_crop_aspect_ratio_8x10; |
|
210 w=10; |
|
211 h=8; |
|
212 }, |
|
213 CROPMODE |
|
214 { |
|
215 text=qtn_sie_crop_aspect_ratio_10x8; |
|
216 w=8; |
|
217 h=10; |
|
218 } |
|
219 }; |
|
220 } |
|
221 |
|
222 //Wallpaper aspect ratio texts |
|
223 RESOURCE TBUF r_crop_aspect_ratio_wallpaper { buf = qtn_sie_crop_wallpaper; } |
|
224 RESOURCE TBUF r_crop_aspect_ratio_wallpaper_prt { buf = qtn_sie_crop_wallpaper_prt; } |
|
225 RESOURCE TBUF r_crop_aspect_ratio_wallpaper_lnds { buf = qtn_sie_crop_wallpaper_lnds; } |
|
226 |
|
227 RESOURCE TBUF r_tooltip_crop_resize_area { buf = qtn_sie_tooltip_crop_resize_area; } |
|
228 RESOURCE TBUF r_tooltip_crop_move_area { buf = qtn_sie_tooltip_crop_move_area; } |
|
229 |
|
230 // End of File |