AR_Engine_SDK
|
Functions | |
function XUITabHeader | Create () end |
function XUITabHeader | Create (strTitle, strBackgroundTexture, strCrossTexture, texType) end |
function XUITabHeader | Create (strTitle, strBackgroundTexture, strBackgroundSelectedTexture, strCrossTexture, strBackgroundDisabledTexture, strFrontCrossDisabledTexture, texType) end |
function XUITabHeader | GetTitleRenderer () end |
function XUITabHeader | SetTitleText (strText) end |
function XUITabHeader | GetTitleText () end |
function XUITabHeader | SetTitleColor (color) end |
function XUITabHeader | GetTitleColor () end |
function XUITabHeader | SetTitleFontSize (fSize) end |
function XUITabHeader | GetTitleFontSize () end |
function XUITabHeader | SetTitleFontName (strFontName) end |
function XUITabHeader | GetTitleFontName () end |
function XUITabHeader | GetIndexInTabControl () end |
function XUITabHeader | CreateClonedInstance () end |
function XUITabHeader | CopyProperties (pNode) end |
function XUITabControl | new () end |
function XUITabControl | RemoveTab (nIndex) end |
function XUITabControl | RemoveTab (nIndex, bClean) end |
function XUITabControl | SetSelectTab (nIndex) end |
function XUITabControl | SetSelectTab (pTabHeader) end |
function XUITabControl | GetTabHeader (nIndex) end |
function XUITabControl | GetTabContainer (nIndex) end |
function XUITabControl | InsertTab (nIndex, pHeader, pContainer) end |
function XUITabControl | AppendTab (pContainer) end |
function XUITabControl | GetIndexByContainer (pContainer) end |
function XUITabControl | GetTabCount () end |
function XUITabControl | GetSelectedTabIndex () end |
function XUITabControl | IndexOfTabHeader (pTabCell) end |
function XUITabControl | AddTabChangedEventListener (callback) end |
function XUITabControl | SetHeaderWidth (fHeaderWidth) end |
function XUITabControl | GetHeaderWidth () end |
function XUITabControl | SetHeaderHeight (fHeaderHeight) end |
function XUITabControl | GetHeaderHeight () end |
function XUITabControl | SetHeaderSelectedZoom (fZoom) end |
function XUITabControl | GetHeaderSelectedZoom () end |
function XUITabControl | SetHeaderDockPlace (eDockPlace) end |
function XUITabControl | GetHeaderDockPlace () end |
Variables | |
XUITabHeader = {} | |
XUITabHeader | SELECTED = 0 |
XUITabHeader | UNSELECTED = 0 |
function XUITabControl AddTabChangedEventListener | ( | callback | ) |
@manual xelua_XEngine_XUITabControl_AddTabChangedEventListener_manual XUITabControl_AddTabChangedEventListener_manual
callback | std::function<void(XUINode*pNode, xint32 nTabIndex, EventType)> |
function XUITabControl AppendTab | ( | pContainer | ) |
function XUITabHeader CopyProperties | ( | pNode | ) |
function XUITabHeader Create | ( | ) |
function XUITabHeader Create | ( | strTitle | , |
strBackgroundTexture | , | ||
strCrossTexture | , | ||
texType | |||
) |
创建一个页头实例。
strTitle | string 页头文字。 |
strBackgroundTexture | string 页头的背景图片。 |
strCrossTexture | string 页头被选中时显示的图片,不被选中不显示。 |
texType | number 相对路径/绝对路径。 |
function XUITabHeader Create | ( | strTitle | , |
strBackgroundTexture | , | ||
strBackgroundSelectedTexture | , | ||
strCrossTexture | , | ||
strBackgroundDisabledTexture | , | ||
strFrontCrossDisabledTexture | , | ||
texType | |||
) |
创建一个页头实例。
strTitle | string 页头文字。 |
strBackgroundTexture | string 页头的背景图片。 |
strBackgroundSelectedTexture | string 页头被选中时的背景图片。 |
strCrossTexture | string 页头被选中时显示的图片,不被选中不显示。 |
strBackgroundDisabledTexture | string 页头禁用时的背景图片。 |
strFrontCrossDisabledTexture | string 页头禁用还被选中时显示的图片。 |
texType | number 相对路径/绝对路径。 |
function XUITabHeader CreateClonedInstance | ( | ) |
XUITabHeader_CreateClonedInstance00
function XUITabControl GetHeaderDockPlace | ( | ) |
返回页头位置
function XUITabControl GetHeaderHeight | ( | ) |
获取所有的页头高度
function XUITabControl GetHeaderSelectedZoom | ( | ) |
获取当前设置的页头被选中时,它的缩放增量
function XUITabControl GetHeaderWidth | ( | ) |
获取所有的页头宽度
function XUITabControl GetIndexByContainer | ( | pContainer | ) |
function XUITabHeader GetIndexInTabControl | ( | ) |
获取该页头在Table页中的索引值,如果没有返回-1
function XUITabControl GetSelectedTabIndex | ( | ) |
获取当前选中的Tab页的索引
function XUITabControl GetTabContainer | ( | nIndex | ) |
function XUITabControl GetTabCount | ( | ) |
获取当前Tab页的数量
function XUITabControl GetTabHeader | ( | nIndex | ) |
function XUITabHeader GetTitleColor | ( | ) |
返回页头显示文字的颜色
function XUITabHeader GetTitleFontName | ( | ) |
获取页头显示文字的字体路径
function XUITabHeader GetTitleFontSize | ( | ) |
获取页头显示文字的字体大小
function XUITabHeader GetTitleRenderer | ( | ) |
获取页头显示的文字的XUILabel实例
function XUITabHeader GetTitleText | ( | ) |
获取页头显示的文字
function XUITabControl IndexOfTabHeader | ( | pTabCell | ) |
function XUITabControl InsertTab | ( | nIndex | , |
pHeader | , | ||
pContainer | |||
) |
XUITabControl_InsertTab00
nIndex | number |
pHeader | XUITabHeader |
pContainer | XUILayout |
function XUITabControl new | ( | ) |
XUITabControl_new00
function XUITabControl RemoveTab | ( | nIndex | ) |
XUITabControl_RemoveTab00
nIndex | number |
function XUITabControl RemoveTab | ( | nIndex | , |
bClean | |||
) |
XUITabControl_RemoveTab01
nIndex | number |
bClean | boolean |
function XUITabControl SetHeaderDockPlace | ( | eDockPlace | ) |
XUITabControl_SetHeaderDockPlace00
eDockPlace | number |
function XUITabControl SetHeaderHeight | ( | fHeaderHeight | ) |
XUITabControl_SetHeaderHeight00
fHeaderHeight | number |
function XUITabControl SetHeaderSelectedZoom | ( | fZoom | ) |
XUITabControl_SetHeaderSelectedZoom00
fZoom | number |
function XUITabControl SetHeaderWidth | ( | fHeaderWidth | ) |
XUITabControl_SetHeaderWidth00
fHeaderWidth | number |
function XUITabControl SetSelectTab | ( | nIndex | ) |
XUITabControl_SetSelectTab00
nIndex | number |
function XUITabControl SetSelectTab | ( | pTabHeader | ) |
function XUITabHeader SetTitleColor | ( | color | ) |
function XUITabHeader SetTitleFontName | ( | strFontName | ) |
设置页头显示文字的字体路径
strFontName | string 字体路径。 |
function XUITabHeader SetTitleFontSize | ( | fSize | ) |
XUITabHeader_SetTitleFontSize00
fSize | number |
function XUITabHeader SetTitleText | ( | strText | ) |
设置页头显示的文字
strText | string 显示的文字。 |
XUITabHeader SELECTED = 0 |
XUITabHeader UNSELECTED = 0 |
XUITabHeader = {} |