SkinColorElement.cpp 468 B

1234567891011121314151617181920
  1. #include "api.h"
  2. #include "SkinColorElement.h"
  3. #include "PaletteManager.h"
  4. SkinItem *SkinColorElement::getAncestor()
  5. {
  6. return WASABI_API_PALETTE->getColorAncestor(this);
  7. }
  8. #ifdef CBCLASS
  9. #undef CBCLASS
  10. #endif
  11. #define CBCLASS SkinColorElement
  12. START_DISPATCH;
  13. CB(SKINITEM_GETXMLROOTPATH, getXmlRootPath);
  14. CB(SKINITEM_GETNAME, getName);
  15. CB(SKINITEM_GETPARAMS, getParams);
  16. CB(SKINITEM_GETSKINPARTID, getSkinPartId);
  17. CB(SKINITEM_GETANCESTOR, getAncestor);
  18. END_DISPATCH;