|
| | SouiLayoutParam () |
| | 构造函数
|
| |
| void | Clear () OVERRIDE |
| | 清除布局参数
|
| |
| BOOL | IsMatchParent (ORIENTATION orientation) SCONST OVERRIDE |
| | 检查是否匹配父容器大小
|
| |
| BOOL | IsWrapContent (ORIENTATION orientation) SCONST OVERRIDE |
| | 检查是否包裹内容大小
|
| |
| BOOL | IsSpecifiedSize (ORIENTATION orientation) SCONST OVERRIDE |
| | 检查是否指定大小
|
| |
| SLayoutSize | GetSpecifiedSize (ORIENTATION orientation) SCONST OVERRIDE |
| | 获取指定大小
|
| |
| void | SetMatchParent (ORIENTATION orientation) OVERRIDE |
| | 设置匹配父容器大小
|
| |
| void | SetWrapContent (ORIENTATION orientation) OVERRIDE |
| | 设置包裹内容大小
|
| |
| void | SetSpecifiedSize (ORIENTATION orientation, const SLayoutSize &layoutSize) OVERRIDE |
| | 设置指定大小
|
| |
| void * | GetRawData () OVERRIDE |
| | 获取原始数据指针
|
| |
| ILayoutParam * | Clone () SCONST OVERRIDE |
| | 克隆布局参数
|
| |
| bool | IsOffsetRequired (ORIENTATION orientation) const |
| | 检查是否需要偏移
|
| |
| int | GetExtraSize (ORIENTATION orientation, int nScale) const |
| | 获取额外大小
|
| |
| | TObjRefImpl () |
| | Constructor that initializes the reference count to 1.
|
| |
| virtual | ~TObjRefImpl () |
| | Virtual destructor.
|
| |
| long | AddRef () override |
| | Increments the reference count.
|
| |
| long | Release () override |
| | Decrements the reference count and deletes the object if the count reaches zero.
|
| |
| void | OnFinalRelease () override |
| | Deletes the object.
|
| |
| | SObjectImpl () |
| | Constructor.
|
| |
| BOOL | InitFromXml (IXmlNode *pXmlNode) OVERRIDE |
| | Initializes the object from an XML node.
|
| |
| LPCWSTR | GetName () SCONST OVERRIDE |
| | Retrieves the object's name.
|
| |
| LPCSTR | GetNameA () SCONST OVERRIDE |
| | Retrieves the object's name in ANSI format.
|
| |
| void | SetName (LPCWSTR pszName) OVERRIDE |
| | Sets the object's name.
|
| |
| int | GetID () SCONST OVERRIDE |
| | Retrieves the object's ID.
|
| |
| void | SetID (int nID) OVERRIDE |
| | Sets the object's ID.
|
| |
| HRESULT | AfterAttribute (LPCWSTR strAttribName, LPCWSTR strValue, BOOL bLoading, HRESULT hr) OVERRIDE |
| | Handles attribute processing after setting an attribute.
|
| |
| HRESULT | SetAttributeA (LPCSTR pszAttr, LPCSTR pszValue, BOOL bLoading) OVERRIDE |
| | Sets an attribute using ANSI strings.
|
| |
| HRESULT | SetAttribute (LPCWSTR pszAttr, LPCWSTR pszValue, BOOL bLoading) OVERRIDE |
| | Sets an attribute using wide strings.
|
| |
| virtual HRESULT | SetAttribute (const SStringW &strAttr, const SStringW &strValue, BOOL bLoading) |
| | Sets an attribute using wide strings.
|
| |
| HRESULT | ISetAttribute (const IStringW *strAttr, const IStringW *strValue, BOOL bLoading) OVERRIDE |
| | Sets an attribute using IStringW objects.
|
| |
| LPCWSTR | GetObjectClass () SCONST OVERRIDE |
| | Retrieves the object's class name.
|
| |
| int | GetObjectType () SCONST OVERRIDE |
| | Retrieves the object's type.
|
| |
| BOOL | IsClass (LPCWSTR lpszName) SCONST OVERRIDE |
| | Checks if the object is of a specific class.
|
| |
| BOOL | GetAttribute (LPCWSTR strAttr, IStringW *pValue) SCONST OVERRIDE |
| | Retrieves an attribute value.
|
| |
| void | OnInitFinished (IXmlNode *xmlNode) OVERRIDE |
| | Handles initialization completion.
|
| |
| void | SetAttrHandler (FunAttrHandler attrHandler) OVERRIDE |
| | Sets the attribute handler.
|
| |
| virtual HRESULT | DefAttributeProc (const SStringW &strAttr, const SStringW &strValue, BOOL bLoading) |
| | Default attribute processing.
|
| |
|
| HRESULT | OnAttrWidth (const SStringW &strValue, BOOL bLoading) |
| | 处理宽度属性
|
| |
| HRESULT | OnAttrHeight (const SStringW &strValue, BOOL bLoading) |
| | 处理高度属性
|
| |
| HRESULT | OnAttrSize (const SStringW &strValue, BOOL bLoading) |
| | 处理大小属性
|
| |
| HRESULT | OnAttrPos (const SStringW &strValue, BOOL bLoading) |
| | 处理位置属性
|
| |
| HRESULT | OnAttrOffset (const SStringW &strValue, BOOL bLoading) |
| | 处理偏移属性
|
| |
| virtual HRESULT | SetAttribute (const SNS::SStringW &strAttribName, const SNS::SStringW &strValue, BOOL bLoading=FALSE) |
| |
| BOOL | StrPos2ItemPos (const SStringW &strPos, POS_INFO &posItem) |
| | 将字符串描述的坐标转换成POSITION_ITEM
|
| |
| BOOL | ParsePosition12 (const SStringW &pos1, const SStringW &pos2) |
| | 解析在pos中定义的前两个位置
|
| |
| BOOL | ParsePosition34 (const SStringW &pos3, const SStringW &pos4) |
| | 解析在pos中定义的后两个位置
|
| |
Soui布局参数类
Definition at line 14 of file SouiLayout.h.