support pseudocolor and greyscale displays by, using solid colors instead of gradients
[mikachu/openbox.git] / otk / pseudorendercontrol.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __pseudorendercontrol_hh
3 #define __pseudorendercontrol_hh
4
5 #include "rendercontrol.hh"
6
7 extern "C" {
8
9 #ifdef HAVE_STDINT_H
10 #  include <stdint.h>
11 #else
12 #  ifdef HAVE_SYS_TYPES_H
13 #    include <sys/types.h>
14 #  endif
15 #endif
16
17 }
18
19 #include <vector>
20
21 namespace otk {
22
23 class PseudoRenderControl : public RenderControl {
24 private:
25
26 public:
27   PseudoRenderControl(int screen);
28   virtual ~PseudoRenderControl();
29
30   virtual void drawBackground(Surface& sf, const RenderTexture &texture) const;
31 };
32
33 }
34
35 #endif // __pseudorendercontrol_hh