CPeninputVkbLayoutInfo Class Reference
| class CPeninputVkbLayoutInfo : public CBase |
vkb layout definition
This class is to implement vkb layout. Application can create it from resource file. This class is to control vkb interface layout.
peninputvkb.lib
- Since
- S60 v3.2
| Public Member Functions |
|---|
| ~CPeninputVkbLayoutInfo() |
|
CFbsBitmap * | BgBmp() |
|
CFbsBitmap * | BgMaskBmp() |
| const CFont * | CharFont() |
|
TPoint
| CharLeftTopPoint() |
|
TInt
| Columns() |
| void | ConstructFromResourceL(TResourceReader &, CPeninputVkbCtrlExt *, TInt) |
|
CFbsBitmap * | DimBmp() |
|
CFbsBitmap * | DimMaskBmp() |
| IMPORT_C CPeninputVkbKeyInfo * | FindKey(const TInt) |
| IMPORT_C const TSize | GetRealSize(const TInt, const TInt) |
|
RPointerArray< CFbsBitmap > | HighlightBmps() |
|
RPointerArray< CFbsBitmap > | HighlightMaskBmps() |
|
RPointerArray< CPeninputVkbKeyInfo > | KeyInfoList() |
|
TInt
| LayoutID() |
| IMPORT_C void | MoveKeys(const TPoint &) |
| IMPORT_C CPeninputVkbLayoutInfo * | NewL(TResourceReader &) |
| IMPORT_C CPeninputVkbLayoutInfo * | NewLC(TResourceReader &) |
| IMPORT_C void | ResetLayoutInfo(const TSize &) |
| IMPORT_C void | ResetSize(const TInt, const TInt, const TInt, const TInt, const TPoint &, const CFont *) |
|
TInt
| Rows() |
| IMPORT_C void | SetKeyInfo(const TInt, const TInt, const TRect &, const TRect &, const CFont *) |
|
TInt
| UnitCharHeight() |
|
TInt
| UnitCharWidth() |
|
TInt
| UnitHeight() |
|
TInt
| UnitWidth() |
Constructor & Destructor Documentation
CPeninputVkbLayoutInfo()
| CPeninputVkbLayoutInfo | ( | ) | [protected] |
~CPeninputVkbLayoutInfo()
| IMPORT_C | ~CPeninputVkbLayoutInfo | ( | ) | [virtual] |
Member Functions Documentation
CharFont()
| const CFont * | CharFont | ( | ) | const [inline] |
CharLeftTopPoint()
|
TPoint
| CharLeftTopPoint | ( | ) | const [inline] |
Get the char's left top point
Columns()
|
TInt
| Columns | ( | ) | const [inline] |
ConstructFromResourceL(TResourceReader &, CPeninputVkbCtrlExt *, TInt)
Construct from resourcr file
ConstructL(TResourceReader &)
Symbian second-phase constructor
FindKey(const TInt)
Find the key from the vkb accroding to the unicode
Parameters
| const TInt aUnicode | Unicode |
GetRealSize(const TInt, const TInt)
| IMPORT_C const TSize | GetRealSize | ( | const TInt | aUnitWidth, |
| | const TInt | aUnitHeight |
| | ) | const |
Get real size from vkb layout
Parameters
| const TInt aUnitWidth | Unit width |
| const TInt aUnitHeight | Unit height |
HighlightBmps()
Get high light bitmap array
HighlightMaskBmps()
Get high light mask bitmap array
LayoutID()
|
TInt
| LayoutID | ( | ) | const [inline] |
MoveKeys(const TPoint &)
| IMPORT_C void | MoveKeys | ( | const TPoint & | aTopLeft | ) | |
Move key to certain point
Parameters
| const TPoint & aTopLeft | Point to move |
ResetLayoutInfo(const TSize &)
| IMPORT_C void | ResetLayoutInfo | ( | const TSize & | aSize | ) | |
Parameters
| const TSize & aSize | Keyboard size |
ResetSize(const TInt, const TInt, const TInt, const TInt, const TPoint &, const CFont *)
| IMPORT_C void | ResetSize | ( | const TInt | aUnitWidth, |
| | const TInt | aUnitHeight, |
| | const TInt | aUnitCharWidth, |
| | const TInt | aUnitCharHeight, |
| | const TPoint & | aCharLeftTopPoint, |
| | const CFont * | aFont |
| | ) | |
Parameters
| const TInt aUnitWidth | Unit width |
| const TInt aUnitHeight | Unit height |
| const TInt aUnitCharWidth | Unit char width |
| const TInt aUnitCharHeight | Unit char height |
| const TPoint & aCharLeftTopPoint | Left top point of unit char |
| const CFont * aFont | |
Rows()
|
TInt
| Rows | ( | ) | const [inline] |
SetKeyInfo(const TInt, const TInt, const TRect &, const TRect &, const CFont *)
| IMPORT_C void | SetKeyInfo | ( | const TInt | aRow, |
| | const TInt | aColumn, |
| | const TRect & | aKeyRect, |
| | const TRect & | aCharRect, |
| | const CFont * | aFont |
| | ) | |
UnitCharHeight()
|
TInt
| UnitCharHeight | ( | ) | const [inline] |
UnitCharWidth()
|
TInt
| UnitCharWidth | ( | ) | const [inline] |
UnitHeight()
|
TInt
| UnitHeight | ( | ) | const [inline] |
UnitWidth()
|
TInt
| UnitWidth | ( | ) | const [inline] |
Member Data Documentation
CFbsBitmap * iBgMaskBmp
Background mask bitmap Own
TPoint
iCharLeftTopPoint
|
TPoint
| iCharLeftTopPoint | [private] |
const CFont * iFont
| const CFont * | iFont | [private] |
RPointerArray< CFbsBitmap > iHighlightBmps
RPointerArray< CFbsBitmap > iHighlightMaskBmps
High light mask bitmap array
RPointerArray< CPeninputVkbKeyInfo > iKeyInfoList
TInt
iUnitCharHeight
|
TInt
| iUnitCharHeight | [private] |
TInt
iUnitCharWidth
|
TInt
| iUnitCharWidth | [private] |
TInt
iUnitHeight
|
TInt
| iUnitHeight | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.