CCoeControlStaticSettings Class Reference
class CCoeControlStaticSettings : public CCoeStatic |
Holds global settings for all CCoeControls.
This class is not designed for general use. It is intended to be used to override certain settings on a system-wide basis at startup. At present, the only settings it contains are 1. To set whether or not CCoeControls take focus on creation. By default, a CCoeControl does take focus - this class can be used to change that. To use it, CCoeControlStaticSettings::SetFocusedByDefaultL() should be called from a "start-up" DLL to set the default once. Changing the default on the fly will almost certainly cause instability. 2. To set whether the CC This class should only be used by developers of User Interfaces for Symbian OS phones.
Inherits from
- CCoeControlStaticSettings
Inherited Functions |
---|
| CBase::CBase() |
| CBase::Delete(CBase *) |
| CBase::Extension_(TUint,TAny *&,TAny *) |
| CBase::operator new(TUint) |
| CBase::operator new(TUint,TAny *) |
| CBase::operator new(TUint,TLeave) |
| CBase::operator new(TUint,TLeave,TUint) |
| CBase::operator new(TUint,TUint) |
| CBase::~CBase() |
| CCoeStatic::CCoeStatic() |
| CCoeStatic::CCoeStatic(TUid,TInt,TScope) |
| CCoeStatic::CCoeStatic(TUid,TScope) |
| CCoeStatic::~CCoeStatic() |
Constructor & Destructor Documentation
CCoeControlStaticSettings()
CCoeControlStaticSettings | ( | ) | [private] |
~CCoeControlStaticSettings()
~CCoeControlStaticSettings | ( | ) | [private] |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
FocusedByDefault()
IMPORT_C TBool | FocusedByDefault | ( | ) | [static] |
Retrieves the global setting that determines whether CCoeControls take focus when created.
If the CCoeControlStaticSettings object does not exist, then the default is to return true, which gives unchanged behaviour from pre-v9.0 releases.
FocusedByDefault(CCoeEnv *)
Retrieves the global setting that determines whether CCoeControls take focus when created.
If the CCoeControlStaticSettings object does not exist, then the default is to return true, which gives unchanged behaviour from pre-v9.0 releases.
Parameters
CCoeEnv * aCoeEnv | The Control environment. |
GetLogicalToPixelFontSizesL(RArray< TInt > &)
IMPORT_C void | GetLogicalToPixelFontSizesL | ( | RArray< TInt > & | aLogicalToPixelSizes | ) | [static] |
Populates the TInt array provided as a parameter with the font pixel sizes.
Parameters
RArray< TInt > & aLogicalToPixelSizes | TInt array to be poulated with font sizes |
OrdinalForAllViews()
IMPORT_C TBool | OrdinalForAllViews | ( | ) | [static] |
Retrieves the global setting that determines whether a window's ordinal is set for all views (ETrue) or only when the top view is not active (EFalse)
If the CCoeControlStaticSettings object does not exist, then the default is to return EFalse.
ParentByDefault()
IMPORT_C TBool | ParentByDefault | ( | ) | [static] |
Returns value of ROM-patchable constant KCoeSetControlParentByDefault. Patch for emulator builds by adding "patchdata_cone_dll_KCoeSetControlParentByDefault X" to epoc.ini where X is either 0 (zero) for "off" or 1 (one) for "on". Only valid in Symbian OS 9.3 and 9.4.
SetFocusedByDefaultL(TBool)
IMPORT_C void | SetFocusedByDefaultL | ( | TBool | aFocusedByDefault | ) | [static] |
Globally sets whether CCoeControls should take focus when they are created.
This function should be called from within a CEikLibrary plugin.
Parameters
TBool aFocusedByDefault | True if CCoeControls should take focus when created, false if not. |
SetLogicalToPixelFontSizesL(const RArray< TInt > &)
IMPORT_C void | SetLogicalToPixelFontSizesL | ( | const RArray< TInt > & | aLogicalToPixelSizes | ) | [static] |
Sets the default array of font pixel sizes.
Parameters
const RArray< TInt > & aLogicalToPixelSizes | TInt array to use as default with font sizes |
SetOrdinalForAllViewsL(TBool)
IMPORT_C void | SetOrdinalForAllViewsL | ( | TBool | aOrdinalForAllViews | ) | [static] |
Globally sets whether a window's ordinal is set for all views (ETrue) or only when the top view is not active (EFalse)
This function should be called from within a CEikLibrary plugin.
Parameters
TBool aOrdinalForAllViews | ETrue if the window's ordinal will be set for all views, EFalse if not. |
SetParentByDefaultL(TBool)
IMPORT_C void | SetParentByDefaultL | ( | TBool | aParentByDefault | ) | [static] |
SetSystemTypefaceL(const TDesC &)
IMPORT_C void | SetSystemTypefaceL | ( | const TDesC & | aTypeface | ) | [static] |
Sets the default system type face name.
Parameters
const TDesC & aTypeface | is the name to set default system typeface name to |
SystemTypeface()
IMPORT_C const TDesC & | SystemTypeface | ( | ) | [static] |
Returns the default system type face name.
Member Data Documentation
TBool
iFocusedByDefault
TBool
| iFocusedByDefault | [private] |
RArray< TInt > iLogicalToPixelSizes
TBool
iOrdinalForAllViews
TBool
| iOrdinalForAllViews | [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.