Enhancing RTSurface: 'surface' now private

This commit is contained in:
Hombre
2019-03-19 20:45:12 +01:00
parent 28b785682a
commit d059caa7de
4 changed files with 13 additions and 3 deletions

View File

@@ -132,3 +132,8 @@ bool RTSurface::hasSurface() const
{
return surface ? true : false;
}
const Cairo::RefPtr<Cairo::ImageSurface>& RTSurface::get() const
{
return surface;
}