Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Wasabi/api/skin/widgets/xuigroupxfade.h
2024-09-24 14:54:57 +02:00

41 lines
934 B
C++

#ifndef _XUIGROUPXFADE_H
#define _XUIGROUPXFADE_H
#include <api/wnd/wndclass/guiobjwnd.h>
#define GROUPXFADE_PARENT GuiObjectWnd
class GroupXFade : public GROUPXFADE_PARENT {
public:
static const wchar_t *xuiobject_getXmlTag() { return L"GroupXFade"; }
static const char *xuiobject_getServiceName() { return "GroupXFade XuiObject"; }
GroupXFade();
virtual ~GroupXFade();
virtual int onInit();
virtual int setXuiParam(int xuihandle, int xmlattributeid, const wchar_t *xmlattributename, const wchar_t *value);
virtual int onResize();
enum {
GROUPXFADE_SETGROUP,
GROUPXFADE_SETSPEED,
};
void setNewGroup(const wchar_t *grp);
protected:
/*static */void CreateXMLParameters(int master_handle);
private:
int myxuihandle;
GuiObject *child[2];
StringW id[2];
int curchild;
double speed;
static XMLParamPair params[];
};
class GroupXFadeXuiSvc : public XuiObjectSvc2<GroupXFade> {};
#endif