diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-12 00:27:32 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-12 00:27:32 +0000 |
| commit | 72ff846dbb56ec36231fb761b864da09885d3690 (patch) | |
| tree | 4dba2564517b6958438d8d5fbc8febb80638ea3b /otk/pseudorendercontrol.hh | |
| parent | f30b2a8908ad2df8fa56c8d12be2da9192446b7a (diff) | |
make all the rendering code in RenderControl. use true/pseudo RenderControl classes just for reducing the pixel32 data to the appropriate bitdepth.
Diffstat (limited to 'otk/pseudorendercontrol.hh')
| -rw-r--r-- | otk/pseudorendercontrol.hh | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/otk/pseudorendercontrol.hh b/otk/pseudorendercontrol.hh index d834d5d7..4f53d34a 100644 --- a/otk/pseudorendercontrol.hh +++ b/otk/pseudorendercontrol.hh @@ -4,32 +4,18 @@ #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: - + // add some vars!!! + + virtual void reduceDepth(Surface &sf, XImage *im) const; + public: PseudoRenderControl(int screen); virtual ~PseudoRenderControl(); - virtual void drawBackground(Surface& sf, const RenderTexture &texture) const; - virtual void drawImage(Surface &sf, int w, int h, - unsigned long *data) const; }; } |
