- virtual const Point& size() const { return _size; }
- virtual int width() const { return _size.x(); }
- virtual int height() const { return _size.y(); }
+ inline int screen(void) const { return _screen; }
+
+ const Size& size() const { return _size; }
+
+ Pixmap pixmap() const { return _pixmap; }
+
+ pixel32 *pixelData() { return _pixel_data; }
+
+ // The RenderControl classes use the internal objects in this class to render
+ // to it. Noone else needs them tho, so they are private.
+ friend class RenderControl;
+ friend class TrueRenderControl;
+ friend class PseudoRenderControl;