mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-11-28 07:30:48 +01:00
21 lines
468 B
C++
21 lines
468 B
C++
|
#include "api.h"
|
||
|
#include "SkinColorElement.h"
|
||
|
#include "PaletteManager.h"
|
||
|
|
||
|
SkinItem *SkinColorElement::getAncestor()
|
||
|
{
|
||
|
return WASABI_API_PALETTE->getColorAncestor(this);
|
||
|
}
|
||
|
|
||
|
#ifdef CBCLASS
|
||
|
#undef CBCLASS
|
||
|
#endif
|
||
|
#define CBCLASS SkinColorElement
|
||
|
START_DISPATCH;
|
||
|
CB(SKINITEM_GETXMLROOTPATH, getXmlRootPath);
|
||
|
CB(SKINITEM_GETNAME, getName);
|
||
|
CB(SKINITEM_GETPARAMS, getParams);
|
||
|
CB(SKINITEM_GETSKINPARTID, getSkinPartId);
|
||
|
CB(SKINITEM_GETANCESTOR, getAncestor);
|
||
|
END_DISPATCH;
|