diff options
Diffstat (limited to 'gui/object.h')
-rw-r--r-- | gui/object.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gui/object.h b/gui/object.h index 1541c35aa8..40ea2da636 100644 --- a/gui/object.h +++ b/gui/object.h @@ -70,7 +70,7 @@ protected: Widget *_firstWidget; public: - GuiObject(int x, int y, int w, int h) : _x(x), _y(y), _w(w), _h(h), _firstWidget(0), _textDrawableArea(Common::Rect(0, 0, 0, 0)) { } + GuiObject(int x, int y, int w, int h) : _x(x), _y(y), _w(w), _h(h), _firstWidget(nullptr) { } GuiObject(const Common::String &name); ~GuiObject(); @@ -87,8 +87,6 @@ public: virtual bool isVisible() const = 0; - virtual void draw() = 0; - virtual void reflowLayout(); virtual void removeWidget(Widget *widget); |