class TAknWindowLineLayout |
A window line structure from layout.
Public Member Functions | |
---|---|
TAknWindowLineLayout () | |
TAknWindowLineLayout ( TInt ) | |
TAknWindowLineLayout (const TAknWindowComponentLayout &) | |
IMPORT_C TAknWindowLineLayout | CombineLines ( TAknWindowLineLayout , TAknWindowLineLayout ) |
TBool | IsRect () |
TRect | Rect () |
IMPORT_C TAknWindowLineLayout | operator= (const TAknWindowComponentLayout &) |
Public Attributes | |
---|---|
TInt16 | iC |
TInt16 | iH |
TInt16 | iW |
TInt16 | ib |
TInt16 | il |
TInt16 | ir |
TInt16 | it |
IMPORT_C | TAknWindowLineLayout | ( | const TAknWindowComponentLayout & | aLine | ) |
const TAknWindowComponentLayout & aLine |
IMPORT_C TAknWindowLineLayout | CombineLines | ( | TAknWindowLineLayout | aLine, |
TAknWindowLineLayout | aLine2 | |||
) | [static] |
TAknWindowLineLayout aLine | |
TAknWindowLineLayout aLine2 |
TRect | Rect | ( | ) | const [inline] |
Convert this structure to a rectangle This is only valid when IsRect() returns ETrue. It is intended that this is used when the caller knows that the LAF line encoded in this structure is written with l, t, W and H specified, as is the case with many LAF lines.
THIS METHOD IS DEPRECATED, PLEASE DO NOT USE IT! USE OF THIS METHOD MAY RETURN UNEXPECTED VALUES IN SCALABLE UI.
Here's CORRECT WAY to do the same thing: TRect parent = iAvkonAppUi->ClientRect(); // pick parent rectangle from existing control hierarchy. TAknLayoutRect rect; rect.LayoutRect(parent, AknLayout::xxxx() ); // TAknWindowLineLayout should go directly to LayoutRect/LayoutControl etc. methods ... use rect.Rect().... // This one is VALID rectangle, calculated based on parent rectangle.
NOTE, the parent comes from _existing control hierarchy_ CCoeControl::Rect() or from TAknLayoutRect::Rect() method.
BUT PLEASE, DO NOT USE TAknWindowLineLayout::Rect() , because it assumes invalid things about our layout data. (the parent rectangle _needs_ to be provided to get a valid rectangle!)
THIS METHOD IS DEPRECATED, PLEASE DO NOT USE IT! USE OF THIS METHOD MAY RETURN UNEXPECTED VALUES IN SCALABLE UI.
IMPORT_C TAknWindowLineLayout | operator= | ( | const TAknWindowComponentLayout & | aLine | ) |
const TAknWindowComponentLayout & aLine |
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.