From 511457818d95affaf18f09215ae31a6c7a25a786 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 28 Mar 2018 12:01:38 +0200 Subject: SCUMM: Mark methods as override --- engines/scumm/dialogs.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engines/scumm') diff --git a/engines/scumm/dialogs.h b/engines/scumm/dialogs.h index 9dee4c8a0b..b2cd760ff4 100644 --- a/engines/scumm/dialogs.h +++ b/engines/scumm/dialogs.h @@ -127,15 +127,15 @@ class ValueDisplayDialog : public GUI::Dialog { public: ValueDisplayDialog(const Common::String& label, int minVal, int maxVal, int val, uint16 incKey, uint16 decKey); - virtual void open(); + virtual void open() override; void drawDialog(GUI::DrawLayer layerToDraw) override; - virtual void handleTickle(); - virtual void handleMouseDown(int x, int y, int button, int clickCount) { + virtual void handleTickle() override; + virtual void handleMouseDown(int x, int y, int button, int clickCount) override { close(); } - virtual void handleKeyDown(Common::KeyState state); + virtual void handleKeyDown(Common::KeyState state) override; - virtual void reflowLayout(); + virtual void reflowLayout() override; protected: enum { -- cgit v1.2.3