]>
Dogcows Code - chaz/openbox/blob - otk/surface.hh
d325b3937a59da6c3f93217a9e1e1da53d6cd0c0
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
6 #include "truerendercontrol.hh"
10 #define _XFT_NO_COMPAT_ // no Xft 1 API
11 #include <X11/Xft/Xft.h>
26 void destroyObjects();
28 void setPixmap(XImage
*image
);
29 void setPixmap(const Color
&color
);
32 Surface(int screen
, const Point
&size
);
35 inline int screen(void) const { return _screen
; }
37 virtual const Point
& size() const { return _size
; }
38 virtual int width() const { return _size
.x(); }
39 virtual int height() const { return _size
.y(); }
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
;
51 #endif // __surface_hh
This page took 0.035979 seconds and 4 git commands to generate.