]>
Dogcows Code - chaz/openbox/blob - otk/surface.hh
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.034605 seconds and 4 git commands to generate.