From e6bfddf849009bef7bbb75be5147b4a533fa1ad2 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 3 Feb 2003 07:06:45 +0000 Subject: add pseudorendercontrol --- otk/pseudorendercontrol.hh | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 otk/pseudorendercontrol.hh (limited to 'otk/pseudorendercontrol.hh') 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 +#else +# ifdef HAVE_SYS_TYPES_H +# include +# endif +#endif + +} + +#include + +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 -- cgit v1.2.3