xuieditbox.h 674 B

123456789101112131415161718192021
  1. #ifndef __EDITBOX_H
  2. #define __EDITBOX_H
  3. #include <api/wnd/wndclass/embeddedxui.h>
  4. #define EDITBOX_PARENT EmbeddedXuiObject
  5. // -----------------------------------------------------------------------
  6. class EditBox : public EDITBOX_PARENT {
  7. public:
  8. virtual const wchar_t *embeddedxui_getContentId() { return "wasabi.edit"; }
  9. virtual const wchar_t *embeddedxui_getEmbeddedObjectId() { return "wasabi.edit.box"; }
  10. };
  11. // -----------------------------------------------------------------------
  12. extern char EditBoxXuiObjectStr[];
  13. extern char EditBoxXuiSvcName[];
  14. class EditBoxXuiSvc : public XuiObjectSvc<EditBox, EditBoxXuiObjectStr, EditBoxXuiSvcName> {};
  15. #endif