]>
Dogcows Code - chaz/openbox/blob - surface.hh
7a202491f188392b5e0f5d7e354bf2ea6f6febb2
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
6 #include "truerendercontrol.hh"
7 #include "pseudorendercontrol.hh"
11 #define _XFT_NO_COMPAT_ // no Xft 1 API
12 #include <X11/Xft/Xft.h>
28 void destroyObjects();
30 void setPixmap(XImage
*image
);
31 void setPixmap(const RenderColor
&color
);
34 Surface(int screen
, const Size
&size
);
37 inline int screen(void) const { return _screen
; }
39 virtual const Size
& size() const { return _size
; }
41 virtual Pixmap
pixmap() const { return _pixmap
; }
43 // The RenderControl classes use the internal objects in this class to render
44 // to it. Noone else needs them tho, so they are private.
45 friend class RenderControl
;
46 friend class TrueRenderControl
;
47 friend class PseudoRenderControl
;
52 #endif // __surface_hh
This page took 0.032609 seconds and 3 git commands to generate.