soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
IUiDefInfo Interface Referenceabstract

Interface for UI definition information. More...

#include <SUiDef.h>

Inheritance diagram for IUiDefInfo:
IObjRef TObjRefImpl< IUiDefInfo >

Public Member Functions

virtual UINT Init (IResProvider *pResProvider, LPCTSTR pszUidef)=0
 Initializes the UI definition from a resource provider.
 
virtual UINT Init2 (IXmlNode *pNode, BOOL bGlobalDomain, IResProvider *pResProvider=NULL)=0
 Initializes the UI definition from an XML node.
 
virtual SSkinPoolGetSkinPool ()=0
 Retrieves the skin pool.
 
virtual SStylePoolGetStylePool ()=0
 Retrieves the style pool.
 
virtual STemplatePoolGetTemplatePool ()=0
 Retrieves the template pool.
 
virtual SGradientPoolGetGradientPool ()=0
 Retrieves the gradient pool.
 
virtual SNamedColorGetNamedColor ()=0
 Retrieves the named color manager.
 
virtual SNamedStringGetNamedString ()=0
 Retrieves the named string manager.
 
virtual SNamedDimensionGetNamedDimension ()=0
 Retrieves the named dimension manager.
 
virtual SNamedFontGetNamedFont ()=0
 Retrieves the named font manager.
 
virtual SStringW GetDefFontInfo ()=0
 Retrieves the default font information.
 
virtual SXmlNode GetCaretInfo ()=0
 Retrieves the caret information.
 
virtual SObjDefAttrGetObjDefAttr ()=0
 Retrieves the object default attribute manager.
 
- Public Member Functions inherited from IObjRef
long AddRef () PURE
 Increases the reference count.
 
long Release () PURE
 Decreases the reference count.
 
void OnFinalRelease () PURE
 Called when the reference count reaches zero and the object is about to be released.
 

Detailed Description

Interface for UI definition information.

Definition at line 34 of file SUiDef.h.

Member Function Documentation

◆ GetCaretInfo()

virtual SXmlNode IUiDefInfo::GetCaretInfo ( )
pure virtual

Retrieves the caret information.

Returns
XML node containing the caret information.

◆ GetDefFontInfo()

virtual SStringW IUiDefInfo::GetDefFontInfo ( )
pure virtual

Retrieves the default font information.

Returns
Default font information as a string.

◆ GetGradientPool()

virtual SGradientPool * IUiDefInfo::GetGradientPool ( )
pure virtual

Retrieves the gradient pool.

Returns
Pointer to the gradient pool.

◆ GetNamedColor()

virtual SNamedColor & IUiDefInfo::GetNamedColor ( )
pure virtual

Retrieves the named color manager.

Returns
Reference to the named color manager.

◆ GetNamedDimension()

virtual SNamedDimension & IUiDefInfo::GetNamedDimension ( )
pure virtual

Retrieves the named dimension manager.

Returns
Reference to the named dimension manager.

◆ GetNamedFont()

virtual SNamedFont & IUiDefInfo::GetNamedFont ( )
pure virtual

Retrieves the named font manager.

Returns
Reference to the named font manager.

◆ GetNamedString()

virtual SNamedString & IUiDefInfo::GetNamedString ( )
pure virtual

Retrieves the named string manager.

Returns
Reference to the named string manager.

◆ GetObjDefAttr()

virtual SObjDefAttr * IUiDefInfo::GetObjDefAttr ( )
pure virtual

Retrieves the object default attribute manager.

Returns
Pointer to the object default attribute manager.

◆ GetSkinPool()

virtual SSkinPool * IUiDefInfo::GetSkinPool ( )
pure virtual

Retrieves the skin pool.

Returns
Pointer to the skin pool.

◆ GetStylePool()

virtual SStylePool * IUiDefInfo::GetStylePool ( )
pure virtual

Retrieves the style pool.

Returns
Pointer to the style pool.

◆ GetTemplatePool()

virtual STemplatePool * IUiDefInfo::GetTemplatePool ( )
pure virtual

Retrieves the template pool.

Returns
Pointer to the template pool.

◆ Init()

virtual UINT IUiDefInfo::Init ( IResProvider * pResProvider,
LPCTSTR pszUidef )
pure virtual

Initializes the UI definition from a resource provider.

Parameters
pResProviderPointer to the resource provider.
pszUidefUI definition resource ID.
Returns
Number of resources initialized.

◆ Init2()

virtual UINT IUiDefInfo::Init2 ( IXmlNode * pNode,
BOOL bGlobalDomain,
IResProvider * pResProvider = NULL )
pure virtual

Initializes the UI definition from an XML node.

Parameters
pNodeXML node containing the UI definition.
bGlobalDomainTRUE if the domain is global, FALSE otherwise.
pResProviderPointer to the resource provider (optional).
Returns
Number of resources initialized.

The documentation for this interface was generated from the following file: