|
| | SouiLayout (void) |
| | 构造函数
|
| |
| | ~SouiLayout (void) |
| | 析构函数
|
| |
| BOOL | IsParamAcceptable (const ILayoutParam *pLayoutParam) SCONST OVERRIDE |
| | 检查布局参数是否可接受
|
| |
| void | LayoutChildren (IWindow *pParent) OVERRIDE |
| | 布局子窗口
|
| |
| ILayoutParam * | CreateLayoutParam () SCONST OVERRIDE |
| | 创建布局参数对象
|
| |
| SIZE | MeasureChildren (const IWindow *pParent, int nWidth, int nHeight) SCONST OVERRIDE |
| | 测量子窗口大小
|
| |
| | 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.
|
| |
|
| void | CalcPositionEx (SList< WndPos > *pListChildren, int nWidth, int nHeight) const |
| | 计算扩展位置
|
| |
| int | CalcPostion (SList< WndPos > *pListChildren, int nWidth, int nHeight) const |
| | 计算位置
|
| |
| int | PositionItem2Value (SList< WndPos > *pLstChilds, SPOSITION position, const POS_INFO &pos, int nMax, BOOL bX, int nScale) const |
| | 将位置项转换为值
|
| |
| int | CalcChildLeft (SWindow *pWindow, SouiLayoutParam *pParam) |
| | 计算子窗口左侧位置
|
| |
| int | CalcChildRight (SWindow *pWindow, SouiLayoutParam *pParam) |
| | 计算子窗口右侧位置
|
| |
| int | CalcChildTop (SWindow *pWindow, SouiLayoutParam *pParam) |
| | 计算子窗口顶部位置
|
| |
| int | CalcChildBottom (SWindow *pWindow, SouiLayoutParam *pParam) |
| | 计算子窗口底部位置
|
| |
| BOOL | IsWaitingPos (int nPos) const |
| | 检查位置是否等待
|
| |
| SWindow * | GetRefSibling (SWindow *pCurWnd, int uCode) |
| | 获取参考兄弟窗口
|
| |
| CRect | GetWindowLayoutRect (SWindow *pWindow) |
| | 获取窗口布局矩形区域
|
| |
Soui布局类
Definition at line 187 of file SouiLayout.h.