mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-19 22:15:52 +01:00
16 lines
431 B
C++
16 lines
431 B
C++
#ifndef _GRAD_H
|
|
#define _GRAD_H
|
|
|
|
#include <api/service/svcs/svc_imggen.h>
|
|
#include <bfc/draw/gradient.h>
|
|
|
|
class GradientImage : public svc_imageGeneratorI, public Gradient
|
|
{
|
|
public:
|
|
static const char *getServiceName() { return "Gradient image generator"; }
|
|
virtual int testDesc(const wchar_t *desc);
|
|
virtual ARGB32 *genImage(const wchar_t *desc, int *has_alpha, int *w, int *h, ifc_xmlreaderparams *params=NULL);
|
|
};
|
|
|
|
#endif
|