From 1eff73cb412c6c403be82cde77ee61b9944f805e Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 7 Mar 2006 13:41:36 +0000 Subject: GUI widget positions: o Add 'true' and 'false' constants o add .visible widget property o allow dots to be part of section and key names in configs svn-id: r21123 --- gui/object.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gui/object.h') diff --git a/gui/object.h b/gui/object.h index c9fe097a06..5067ab8354 100644 --- a/gui/object.h +++ b/gui/object.h @@ -59,11 +59,12 @@ class GuiObject : public CommandReceiver { protected: int16 _x, _y; uint16 _w, _h; + Common::String _name; Widget *_firstWidget; public: - GuiObject(int x, int y, int w, int h) : _x(x), _y(y), _w(w), _h(h), _firstWidget(0) { } + GuiObject(int x, int y, int w, int h) : _x(x), _y(y), _w(w), _h(h), _firstWidget(0), _name("") { } GuiObject(Common::String name); virtual int16 getAbsX() const { return _x; } -- cgit v1.2.3