310 * |
293 * |
311 * @since Symbian TB9.2 |
294 * @since Symbian TB9.2 |
312 * @return font of candidate list. |
295 * @return font of candidate list. |
313 */ |
296 */ |
314 const CFont* CandidateFont(); |
297 const CFont* CandidateFont(); |
|
298 |
|
299 /** |
|
300 * Get indicator rect |
|
301 */ |
315 TRect GetIndicatorRect(); |
302 TRect GetIndicatorRect(); |
|
303 |
|
304 /** |
|
305 * Get arrow padding size |
|
306 */ |
316 TSize GetArrowPaddingSize(); |
307 TSize GetArrowPaddingSize(); |
317 public: //sct paging buttons |
308 public: //sct paging buttons |
318 /** |
309 /** |
319 * get text layout of sct paging button. |
310 * get text layout of sct paging button. |
320 * |
311 * |
321 * @since Symbian TB9.2 |
312 * @since Symbian TB9.2 |
322 * @return a TAknTextLineLayout object to layout text. |
313 * @return a TAknTextLineLayout object to layout text. |
323 */ |
314 */ |
324 TAknTextLineLayout SctPageBtnTxtLayout(); |
315 TAknTextLineLayout SctPageBtnTxtLayout(); |
325 TSize SymbolGroupButtonSize(); |
316 |
|
317 /** |
|
318 * Get buttons rects for symbol table |
|
319 */ |
|
320 RArray<TRect>& GetSymBtnArray(); |
|
321 |
|
322 /** |
|
323 * Get virtual key pad rect |
|
324 */ |
|
325 TRect GetVirtualKeyRect(); |
326 private: |
326 private: |
327 |
327 |
328 /** |
328 /** |
329 * C++ constructor |
329 * C++ constructor |
330 * |
330 * |
338 * |
338 * |
339 * @since Symbian TB9.2 |
339 * @since Symbian TB9.2 |
340 * @return None |
340 * @return None |
341 */ |
341 */ |
342 void ConstructL(); |
342 void ConstructL(); |
343 |
343 |
|
344 private: |
|
345 /** |
|
346 * Retrieve layout data |
|
347 */ |
|
348 void RetrieveLayoutData(); |
|
349 |
|
350 /** |
|
351 * Retrieve the laf data for ICF editor |
|
352 */ |
|
353 void RetrieveLafDataForICF(); |
|
354 |
|
355 /** |
|
356 * Retrieve the laf data for function button: |
|
357 * Close, optons, symbol, delete, and arrows buttons. |
|
358 */ |
|
359 void RetrieveLafDataForFunctionalButton(); |
|
360 |
|
361 /** |
|
362 * Retrieve the laf data for candidate list |
|
363 */ |
|
364 void RetrieveLafDataForCandidateList(); |
|
365 |
|
366 /** |
|
367 * Retrieve the laf data for symbol table |
|
368 */ |
|
369 void RetrieveLafDataForSymbolTable(); |
|
370 |
|
371 /** |
|
372 * Retrieve the landscape laf data for symbol table |
|
373 */ |
|
374 void RetrieveLandscapeLafDataForSymbolTable(); |
|
375 |
|
376 /** |
|
377 * Retrieve the portrait laf data for symbol table |
|
378 */ |
|
379 void RetrievePortraitLafDataForSymbolTable(); |
|
380 |
|
381 /** |
|
382 * Retrieve the laf data for HWR writing box |
|
383 */ |
|
384 void RetrieveLafDataForHwrBox(); |
|
385 |
|
386 /** |
|
387 * Retrieve the laf data for Candidate Preview bubble |
|
388 */ |
|
389 void RetrieveLafDataForPreviewBubble(); |
|
390 |
344 private: //datas |
391 private: //datas |
345 |
392 |
346 TBool iIsLandscape; |
393 TBool iIsLandscape; |
347 |
394 TRect iLayoutRect; |
348 // constrols position |
395 TPoint iLayoutOffset; |
|
396 TSize iScreenSize; |
|
397 /** |
|
398 * control rects |
|
399 * |
|
400 */ |
349 TRect iRectIcf; |
401 TRect iRectIcf; |
350 TRect iRectWritingBox; |
402 TRect iRectWritingBox; |
351 TRect iRectNumpad; |
403 TRect iRectNumpad; |
352 TRect iRectSctpad; |
404 TRect iRectSctpad; |
353 TRect iRectSpase; |
405 TRect iRectSpase; |
354 TRect iRectEnter; |
406 TRect iRectEnter; |
355 |
407 TRect iIndicatorRect; |
|
408 |
|
409 /** |
|
410 * Functinal button laf |
|
411 */ |
356 TRect iRectBtnClose; |
412 TRect iRectBtnClose; |
357 TRect iRectBtnRangeChn; |
|
358 TRect iRectBtnRangeEng; |
|
359 TRect iRectBtnRangeNum; |
|
360 TRect iRectBtnRangeSmb; |
413 TRect iRectBtnRangeSmb; |
361 TRect iRectBtnBackspace; |
414 TRect iRectBtnBackspace; |
362 TRect iRectBtnArrowLeft; |
415 TRect iRectBtnArrowLeft; |
363 TRect iRectBtnArrowRight; |
416 TRect iRectBtnArrowRight; |
364 TRect iRectBtnArrowUp; |
417 TRect iRectBtnArrowUp; |
365 TRect iRectBtnArrowDown; |
418 TRect iRectBtnArrowDown; |
366 TRect iRectBtnOption; |
419 TRect iRectBtnOption; |
367 TRect iRectBtnImeSwitch; |
|
368 TRect iRectBtnSctPage; |
420 TRect iRectBtnSctPage; |
369 |
421 TSize iArrowPaddingSize; |
370 TSize iSizeBtnPadding; |
422 TSize iSizeBtnPadding; |
371 TSize iSizeNumpadCell; |
423 |
372 |
424 /** |
373 TInt iSctpadRowCount; |
425 * ICF laf |
374 TInt iSctpadColCount; |
426 */ |
375 TSize iSizeSctpadCell; |
427 TInt iIcfTextLeftMargin; |
376 |
428 TInt iIcfTextRightMargin; |
377 TRect iLayoutRect; |
429 TInt iIcfTextTopMargin; |
378 TPoint iLayoutOffset; |
430 TInt iIcfTextBottomMargin; |
379 |
431 TInt iIcfTextLineSpaceMargin; |
380 TInt iIcfTextLeftMarginCn; |
432 TInt iIcfTextHeight; |
381 TInt iIcfTextRightMarginCn; |
|
382 TInt iIcfTextTopMarginCn; |
|
383 TInt iIcfTextBottomMarginCn; |
|
384 TInt iIcfTextLineSpaceMarginCn; |
|
385 TInt iIcfTextHeightCn; |
|
386 TInt iIcfTextAlignment; |
433 TInt iIcfTextAlignment; |
387 CFont* iIcfFont; |
434 CFont* iIcfFont; |
388 |
435 |
|
436 /** |
|
437 * Candidate laf |
|
438 */ |
389 TInt iCandsHorizontalMargin; |
439 TInt iCandsHorizontalMargin; |
390 TInt iCandsVerticalMargin; |
440 TInt iCandsVerticalMargin; |
391 TInt iCandsUnitWidth; |
441 TInt iCandsUnitWidth; |
392 TInt iCandsUnitHeight; |
442 TInt iCandsUnitHeight; |
393 TInt iCandsNaviHeight; |
|
394 TPoint iCandidateLTPos; |
443 TPoint iCandidateLTPos; |
395 TPoint iPredictiveLTPos; |
|
396 CFont* iCandsFont; |
444 CFont* iCandsFont; |
397 TInt iCandsTextMargin; |
445 TInt iCandsTextMargin; |
398 |
446 |
399 TSize iScreenSize; |
447 /** |
400 |
448 * Symbol table laf data |
|
449 */ |
|
450 TRect iRectOfSymbolTable; |
|
451 TInt iSctpadRowCount; |
|
452 TInt iSctpadColCount; |
|
453 TSize iSizeSctpadCell; |
|
454 RArray<TRect> iSymBtnRectArray; |
|
455 |
|
456 /** |
|
457 * virtual key rects array |
|
458 */ |
401 RArray<TRect> iSCTrectArray; |
459 RArray<TRect> iSCTrectArray; |
402 |
460 |
403 // preview bubble |
461 /** |
|
462 * Preview bubble |
|
463 */ |
404 TRect iPreviewWndRect; |
464 TRect iPreviewWndRect; |
405 TRect iPreviewWndInnerRect; |
465 TRect iPreviewWndInnerRect; |
406 const CFont* iBubbleFont; |
466 const CFont* iBubbleFont; |
407 TAknTextLineLayout iPreviewWndText; |
467 TAknTextLineLayout iPreviewWndText; |
408 TSize iSymButtonSize; |
|
409 TRect iRectOfSymbolTable; |
|
410 TRect iIndicatorRect; |
|
411 TSize iArrowPaddingSize; |
|
412 }; |
468 }; |
413 |
469 |
414 #endif // C_PENINPUTFINGERHWRARLAFMANAGER_H |
470 #endif // C_PENINPUTFINGERHWRARLAFMANAGER_H |
415 |
471 |
416 // End Of File |
472 // End Of File |