1 /* |
|
2 * Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "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 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef IMAGEPRINTCONSTS_H |
|
20 #define IMAGEPRINTCONSTS_H |
|
21 |
|
22 // High resolution / Low resolution ratio. In LR mode all UI pixel |
|
23 // parameter are half of corresponding HR parameter. |
|
24 const TInt HLRatio( 2 ); |
|
25 |
|
26 // Preview Pane PORTRAIT |
|
27 const TInt KPreviewPaneWidthPort( 256 ); |
|
28 const TInt KPreviewPaneHeightPort( 256 ); |
|
29 const TInt KPreviewPanePositionXPort( 0 ); |
|
30 const TInt KPreviewPanePositionYPort( 0 ); |
|
31 const TInt KTemplateIndLeftPosX1Port( 22 ); |
|
32 const TInt KTemplateIndLeftPosY1Port( 228 ); |
|
33 const TInt KTemplateIndLeftPosX2Port( 22 ); |
|
34 const TInt KTemplateIndLeftPosY2Port( 252 ); |
|
35 const TInt KTemplateIndLeftPosX3Port( 10 ); |
|
36 const TInt KTemplateIndLeftPosY3Port( 240 ); |
|
37 const TInt KTemplateIndRightPosX1Port( 236 ); |
|
38 const TInt KTemplateIndRightPosY1Port( 228 ); |
|
39 const TInt KTemplateIndRightPosX2Port( 236 ); |
|
40 const TInt KTemplateIndRightPosY2Port( 252 ); |
|
41 const TInt KTemplateIndRightPosX3Port( 248 ); |
|
42 const TInt KTemplateIndRightPosY3Port( 240 ); |
|
43 const TInt KPreviewPaneFontSizePort( 12 ); |
|
44 const TInt KPortPaperWidthPort( 192 ); |
|
45 const TInt KportPaperHeightPort( 256 ); |
|
46 const TInt KPortPaperPositionXPort( 32 ); |
|
47 const TInt KPortPaperPositionYPort( 0 ); |
|
48 const TInt KLandPaperWidthPort( 256 ); |
|
49 const TInt KLandPaperHeightPort( 192 ); |
|
50 const TInt KLandPaperPositionXPort( 0 ); |
|
51 const TInt KLandPaperPositionYPort( 32 ); |
|
52 const TInt KPageNumberBoxPositionPortX( 170 ); |
|
53 const TInt KPageNumberBoxSizePortX( 86 ); |
|
54 const TInt KPageNumberBoxSizePortY( 35 ); |
|
55 |
|
56 // Preview Pane PORTRAIT QVGA |
|
57 const TInt KPreviewPaneWidthPortQVGA( 200 ); // pane width |
|
58 const TInt KPreviewPaneHeightPortQVGA( 200 ); // pane height |
|
59 const TInt KPreviewPanePositionXPortQVGA( 0 ); // leftmost pos of pane |
|
60 const TInt KPreviewPanePositionYPortQVGA( 0 ); // top pos of pane |
|
61 const TInt KTemplateIndLeftPosX1PortQVGA( 20 ); //coordinates for left scroll arrow |
|
62 const TInt KTemplateIndLeftPosY1PortQVGA( 176 ); |
|
63 const TInt KTemplateIndLeftPosX2PortQVGA( 20 ); |
|
64 const TInt KTemplateIndLeftPosY2PortQVGA( 196 ); |
|
65 const TInt KTemplateIndLeftPosX3PortQVGA( 10 ); |
|
66 const TInt KTemplateIndLeftPosY3PortQVGA( 186 ); |
|
67 const TInt KTemplateIndRightPosX1PortQVGA( 180 ); //coordinates for right scroll arrow |
|
68 const TInt KTemplateIndRightPosY1PortQVGA( 176 ); |
|
69 const TInt KTemplateIndRightPosX2PortQVGA( 180 ); |
|
70 const TInt KTemplateIndRightPosY2PortQVGA( 196 ); |
|
71 const TInt KTemplateIndRightPosX3PortQVGA( 190 ); |
|
72 const TInt KTemplateIndRightPosY3PortQVGA( 186 ); |
|
73 const TInt KPortPaperWidthPortQVGA( 150 ); // portrait paper width |
|
74 const TInt KportPaperHeightPortQVGA( 200 ); // portrait paper height |
|
75 const TInt KPortPaperPositionXPortQVGA( 25 ); // portrait paper leftmost pos |
|
76 const TInt KPortPaperPositionYPortQVGA( 0 ); // portrait paper top pos |
|
77 const TInt KLandPaperWidthPortQVGA( 200 ); // landscape paper width |
|
78 const TInt KLandPaperHeightPortQVGA( 150 ); // landscape paper height |
|
79 const TInt KLandPaperPositionXPortQVGA( 0 ); // landscape paper leftmost pos |
|
80 const TInt KLandPaperPositionYPortQVGA( 25 ); // landscape paper top pos |
|
81 const TInt KPageNumberBoxPositionPortXQVGA( 128 ); // page number box leftmost pos |
|
82 const TInt KPageNumberBoxSizePortXQVGA( 72 ); // page number box width |
|
83 const TInt KPageNumberBoxSizePortYQVGA( 18 ); // page number box height |
|
84 |
|
85 // Preview Pane LANDSCAPE QVGA |
|
86 const TInt KPreviewPaneWidthLandscapeQVGA( 192 ); // pane width |
|
87 const TInt KPreviewPaneHeightLandscapeQVGA( 192 ); // pane height |
|
88 const TInt KPreviewPanePositionXLandscapeQVGA( 0 ); // leftmost pos of pane |
|
89 const TInt KPreviewPanePositionYLandscapeQVGA( 0 ); // top pos of pane |
|
90 const TInt KTemplateIndLeftPosX1LandscapeQVGA( 20 ); //coordinates for left scroll arrow |
|
91 const TInt KTemplateIndLeftPosY1LandscapeQVGA( 168 ); |
|
92 const TInt KTemplateIndLeftPosX2LandscapeQVGA( 20 ); |
|
93 const TInt KTemplateIndLeftPosY2LandscapeQVGA( 188 ); |
|
94 const TInt KTemplateIndLeftPosX3LandscapeQVGA( 10 ); |
|
95 const TInt KTemplateIndLeftPosY3LandscapeQVGA( 178 ); |
|
96 const TInt KTemplateIndRightPosX1LandscapeQVGA( 172 ); //coordinates for right scroll arrow |
|
97 const TInt KTemplateIndRightPosY1LandscapeQVGA( 168 ); |
|
98 const TInt KTemplateIndRightPosX2LandscapeQVGA( 172 ); |
|
99 const TInt KTemplateIndRightPosY2LandscapeQVGA( 188 ); |
|
100 const TInt KTemplateIndRightPosX3LandscapeQVGA( 182 ); |
|
101 const TInt KTemplateIndRightPosY3LandscapeQVGA( 178 ); |
|
102 const TInt KportPaperWidthLandscapeQVGA( 144 ); // portrait paper width |
|
103 const TInt KportPaperHeightLandscapeQVGA( 192 ); // portrait paper height |
|
104 const TInt KPortPaperPositionXLandscapeQVGA( 24 ); // portrait paper leftmost pos |
|
105 const TInt KPortPaperPositionYLandscapeQVGA( 0 ); // portrait paper top pos |
|
106 const TInt KLandPaperWidthLandscapeQVGA( 192 ); // landscape paper width |
|
107 const TInt KLandPaperHeightLandscapeQVGA( 144 ); // landscape paper height |
|
108 const TInt KLandPaperPositionXLandscapeQVGA( 0 ); // landscape paper leftmost pos |
|
109 const TInt KLandPaperPositionYLandscapeQVGA( 24 ); // landscape paper top pos |
|
110 const TInt KPageNumberBoxPositionXLandscapeQVGA( 124 ); // page number box leftmost pos |
|
111 const TInt KPageNumberBoxSizeXLandscapeQVGA( 68 ); // page number box width |
|
112 const TInt KPageNumberBoxSizeYLandscapeQVGA( 18 ); // page number box height |
|
113 |
|
114 // Preview Pane LANDSCAPE |
|
115 const TInt KPreviewPaneWidthLand( 288 ); |
|
116 const TInt KPreviewPaneHeightLand( 288 ); |
|
117 const TInt KPreviewPanePositionXLand( 0 ); |
|
118 const TInt KPreviewPanePositionYLand( 0 ); |
|
119 const TInt KTemplateIndLeftPosX1Land( 24 ); |
|
120 const TInt KTemplateIndLeftPosY1Land( 258 ); |
|
121 const TInt KTemplateIndLeftPosX2Land( 24 ); |
|
122 const TInt KTemplateIndLeftPosY2Land( 282 ); |
|
123 const TInt KTemplateIndLeftPosX3Land( 12 ); |
|
124 const TInt KTemplateIndLeftPosY3Land( 270 ); |
|
125 const TInt KTemplateIndRightPosX1Land( 264 ); |
|
126 const TInt KTemplateIndRightPosY1Land( 258 ); |
|
127 const TInt KTemplateIndRightPosX2Land( 264 ); |
|
128 const TInt KTemplateIndRightPosY2Land( 282 ); |
|
129 const TInt KTemplateIndRightPosX3Land( 276 ); |
|
130 const TInt KTemplateIndRightPosY3Land( 270 ); |
|
131 const TInt KPreviewPaneFontSizeLand( 12 ); |
|
132 const TInt KPortPaperWidthLand( 216 ); |
|
133 const TInt KPortPaperHeightLand( 288 ); |
|
134 const TInt KPortPaperPositionXLand( 36 ); |
|
135 const TInt KPortPaperPositionYLand( 0 ); |
|
136 const TInt KLandPaperWidthLand( 288 ); |
|
137 const TInt KLandPaperHeightLand( 216 ); |
|
138 const TInt KLandPaperPositionXLand( 0 ); |
|
139 const TInt KLandPaperPositionYLand( 36 ); |
|
140 const TInt KPageNumberBoxPositionLandX( 202 ); |
|
141 const TInt KPageNumberBoxSizeLandX( 86 ); |
|
142 const TInt KPageNumberBoxSizeLandY( 35 ); |
|
143 |
|
144 // Browser Pane PORTRAIT |
|
145 const TInt KBrowserPaneWidthPort( 96 ); |
|
146 const TInt KBrowserPaneHeightPort( 256 ); |
|
147 const TInt KBrowserPanePositionXPort( 256 ); |
|
148 const TInt KBrowserPanePositionYPort( 0 ); |
|
149 const TInt KDefaultCursorFillPositionXPort( 264 ); |
|
150 const TInt KDefaultCursorFillPositionYPort( 20 ); |
|
151 const TInt KCursorFillWidthPort( 79 ); |
|
152 const TInt KCursorFillHeightPort( 69 ); |
|
153 const TInt KMaxCursorRightSidePort( 346 ); |
|
154 const TInt KMinCursorLeftSidePort( 60 ); |
|
155 const TInt KCursorStepPort( 72 ); //42 |
|
156 const TInt KDefaultThumbnailPositionXPort( 12 ); |
|
157 const TInt KDefaultThumbnailPositionYPort( 24 ); |
|
158 const TInt KThumbnailImgWidthPort( 72 ); // 72 |
|
159 const TInt KThumbnailImgHeightPort( 62 ); // 65 |
|
160 const TInt KCursorFillPenSizePort( 4 ); |
|
161 const TInt KCursorPenSizePort( 4 ); |
|
162 const TInt KMaxCursorTopPositionPort( 78 ); //check |
|
163 const TInt KMaxCursorBottomPositionPort( 232 ); |
|
164 |
|
165 const TInt KImageIndUpPosX1Port( 292 ); |
|
166 const TInt KImageIndUpPosY1Port( 14 ); |
|
167 const TInt KImageIndUpPosX2Port( 316 ); |
|
168 const TInt KImageIndUpPosY2Port( 14 ); |
|
169 const TInt KImageIndUpPosX3Port( 304 ); |
|
170 const TInt KImageIndUpPosY3Port( 2 ); |
|
171 const TInt KImageIndDownPosX1Port( 292 ); |
|
172 const TInt KImageIndDownPosY1Port( 242 ); |
|
173 const TInt KImageIndDownPosX2Port( 316 ); |
|
174 const TInt KImageIndDownPosY2Port( 242 ); |
|
175 const TInt KImageIndDownPosX3Port( 304 ); |
|
176 const TInt KImageIndDownPosY3Port( 254 ); |
|
177 |
|
178 // Browser Pane PORTRAIT QVGA |
|
179 const TInt KBrowserPaneWidthPortQVGA( 40 ); // browser pane width |
|
180 const TInt KBrowserPaneHeightPortQVGA( 200 ); // browser pane height |
|
181 const TInt KBrowserPanePositionXPortQVGA( 200 ); // browser pane leftmost pos |
|
182 const TInt KBrowserPanePositionYPortQVGA( 0 ); // browser pane top pos |
|
183 |
|
184 const TInt KDefaultCursorFillPositionXPortQVGA( 201 ); // cursor initial leftmost pos |
|
185 const TInt KDefaultCursorFillPositionYPortQVGA( 43 ); // cursor initial top pos |
|
186 const TInt KCursorFillWidthPortQVGA( 38 ); // cursor width |
|
187 const TInt KCursorFillHeightPortQVGA( 33 ); // cursor height |
|
188 const TInt KCursorStepPortQVGA( 40 ); // height pos diff between thumbnails |
|
189 const TInt KDefaultThumbnailPositionXPortQVGA( 1 ); // 1st thumbnail initial leftmost pos |
|
190 const TInt KDefaultThumbnailPositionYPortQVGA( 45 ); // 1st thumbnail initial top pos |
|
191 const TInt KThumbnailImgWidthPortQVGA( 38 ); // thumbnail image width |
|
192 const TInt KThumbnailImgHeightPortQVGA( 29 ); // thumbnail image height |
|
193 const TInt KCursorPenSizePortQVGA( 4 ); // cursor frame size |
|
194 const TInt KMaxCursorTopPositionPortQVGA( 55 ); // cursor top limit |
|
195 const TInt KMaxCursorBottomPositionPortQVGA( 155 ); // cursor bottom limit |
|
196 |
|
197 const TInt KImageIndUpPosX1PortQVGA( 210 ); //coordinates for up scroll arrow |
|
198 const TInt KImageIndUpPosY1PortQVGA( 25 ); |
|
199 const TInt KImageIndUpPosX2PortQVGA( 230 ); |
|
200 const TInt KImageIndUpPosY2PortQVGA( 25 ); |
|
201 const TInt KImageIndUpPosX3PortQVGA( 220 ); |
|
202 const TInt KImageIndUpPosY3PortQVGA( 15 ); |
|
203 const TInt KImageIndDownPosX1PortQVGA( 210 ); //coordinates for down scroll arrow |
|
204 const TInt KImageIndDownPosY1PortQVGA( 175 ); |
|
205 const TInt KImageIndDownPosX2PortQVGA( 230 ); |
|
206 const TInt KImageIndDownPosY2PortQVGA( 175 ); |
|
207 const TInt KImageIndDownPosX3PortQVGA( 220 ); |
|
208 const TInt KImageIndDownPosY3PortQVGA( 185 ); |
|
209 |
|
210 // Browser Pane LANDSCAPE QVGA |
|
211 const TInt KBrowserPaneWidthLandscapeQVGA( 128 ); // browser pane width |
|
212 const TInt KBrowserPaneHeightLandscapeQVGA( 192 ); // browser pane height |
|
213 const TInt KBrowserPanePositionXLandscapeQVGA( 192 ); // browser pane leftmost pos |
|
214 const TInt KBrowserPanePositionYLandscapeQVGA( 0 ); // browser pane top pos |
|
215 const TInt KDefaultCursorFillPositionXLandscapeQVGA( 216 );// cursor initial leftmost pos |
|
216 const TInt KDefaultCursorFillPositionYLandscapeQVGA( 3 ); // cursor initial top pos |
|
217 const TInt KCursorFillWidthLandscapeQVGA( 79 ); // cursor width |
|
218 const TInt KCursorFillHeightLandscapeQVGA( 60 ); // cursor height |
|
219 const TInt KCursorStepLandscapeQVGA( 61 ); // height pos diff between thumbnails |
|
220 const TInt KDefaultThumbnailPositionXLandscapeQVGA( 26 ); // 1st thumbnail initial leftmost pos |
|
221 const TInt KDefaultThumbnailPositionYLandscapeQVGA( 5 ); // 1st thumbnail initial top pos |
|
222 const TInt KThumbnailImgWidthLandscapeQVGA( 77 ); // thumbnail image width |
|
223 const TInt KThumbnailImgHeightLandscapeQVGA( 58 ); // thumbnail image height |
|
224 const TInt KCursorPenSizeLandscapeQVGA( 4 ); // cursor frame size |
|
225 const TInt KMaxCursorTopPositionLandscapeQVGA( 10 ); // cursor top limit |
|
226 const TInt KMaxCursorBottomPositionLandscapeQVGA( 155 ); // cursor bottom limit |
|
227 const TInt KImageIndUpPosX1LandscapeQVGA( 199 ); //coordinates for up scroll arrow |
|
228 const TInt KImageIndUpPosY1LandscapeQVGA( 30 ); |
|
229 const TInt KImageIndUpPosX2LandscapeQVGA( 209 ); |
|
230 const TInt KImageIndUpPosY2LandscapeQVGA( 30 ); |
|
231 const TInt KImageIndUpPosX3LandscapeQVGA( 204 ); |
|
232 const TInt KImageIndUpPosY3LandscapeQVGA( 20 ); |
|
233 const TInt KImageIndDownPosX1LandscapeQVGA( 199 ); //coordinates for down scroll arrow |
|
234 const TInt KImageIndDownPosY1LandscapeQVGA( 172 ); |
|
235 const TInt KImageIndDownPosX2LandscapeQVGA( 209 ); |
|
236 const TInt KImageIndDownPosY2LandscapeQVGA( 172 ); |
|
237 const TInt KImageIndDownPosX3LandscapeQVGA( 204 ); |
|
238 const TInt KImageIndDownPosY3LandscapeQVGA( 182 ); |
|
239 |
|
240 // Browser Pane LANDSCAPE |
|
241 const TInt KBrowserPaneWidthLand( 128 ); |
|
242 const TInt KBrowserPaneHeightLand( 288 ); |
|
243 const TInt KBrowserPanePositionXLand( 288 ); |
|
244 const TInt KBrowserPanePositionYLand( 0 ); |
|
245 const TInt KDefaultCursorFillPositionXLand( 298 ); |
|
246 const TInt KDefaultCursorFillPositionYLand( 21 ); |
|
247 const TInt KCursorFillWidthLand( 108 ); |
|
248 const TInt KCursorFillHeightLand( 82 ); |
|
249 const TInt KMaxCursorRightSideLand( 346 ); |
|
250 const TInt KMinCursorLeftSideLand( 60 ); |
|
251 const TInt KCursorStepLand( 82 ); //42 |
|
252 const TInt KDefaultThumbnailPositionXLand( 14 ); |
|
253 const TInt KDefaultThumbnailPositionYLand( 25 ); |
|
254 const TInt KThumbnailImgWidthLand( 100 ); |
|
255 const TInt KThumbnailImgHeightLand( 74 ); |
|
256 const TInt KCursorFillPenSizeLand( 4 ); |
|
257 const TInt KCursorPenSizeLand( 4 ); |
|
258 const TInt KMaxCursorTopPositionLand( 78 ); //check |
|
259 const TInt KMaxCursorBottomPositionLand( 232 ); |
|
260 |
|
261 const TInt KImageIndUpPosX1Land( 340 ); |
|
262 const TInt KImageIndUpPosY1Land( 14 ); |
|
263 const TInt KImageIndUpPosX2Land( 364 ); |
|
264 const TInt KImageIndUpPosY2Land( 14 ); |
|
265 const TInt KImageIndUpPosX3Land( 352 ); |
|
266 const TInt KImageIndUpPosY3Land( 2 ); |
|
267 const TInt KImageIndDownPosX1Land( 340 ); |
|
268 const TInt KImageIndDownPosY1Land( 274 ); |
|
269 const TInt KImageIndDownPosX2Land( 364 ); |
|
270 const TInt KImageIndDownPosY2Land( 274 ); |
|
271 const TInt KImageIndDownPosX3Land( 352 ); |
|
272 const TInt KImageIndDownPosY3Land( 286 ); |
|
273 |
|
274 // Browser pane general |
|
275 const TInt KMaxTemplatesOnScreen( 3 ); // max image thumbnails to see in browse pane |
|
276 const TInt KNoBrowserIndicators( 0 ); |
|
277 const TInt KLeftBrowserIndicator( 1 ); |
|
278 const TInt KRightBrowserIndicator( 2 ); |
|
279 const TInt KBothBrowserIndicators( 3 ); |
|
280 const TInt KCursorPositionOne( 1 ); |
|
281 const TInt KCursorPositionTwo( 2 ); |
|
282 const TInt KCursorPositionThree( 3 ); |
|
283 const TInt KCursorFillColorR( 102 ); |
|
284 const TInt KCursorFillColorG( 153 ); |
|
285 const TInt KCursorFillColorB( 255 ); |
|
286 const TInt KBrowserPaneCursorUp( -1 ); |
|
287 const TInt KBrowserPaneCursorDown( 1 ); |
|
288 const TInt KBrowserPaneCursorLeft( -1 ); |
|
289 const TInt KBrowserPaneCursorRight( 1 ); |
|
290 |
|
291 //Info Pane - PORTRAIT |
|
292 const TInt KInfoPaneWidth(352); |
|
293 const TInt KInfoPaneHeight(32); |
|
294 const TInt KInfoPanePositionX( 0 ); |
|
295 const TInt KInfoPanePositionY( 256 ); |
|
296 |
|
297 //Info Pane - PORTRAIT QVGA |
|
298 const TInt KInfoPaneWidthQVGA( 240 ); // info pane width |
|
299 const TInt KInfoPaneHeightQVGA( 24 ); // info pane height |
|
300 const TInt KInfoPanePositionXQVGA( 0 ); // info pane leftmost pos |
|
301 const TInt KInfoPanePositionYQVGA( 200 ); // info pane top pos |
|
302 |
|
303 //Tooltip - GENERAL |
|
304 const TInt KTooltipDelay( 3000000 ); |
|
305 const TUint32 KTooltipTransparency( 0x333333 ); |
|
306 const TInt KNumberInputInterval( 750000 ); |
|
307 |
|
308 //Tooltip - PORTRAIT |
|
309 const TInt KTooltipWidthPort( 288 ); |
|
310 const TInt KTooltipHeightPort( 226 ); |
|
311 const TInt KTooltipPositionXPort( 32 ); |
|
312 const TInt KTooltipPositionYPort( 15 ); |
|
313 const TInt KTooltipPaddingPort( 10 ); |
|
314 |
|
315 //Tooltip - PORTRAIT QVGA |
|
316 const TInt KTooltipWidthPortQVGA( 200 ); |
|
317 const TInt KTooltipHeightPortQVGA( 170 ); |
|
318 const TInt KTooltipPositionXPortQVGA( 20 ); |
|
319 const TInt KTooltipPositionYPortQVGA( 15 ); |
|
320 const TInt KTooltipPaddingPortQVGA( 10 ); |
|
321 |
|
322 //Tooltip - LANDSCAPE |
|
323 const TInt KTooltipWidthLand( 352 ); |
|
324 const TInt KTooltipHeightLand( 226 ); |
|
325 const TInt KTooltipPositionXLand( 32 ); |
|
326 const TInt KTooltipPositionYLand( 31 ); |
|
327 const TInt KTooltipPaddingLand( 10 ); |
|
328 |
|
329 //Tooltip - LANDSCAPE QVGA |
|
330 const TInt KTooltipWidthLandQVGA( 240 ); |
|
331 const TInt KTooltipHeightLandQVGA( 170 ); |
|
332 const TInt KTooltipPositionXLandQVGA( 35 ); |
|
333 const TInt KTooltipPositionYLandQVGA( 11 ); |
|
334 const TInt KTooltipPaddingLandQVGA( 10 ); |
|
335 |
|
336 //SliderQuery - GENERAL |
|
337 const TUint32 KSliderQueryTransparency( 0x333333 ); |
|
338 |
|
339 //SliderQuery - PORTRAIT |
|
340 const TInt KSliderQueryWidthPort( 352 ); |
|
341 const TInt KSliderQueryHeightPort( 128 ); |
|
342 const TInt KSliderQueryPositionXPort( 0 ); |
|
343 const TInt KSliderQueryPositionYPort( 160 ); |
|
344 |
|
345 const TInt KSliderQueryButtonLeftXPort( 10 ); |
|
346 const TInt KSliderQueryButtonLeftYPort( 75 ); |
|
347 const TInt KSliderQueryBarXPort( 40 ); |
|
348 const TInt KSliderQueryBarYPort( 84 ); |
|
349 const TInt KSliderQueryButtonRightXPort( 322 ); |
|
350 const TInt KSliderQueryButtonRightYPort( 75 ); |
|
351 |
|
352 const TInt KSliderQueryButtonSizeXPort( 20 ); |
|
353 const TInt KSliderQueryButtonSizeYPort( 20 ); |
|
354 const TInt KSliderQueryBarSizeXPort( 272 ); |
|
355 const TInt KSliderQueryBarSizeYPort( 2 ); |
|
356 const TInt KSliderQueryHandleSizeXPort( 42 ); |
|
357 const TInt KSliderQueryHandleSizeYPort( 42 ); |
|
358 |
|
359 const TInt KSliderQueryTitlePosXPort( 10 ); |
|
360 const TInt KSliderQueryTitlePosYPort( 0 ); |
|
361 const TInt KSliderQueryTitleSizXPort( 282 ); |
|
362 const TInt KSliderQueryTitleSizYPort( 64 ); |
|
363 |
|
364 const TInt KSliderQueryHandlePositionYPort( 64 ); |
|
365 |
|
366 //SliderQuery - PORTRAIT QVGA |
|
367 const TInt KSliderQueryWidthPortQVGA( 240 ); |
|
368 const TInt KSliderQueryHeightPortQVGA( 100 ); |
|
369 const TInt KSliderQueryPositionXPortQVGA( 0 ); |
|
370 const TInt KSliderQueryPositionYPortQVGA( 124 ); |
|
371 |
|
372 const TInt KSliderQueryButtonLeftXPortQVGA( 8 ); |
|
373 const TInt KSliderQueryButtonLeftYPortQVGA( 59 ); |
|
374 const TInt KSliderQueryBarXPortQVGA( 25 ); |
|
375 const TInt KSliderQueryBarYPortQVGA( 65 ); |
|
376 const TInt KSliderQueryButtonRightXPortQVGA( 218 ); |
|
377 const TInt KSliderQueryButtonRightYPortQVGA( 59 ); |
|
378 |
|
379 const TInt KSliderQueryButtonSizeXPortQVGA( 14 ); |
|
380 const TInt KSliderQueryButtonSizeYPortQVGA( 14 ); |
|
381 const TInt KSliderQueryBarSizeXPortQVGA( 190 ); |
|
382 const TInt KSliderQueryBarSizeYPortQVGA( 2 ); |
|
383 const TInt KSliderQueryHandleSizeXPortQVGA( 32 ); |
|
384 const TInt KSliderQueryHandleSizeYPortQVGA( 32 ); |
|
385 |
|
386 const TInt KSliderQueryTitlePosXPortQVGA( 8 ); |
|
387 const TInt KSliderQueryTitlePosYPortQVGA( 0 ); |
|
388 const TInt KSliderQueryTitleSizXPortQVGA( 190 ); |
|
389 const TInt KSliderQueryTitleSizYPortQVGA( 50 ); |
|
390 |
|
391 const TInt KSliderQueryHandlePositionYPortQVGA( 50 ); |
|
392 |
|
393 //SliderQuery - LANDSCAPE |
|
394 const TInt KSliderQueryWidthLand( 416 ); |
|
395 const TInt KSliderQueryHeightLand( 144 ); |
|
396 const TInt KSliderQueryPositionXLand( 0 ); |
|
397 const TInt KSliderQueryPositionYLand( 144 ); |
|
398 |
|
399 const TInt KSliderQueryButtonLeftXLand( 19 ); |
|
400 const TInt KSliderQueryButtonLeftYLand( 86 ); |
|
401 const TInt KSliderQueryBarXLand( 58 ); |
|
402 const TInt KSliderQueryBarYLand( 95 ); |
|
403 const TInt KSliderQueryButtonRightXLand( 377 ); |
|
404 const TInt KSliderQueryButtonRightYLand( 86 ); |
|
405 |
|
406 const TInt KSliderQueryButtonSizeXLand( 20 ); |
|
407 const TInt KSliderQueryButtonSizeYLand( 20 ); |
|
408 const TInt KSliderQueryBarSizeXLand( 299 ); |
|
409 const TInt KSliderQueryBarSizeYLand( 2 ); |
|
410 const TInt KSliderQueryHandleSizeXLand( 42 ); |
|
411 const TInt KSliderQueryHandleSizeYLand( 42 ); |
|
412 |
|
413 const TInt KSliderQueryTitlePosXLand( 19 ); |
|
414 const TInt KSliderQueryTitlePosYLand( 0 ); |
|
415 const TInt KSliderQueryTitleSizXLand( 299 ); |
|
416 const TInt KSliderQueryTitleSizYLand( 73 ); |
|
417 |
|
418 const TInt KSliderQueryHandlePositionYLand( 73 ); |
|
419 |
|
420 //SliderQuery - LANDSCAPE QVGA |
|
421 const TInt KSliderQueryWidthLandQVGA( 320 ); |
|
422 const TInt KSliderQueryHeightLandQVGA( 96 ); |
|
423 const TInt KSliderQueryPositionXLandQVGA( 0 ); |
|
424 const TInt KSliderQueryPositionYLandQVGA( 96 ); |
|
425 |
|
426 const TInt KSliderQueryButtonLeftXLandQVGA( 13 ); |
|
427 const TInt KSliderQueryButtonLeftYLandQVGA( 57 ); |
|
428 const TInt KSliderQueryBarXLandQVGA( 40 ); |
|
429 const TInt KSliderQueryBarYLandQVGA( 63 ); |
|
430 const TInt KSliderQueryButtonRightXLandQVGA( 293 ); |
|
431 const TInt KSliderQueryButtonRightYLandQVGA( 57 ); |
|
432 |
|
433 const TInt KSliderQueryButtonSizeXLandQVGA( 14 ); |
|
434 const TInt KSliderQueryButtonSizeYLandQVGA( 14 ); |
|
435 const TInt KSliderQueryBarSizeXLandQVGA( 240 ); |
|
436 const TInt KSliderQueryBarSizeYLandQVGA( 2 ); |
|
437 const TInt KSliderQueryHandleSizeXLandQVGA( 32 ); |
|
438 const TInt KSliderQueryHandleSizeYLandQVGA( 32 ); |
|
439 |
|
440 const TInt KSliderQueryTitlePosXLandQVGA( 13 ); |
|
441 const TInt KSliderQueryTitlePosYLandQVGA( 0 ); |
|
442 const TInt KSliderQueryTitleSizXLandQVGA( 240 ); |
|
443 const TInt KSliderQueryTitleSizYLandQVGA( 48 ); |
|
444 |
|
445 const TInt KSliderQueryHandlePositionYLandQVGA( 48 ); |
|
446 |
|
447 // GENERAL |
|
448 const TInt KScreenModePortrait = 0; |
|
449 const TInt KScreenModeLandscape = 1; |
|
450 const TInt KScreenModePortraitQVGA = 2; |
|
451 const TInt KScreenModeLandscapeQVGA = 3; |
|
452 |
|
453 const TInt KScreenWidthPortrait = 352; |
|
454 const TInt KScreenWidthLandscape = 416; |
|
455 const TInt KScreenWidthPortraitQVGA = 240; |
|
456 const TInt KScreenWidthLandscapeQVGA = 320; |
|
457 |
|
458 #endif // IMAGEPRINTCONSTS_H |
|
459 |
|
460 // End of File |
|