You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef RENDERERS_H
|
|
|
|
#define RENDERERS_H
|
|
|
|
|
|
|
|
#include <tqstring.h>
|
|
|
|
|
|
|
|
class Renderer;
|
|
|
|
|
|
|
|
namespace Creators
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef RENDERERS_CPP
|
|
|
|
#define REGISTER(function, cl) \
|
|
|
|
Renderer *function() \
|
|
|
|
{ \
|
|
|
|
return new cl; \
|
|
|
|
}
|
|
|
|
#else
|
|
|
|
#define REGISTER(function, cl) \
|
|
|
|
Renderer *function();
|
|
|
|
#endif
|
|
|
|
|
|
|
|
REGISTER(fade, Fade)
|
|
|
|
REGISTER(doubler, Doubler)
|
|
|
|
REGISTER(waveform,Qt::HorizontalPair);
|
|
|
|
REGISTER(hartley, Hartley);
|
|
|
|
|
|
|
|
#undef REGISTER
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|