CBlueUI
C++ 跨平台跨框架的数据可视化工具
|
UI构建工具类 更多...
Public 成员函数 | |
XmlBuilder () | |
virtual | ~XmlBuilder () |
void | SetDesignParse (BOOL bDesignParse) |
int | LoadUIFileA (LPCSTR filepath, IManageHandler *pManger, CControlUI *pParent=NULL, ILayout *pLayBox=NULL, IEventHandler *handler=NULL) |
int | LoadUIFileW (LPCWSTR filepath, IManageHandler *pManger, CControlUI *pParent=NULL, ILayout *pLayBox=NULL, IEventHandler *handler=NULL) |
void | LoadBuffer (const char *xmlText, IManageHandler *pManger, CControlUI *pParent=NULL, ILayout *pLayBox=NULL, IEventHandler *handler=NULL, BOOL no_write=TRUE) |
void | LoadUITempCache (XmlStorage *templat, IManageHandler *pManger, CControlUI *pParent=NULL, ILayout *pLayBox=NULL, IEventHandler *handler=NULL) |
int | ParseUiFileUNICODE (const WCHAR *wfilename, IManageHandler *pManger, CControlUI *pParent, ILayout *pParBox, IEventHandler *handler) |
int | ParseUiFile (const char *filename, IManageHandler *pManger, CControlUI *pParent, ILayout *pParBox, IEventHandler *handler) |
void | ParseNode (XMLItem *pNode, ParseSetting *param) |
void | ParsePopManager (XMLItem *pXmlNode, ParseSetting *param) |
void | ParsePopControl (XMLItem *pXmlNode, ParseSetting *param) |
void | ParseDesignWindow (XMLItem *pNode, ParseSetting *param) |
CControlUI * | ParseControl (XMLItem *pNode, ParseSetting *param, CreateControl_cb lpCreateControl=NULL) |
ILayout * | ParseAdsorbLayout (XMLItem *pNode, ParseSetting *param) |
void | ParseNodedata (XMLItem *pNode, ParseSetting *param, CreateControl_cb lpCreateControl=NULL) |
void | ParseControlFont (XMLItem *pNode, ParseSetting *param) |
void | ParseControlAttribute (XMLItem *pNode, CControlUI *parent) |
void | ParseImage (XMLItem *pNode, ParseSetting *param) |
void | ParseDesignLayout (XMLItem *pNode, ParseSetting *param) |
void | ParseLayout (XMLItem *pNode, ParseSetting *param) |
void | ParseZipResurce (XMLItem *pNode, ParseSetting *param) |
void | ParseSharedNode (XMLItem *pNode) |
void | PreLoadClassStyle (XMLItem *root) |
XMLItem * | GetStyleNode (const TCHAR *name) |
void | SetInitFlags (BOOL send_init_msg) |
virtual void | OnParseWindow (const TCHAR *desClassName, const TCHAR *className) |
virtual void | OnParseControl (CControlUI *pObjCtl, const TCHAR *desClassName, const TCHAR *className, const TCHAR *objName) |
virtual CControlUI * | OnParseDesLayout (IManageHandler *pM, CControlUI *parent, const TCHAR *layoutname, LayoutSize *infodata, ILayout **outBoxLayout) |
静态 Public 成员函数 | |
static BOOL | ApplyResourceWithFile (const char *filepath, DataTextFormat fmt=DataTextFormat::Format_Auto) |
static BOOL | ApplyResourceWithFile (const WCHAR *uixml, DataTextFormat fmt=DataTextFormat::Format_Auto) |
static BOOL | ApplyResourceWithData (const char *data, DataTextFormat fmt=DataTextFormat::Format_Auto) |
static BOOL | ApplyThemeColors (XMLItem *pNode) |
static BOOL | ApplyDefaultFonts (XMLItem *pNode) |
static int | LoadControlUIFile (const char *file, CControlUI *pCtrl, IEventHandler *handler=NULL) |
static int | LoadControlUIFile (const WCHAR *file, CControlUI *pCtrl, IEventHandler *handler=NULL) |
static int | LoadControlUIString (const char *xmlcontent, CControlUI *pCtrl, IEventHandler *handler=NULL, BOOL no_write=TRUE) |
UI构建工具类
BUI::XmlBuilder::XmlBuilder | ( | ) |
|
virtual |
|
static |
|
static |
|
static |
void BUI::XmlBuilder::LoadBuffer | ( | const char * | xmlText, |
IManageHandler * | pManger, | ||
CControlUI * | pParent = NULL , |
||
ILayout * | pLayBox = NULL , |
||
IEventHandler * | handler = NULL , |
||
BOOL | no_write = TRUE |
||
) |
|
static |
|
static |
|
static |
int BUI::XmlBuilder::LoadUIFileA | ( | LPCSTR | filepath, |
IManageHandler * | pManger, | ||
CControlUI * | pParent = NULL , |
||
ILayout * | pLayBox = NULL , |
||
IEventHandler * | handler = NULL |
||
) |
int BUI::XmlBuilder::LoadUIFileW | ( | LPCWSTR | filepath, |
IManageHandler * | pManger, | ||
CControlUI * | pParent = NULL , |
||
ILayout * | pLayBox = NULL , |
||
IEventHandler * | handler = NULL |
||
) |
void BUI::XmlBuilder::LoadUITempCache | ( | XmlStorage * | templat, |
IManageHandler * | pManger, | ||
CControlUI * | pParent = NULL , |
||
ILayout * | pLayBox = NULL , |
||
IEventHandler * | handler = NULL |
||
) |
|
virtual |
|
virtual |
|
virtual |
ILayout * BUI::XmlBuilder::ParseAdsorbLayout | ( | XMLItem * | pNode, |
ParseSetting * | param | ||
) |
CControlUI * BUI::XmlBuilder::ParseControl | ( | XMLItem * | pNode, |
ParseSetting * | param, | ||
CreateControl_cb | lpCreateControl = NULL |
||
) |
void BUI::XmlBuilder::ParseControlAttribute | ( | XMLItem * | pNode, |
CControlUI * | parent | ||
) |
void BUI::XmlBuilder::ParseControlFont | ( | XMLItem * | pNode, |
ParseSetting * | param | ||
) |
void BUI::XmlBuilder::ParseDesignLayout | ( | XMLItem * | pNode, |
ParseSetting * | param | ||
) |
void BUI::XmlBuilder::ParseDesignWindow | ( | XMLItem * | pNode, |
ParseSetting * | param | ||
) |
void BUI::XmlBuilder::ParseImage | ( | XMLItem * | pNode, |
ParseSetting * | param | ||
) |
void BUI::XmlBuilder::ParseLayout | ( | XMLItem * | pNode, |
ParseSetting * | param | ||
) |
void BUI::XmlBuilder::ParseNode | ( | XMLItem * | pNode, |
ParseSetting * | param | ||
) |
void BUI::XmlBuilder::ParseNodedata | ( | XMLItem * | pNode, |
ParseSetting * | param, | ||
CreateControl_cb | lpCreateControl = NULL |
||
) |
void BUI::XmlBuilder::ParsePopControl | ( | XMLItem * | pXmlNode, |
ParseSetting * | param | ||
) |
void BUI::XmlBuilder::ParsePopManager | ( | XMLItem * | pXmlNode, |
ParseSetting * | param | ||
) |
void BUI::XmlBuilder::ParseSharedNode | ( | XMLItem * | pNode | ) |
int BUI::XmlBuilder::ParseUiFile | ( | const char * | filename, |
IManageHandler * | pManger, | ||
CControlUI * | pParent, | ||
ILayout * | pParBox, | ||
IEventHandler * | handler | ||
) |
int BUI::XmlBuilder::ParseUiFileUNICODE | ( | const WCHAR * | wfilename, |
IManageHandler * | pManger, | ||
CControlUI * | pParent, | ||
ILayout * | pParBox, | ||
IEventHandler * | handler | ||
) |
void BUI::XmlBuilder::ParseZipResurce | ( | XMLItem * | pNode, |
ParseSetting * | param | ||
) |
void BUI::XmlBuilder::PreLoadClassStyle | ( | XMLItem * | root | ) |
void BUI::XmlBuilder::SetDesignParse | ( | BOOL | bDesignParse | ) |
void BUI::XmlBuilder::SetInitFlags | ( | BOOL | send_init_msg | ) |