炫彩界面库使用FontAwesome字体图标

易语言 2020-12-30 16:50:15

hShapeText = XShapeText_Create (0, 0, 0, 0, L (“炫彩界面库 - 使用Font Awesome 图标”), hLayout)
XShapeText_SetTextColor (hShapeText, #白色, 255)
XShapeText_SetLayoutWidth (hShapeText, #layout_size_type_fill, 0)
XShapeText_SetLayoutHeight (hShapeText, #layout_size_type_fill, 0)
XWnd_BindLayoutEle (m_hWindow, #window_position_top, hLayout)
hList = XList_Create (0, 0, 0, 0, m_hWindow)
XEle_RegEventC1 (hList, #XE_LIST_TEMP_CREATE_END, &OnListTemplateCreateEnd)