diff options
author | Willem Jan Palenstijn | 2016-03-27 16:40:40 +0200 |
---|---|---|
committer | Colin Snover | 2016-06-21 08:14:12 -0500 |
commit | 94328f0ec8baa96947c5b82c63bdd298ba44981d (patch) | |
tree | 685088772c71be47812f29caa80a46690bd1b5c0 /engines/sci/graphics/text32.h | |
parent | c4b41f5d7cfd6506c9d541868af71c5288b36c09 (diff) | |
download | scummvm-rg350-94328f0ec8baa96947c5b82c63bdd298ba44981d.tar.gz scummvm-rg350-94328f0ec8baa96947c5b82c63bdd298ba44981d.tar.bz2 scummvm-rg350-94328f0ec8baa96947c5b82c63bdd298ba44981d.zip |
SCI32: Make GfxText32::_scaledWidth/Height statics
They were global in SSCI. This way secondary GfxText32 instances
(such as in ScrollWindow) use the correct scaling.
Diffstat (limited to 'engines/sci/graphics/text32.h')
-rw-r--r-- | engines/sci/graphics/text32.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/graphics/text32.h b/engines/sci/graphics/text32.h index 20adb3d7c7..905e88baf4 100644 --- a/engines/sci/graphics/text32.h +++ b/engines/sci/graphics/text32.h @@ -351,15 +351,15 @@ public: /** * The size of the x-dimension of the coordinate system - * used by the text renderer. + * used by the text renderer. Static since it was global in SSCI. */ - int16 _scaledWidth; + static int16 _scaledWidth; /** * The size of the y-dimension of the coordinate system - * used by the text renderer. + * used by the text renderer. Static since it was global in SSCI. */ - int16 _scaledHeight; + static int16 _scaledHeight; /** * The currently active font resource used to write text |