UIChildLayout.h 544 B

12345678910111213141516171819202122232425
  1. #ifndef __UICHILDLAYOUT_H__
  2. #define __UICHILDLAYOUT_H__
  3. #pragma once
  4. namespace DuiLib
  5. {
  6. class UILIB_API CChildLayoutUI : public CContainerUI
  7. {
  8. DECLARE_DUICONTROL(CChildLayoutUI)
  9. public:
  10. CChildLayoutUI();
  11. void Init();
  12. void SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue);
  13. void SetChildLayoutXML(CDuiString pXML);
  14. CDuiString GetChildLayoutXML();
  15. virtual LPVOID GetInterface(LPCTSTR pstrName);
  16. virtual LPCTSTR GetClass() const;
  17. private:
  18. CDuiString m_pstrXMLFile;
  19. };
  20. } // namespace DuiLib
  21. #endif // __UICHILDLAYOUT_H__