1
0

xuigradientwnd.h 726 B

1234567891011121314151617181920212223242526
  1. #ifndef _XUIGRADIENTWND_H
  2. #define _XUIGRADIENTWND_H
  3. #include <api/wnd/wndclass/gradientwnd.h>
  4. #define XUIGRADIENTWND_PARENT GradientWnd
  5. class XuiGradientWnd : public XUIGRADIENTWND_PARENT {
  6. public:
  7. static const wchar_t *xuiobject_getXmlTag() { return L"Gradient"; }
  8. static const char *xuiobject_getServiceName() { return "Gradient XuiObject"; }
  9. XuiGradientWnd();
  10. virtual int setXuiParam(int xuihandle, int xmlattributeid, const wchar_t *xmlattributename, const wchar_t *value);
  11. void parsePoints(const wchar_t *pointlist);
  12. protected:
  13. void CreateXMLParameters(int master_handle);
  14. private:
  15. int myxuihandle;
  16. static XMLParamPair params[];
  17. };
  18. class GradientWndXuiSvc : public XuiObjectSvc2<XuiGradientWnd> {};
  19. #endif