diff options
author | Eugene Sandulenko | 2006-05-18 16:44:44 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-05-18 16:44:44 +0000 |
commit | e98278228158a0a7aa69450bf44c912ac508a207 (patch) | |
tree | 91b5cf428e6e7e2761c1782f2c76ad13d16a7a58 /gui/widget.h | |
parent | e950d171f56a1d8ae9d41146284a506cd9d6e429 (diff) | |
download | scummvm-rg350-e98278228158a0a7aa69450bf44c912ac508a207.tar.gz scummvm-rg350-e98278228158a0a7aa69450bf44c912ac508a207.tar.bz2 scummvm-rg350-e98278228158a0a7aa69450bf44c912ac508a207.zip |
Fix bug #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch". Also
fix same problem in scumm help dialog.
svn-id: r22522
Diffstat (limited to 'gui/widget.h')
-rw-r--r-- | gui/widget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/widget.h b/gui/widget.h index 08e811cd6a..4fcd277f9d 100644 --- a/gui/widget.h +++ b/gui/widget.h @@ -114,8 +114,8 @@ public: virtual int16 getAbsX() const { return _x + _boss->getChildX(); } virtual int16 getAbsY() const { return _y + _boss->getChildY(); } -// virtual void setPos(int x, int y); -// virtual void setSize(int w, int h); + virtual void setPos(int x, int y) { _x = x; _y = y; } + virtual void setSize(int w, int h) { _w = w; _h = h; } virtual void handleMouseDown(int x, int y, int button, int clickCount) {} virtual void handleMouseUp(int x, int y, int button, int clickCount) {} |