diff options
author | Max Horn | 2003-10-02 17:43:02 +0000 |
---|---|---|
committer | Max Horn | 2003-10-02 17:43:02 +0000 |
commit | 0e645f88ae1586dbac2bf0855fd0fda1f8f11eeb (patch) | |
tree | cef3882f5cb527ab9ced0c208d6f9c045bf8f3c4 /sword2/controls.cpp | |
parent | f26d3d1784756fccaaf306f6b13a28cb709ad5bc (diff) | |
download | scummvm-rg350-0e645f88ae1586dbac2bf0855fd0fda1f8f11eeb.tar.gz scummvm-rg350-0e645f88ae1586dbac2bf0855fd0fda1f8f11eeb.tar.bz2 scummvm-rg350-0e645f88ae1586dbac2bf0855fd0fda1f8f11eeb.zip |
renamed namespace ScummVM to Common
svn-id: r10544
Diffstat (limited to 'sword2/controls.cpp')
-rw-r--r-- | sword2/controls.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sword2/controls.cpp b/sword2/controls.cpp index 5f704f7be0..f681f019b7 100644 --- a/sword2/controls.cpp +++ b/sword2/controls.cpp @@ -179,7 +179,7 @@ protected: int _numStates; int _state; - ScummVM::Rect _hitRect; + Common::Rect _hitRect; public: Sword2Widget(Sword2Dialog *parent, int states) : @@ -234,7 +234,7 @@ public: return _state; } - virtual void paint(ScummVM::Rect *clipRect = NULL) { + virtual void paint(Common::Rect *clipRect = NULL) { DrawSurface(&_sprites[_state], _surfaces[_state]._surface, clipRect); } @@ -574,7 +574,7 @@ public: createSurfaceImages(3406, x, y); } - virtual void paint(ScummVM::Rect *clipRect = NULL) { + virtual void paint(Common::Rect *clipRect = NULL) { // This will redraw a bit more than is strictly necessary, // but I doubt that will make any noticeable difference. @@ -948,7 +948,7 @@ public: return &_text[0]; } - virtual void paint(ScummVM::Rect *clipRect = NULL) { + virtual void paint(Common::Rect *clipRect = NULL) { Sword2Widget::paint(); // HACK: The main dialog is responsible for drawing the text |