diff options
Diffstat (limited to 'engines/gargoyle/window_graphics.cpp')
-rw-r--r-- | engines/gargoyle/window_graphics.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/gargoyle/window_graphics.cpp b/engines/gargoyle/window_graphics.cpp index caf51a2e9a..3af2555c3a 100644 --- a/engines/gargoyle/window_graphics.cpp +++ b/engines/gargoyle/window_graphics.cpp @@ -244,4 +244,9 @@ void GraphicsWindow::drawPicture(Picture *src, int x0, int y0, int width, int h _surface->blitFrom(*g_vm->_screen, Common::Rect(sx0, sy0, sx0 + w, sy0 + h), Common::Point(0, 0)); } +void GraphicsWindow::getSize(glui32 *width, glui32 *height) { + *width = _bbox.width(); + *height = _bbox.height(); +} + } // End of namespace Gargoyle |