summaryrefslogtreecommitdiff
path: root/otk/pseudorendercontrol.hh
blob: 6d3255ee4c28439e92e1293bc60f4fd4bcfadad4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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