diff options
Diffstat (limited to 'otk/pseudorendercontrol.hh')
| -rw-r--r-- | otk/pseudorendercontrol.hh | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/otk/pseudorendercontrol.hh b/otk/pseudorendercontrol.hh new file mode 100644 index 00000000..6d3255ee --- /dev/null +++ b/otk/pseudorendercontrol.hh @@ -0,0 +1,38 @@ +// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- +#ifndef __pseudorendercontrol_hh +#define __pseudorendercontrol_hh + +#include "rendercontrol.hh" + +extern "C" { + +#ifdef HAVE_STDINT_H +# include <stdint.h> +#else +# ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +# endif +#endif + +} + +#include <vector> + +namespace otk { + +class PseudoRenderControl : public RenderControl { +private: + + virtual void drawGradientBackground(Surface &sf, + const RenderTexture &texture) const; + +public: + PseudoRenderControl(int screen); + virtual ~PseudoRenderControl(); + + virtual void drawBackground(Surface& sf, const RenderTexture &texture) const; +}; + +} + +#endif // __pseudorendercontrol_hh |
