TSurfaceConfiguration2 Class Reference
class TSurfaceConfiguration2 : public TSurfaceConfiguration1
|
The second set of surface configuration attributes containing the flip attribute of the surface, along with a SupportsAllMembers function to help identify which attributes are available.
Constructor & Destructor Documentation
TSurfaceConfiguration2()
TSurfaceConfiguration2
|
(
|
)
|
[inline]
|
Default constructor for configuration 2
TSurfaceConfiguration2(TInt)
TSurfaceConfiguration2
|
(
|
TInt
|
aSize
|
)
|
[protected, inline]
|
Constructor for configuration 2 passing through a size already calculated
Parameters
TInt
aSize
|
Size of the class already calculated and being passed up through the classes
|
TSurfaceConfiguration2(const TSurfaceConfiguration2 &)
Member Functions Documentation
Flip()
TBool
|
Flip
|
(
|
)
|
const [inline]
|
The method gets the flip attribute of the surface stored in the object of this class. If the flip was not set, the value returned will be EFalse.
-
Post-condition
-
If the instance of
TSurfaceConfiguration
is too small, the default EFalse setting will be returned.
SetFlip(TBool)
This method sets the flip attribute to the surface. The default value is EFalse.
-
Post-condition
-
The flip attribute is updated in the object of this class. This does not imply that the flip is set for the surface content. The SetBackgroundSurface API must be called passing an object of this class as parameter to get the desired effect.
Parameters
TBool
aFlip
|
When ETrue enalbes flip in the x-axis
|
SupportsAllMembers()
TBool
|
SupportsAllMembers
|
(
|
)
|
[inline]
|
This method identifies which attributes are available to use.
Generally, any version of the server will accept any version of
TSurfaceConfiguration
, ignoring newer version attributes it does not recognize and substituting defaults for attributes not present in older version.
However, by using this method in conjunction with GetBackgroundSurface() the intelligent client can identify which blocks of attributes are actually present and supported after a call to GetBackgroundSurface, avoiding preparing complex attributes, or reducing user-interface control gadgets.
operator=(const TSurfaceConfiguration2 &)
operator==(const TSurfaceConfiguration2 &)
Member Data Documentation
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.