]>
Dogcows Code - chaz/openbox/blob - otk/surface.hh
53738128a2d8b06328f43e48eea56d7cd50450a5
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();
30 Surface(int screen
, const Point
&size
);
32 virtual void setSize(int w
, int h
);
37 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(); }
41 virtual Pixmap
pixmap() const { return _pm
; } // TEMP
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.032935 seconds and 4 git commands to generate.