]>
Dogcows Code - chaz/openbox/blob - otk/surface.hh
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>
27 void destroyObjects();
29 void setPixmap(XImage
*image
);
30 void setPixmap(const RenderColor
&color
);
33 Surface(int screen
, const Point
&size
);
36 inline int screen(void) const { return _screen
; }
38 virtual const Point
& size() const { return _size
; }
39 virtual int width() const { return _size
.x(); }
40 virtual int height() const { return _size
.y(); }
42 virtual Pixmap
pixmap() const { return _pixmap
; }
44 // The RenderControl classes use the internal objects in this class to render
45 // to it. Noone else needs them tho, so they are private.
46 friend class RenderControl
;
47 friend class TrueRenderControl
;
52 #endif // __surface_hh
This page took 0.035791 seconds and 4 git commands to generate.