From e98278228158a0a7aa69450bf44c912ac508a207 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 18 May 2006 16:44:44 +0000 Subject: Fix bug #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch". Also fix same problem in scumm help dialog. svn-id: r22522 --- gui/widget.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui') 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) {} -- cgit v1.2.3