| class CAknNoteControl::TIndex |
Manage indexes into LAF tables
NP stands for "Note Popup"
WNP stands for "Waiting/progress Note Popup"
NWIP stands for "Note With Image Popup"
| Public Member Functions | |
|---|---|
| TIndex ( TInt , TBool , TSize ) | |
| TInt | Lines () |
| TInt | NWIPWindowTextsLine1B ( TInt ) |
| TInt | NWIPWindowTextsLine1L ( TInt ) |
| TInt | NWIPWindowTextsLine1R ( TInt ) |
| TInt | NWIPWindowTextsLine1W ( TInt ) |
| TInt | PopupNoteWaitWindow () |
| TInt | PopupNoteWindow () |
| TInt | WNPWindowTextsLine1 ( TInt ) |
| Private Member Functions | |
|---|---|
| TInt | HasNtiIndex () |
| TInt | ImageHeightIndex () |
| TInt | ImageWidthIndex () |
| void | SelfTest () |
| Private Attributes | |
|---|---|
| TBool | iHasNti |
| TSize | iImageSize |
| TInt | iNumberOfLines |
| TIndex | ( | TInt | aNumberOfLines, |
| TBool | aHasNti = EFalse, | ||
| TSize | aImageSize = TSize (0, 0) | ||
| ) | |||
C++ default constructor.
| TInt | NWIPWindowTextsLine1B | ( | TInt | aLineNum | ) | const |
Return Bottom index into table "Note With Image Popup Window Texts Line 1". Index is the same as the number of text lines minus one. See table in *.lay and LAF specs for working out indexes.
| TInt aLineNum | Line number. |
| TInt | NWIPWindowTextsLine1L | ( | TInt | aLineNum | ) | const |
Return Left index into table "Note With Image Popup Window Texts Line 1". Index depends on number of text lines, whether or not there is a number type indication (NTI). See table in *.lay and LAF specs for working out indexes.
| TInt aLineNum | Line number. |
| TInt | NWIPWindowTextsLine1R | ( | TInt | aLineNum | ) | const |
Return Right index into table "Note With Image Popup Window Texts Line 1". Index depends on number of text lines and image size. See table in *.lay and LAF specs for working out indexes.
Dimension 1 is the line number
Dimension 2 is the image width
Dimension 3 is the image height
| TInt aLineNum | Line number. |
| TInt | NWIPWindowTextsLine1W | ( | TInt | aLineNum | ) | const |
Return Width index into table "Note With Image Popup Window Texts Line 1". Index depends on number of text lines, whether or not there is a number type indication (NTI) and image size. See table in *.lay and LAF specs for working out indexes.
Dimension 1 indicates the presence of an NTI(index 0 = NO NTI, index 1 = NTI)
Dimension 2 is the line number
Dimension 3 is the image width
Dimension 4 is the image height
| TInt aLineNum | Line number. |
| TInt | PopupNoteWaitWindow | ( | ) | const |
Return indexes for table AKN_LAYOUT_WINDOW_popup_note_wait_window . If there are 0-2 lines the index is 0. If there are 3 lines the index is 1, if there are 4 lines the index is 2.
| TInt | PopupNoteWindow | ( | ) | const |
Return indexes for table AKN_LAYOUT_WINDOW_popup_note_window . If there are 0-2 lines the index is 0. If there are 3 lines the index is 1, if there are 4 or more lines the index is 2.
| TInt | WNPWindowTextsLine1 | ( | TInt | aLineNum | ) | const |
Return index into table "Waiting/progress Note Popup Window Texts Line 1". Index depends on the number of text lines and whether or not there is a number type indication (NTI). See table in *.lay and LAF specs for working out indexes.
| TInt aLineNum | Line number. |
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.