diff options
author | Strangerke | 2012-08-07 19:07:01 +0200 |
---|---|---|
committer | Strangerke | 2012-08-07 19:07:01 +0200 |
commit | 78310d0f4b546081fceee2cf4ba72dd628fa7018 (patch) | |
tree | 03aeebf23867aca0546ed332f0cf0df207cb9361 /engines/tsage/graphics.cpp | |
parent | 611905aa9718afd0320f518af6976d3316035622 (diff) | |
download | scummvm-rg350-78310d0f4b546081fceee2cf4ba72dd628fa7018.tar.gz scummvm-rg350-78310d0f4b546081fceee2cf4ba72dd628fa7018.tar.bz2 scummvm-rg350-78310d0f4b546081fceee2cf4ba72dd628fa7018.zip |
TSAGE: Apply naming conventions to surfaceGetArea(). Thanks to somaen for reporting it.
Diffstat (limited to 'engines/tsage/graphics.cpp')
-rw-r--r-- | engines/tsage/graphics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/tsage/graphics.cpp b/engines/tsage/graphics.cpp index 0781ae4544..fb0b0b0cbb 100644 --- a/engines/tsage/graphics.cpp +++ b/engines/tsage/graphics.cpp @@ -38,7 +38,7 @@ namespace TsAGE { * @src Source surface * @bounds Area to backup */ -GfxSurface *Surface_getArea(GfxSurface &src, const Rect &bounds) { +GfxSurface *surfaceGetArea(GfxSurface &src, const Rect &bounds) { assert(bounds.isValidRect()); GfxSurface *dest = new GfxSurface(); dest->create(bounds.width(), bounds.height()); @@ -437,7 +437,7 @@ bool GfxSurface::displayText(const Common::String &msg, const Common::Point &pt) // Make a backup copy of the area the text will occupy Rect saveRect = textRect; saveRect.collapse(-20, -8); - GfxSurface *savedArea = Surface_getArea(gfxManager.getSurface(), saveRect); + GfxSurface *savedArea = surfaceGetArea(gfxManager.getSurface(), saveRect); // Display the text gfxManager._font.writeLines(msg.c_str(), textRect, ALIGN_LEFT); @@ -1073,7 +1073,7 @@ void GfxDialog::draw() { Rect tempRect(_bounds); // Make a backup copy of the area the dialog will occupy - _savedArea = Surface_getArea(g_globals->_gfxManagerInstance.getSurface(), _bounds); + _savedArea = surfaceGetArea(g_globals->_gfxManagerInstance.getSurface(), _bounds); // Set the palette for use in the dialog setPalette(); |