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>
25 void destroyObjects();
29 Surface(int screen, const Point &size);
31 virtual void setSize(int w, int h);
36 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(); }
40 virtual Pixmap pixmap() const { return _pm; } // TEMP
42 // The RenderControl classes use the internal objects in this class to render
43 // to it. Noone else needs them tho, so they are private.
44 friend class RenderControl;
45 friend class TrueRenderControl;
50 #endif // __surface_hh