diff options
author | Eugene Sandulenko | 2018-03-28 12:01:38 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-03-28 12:01:38 +0200 |
commit | 511457818d95affaf18f09215ae31a6c7a25a786 (patch) | |
tree | b9bca050655b43c3fc0f1894db807ec69f32577b /engines/scumm | |
parent | d6b5e3f611c315b2d5dca01f58c92a8b53ebc32b (diff) | |
download | scummvm-rg350-511457818d95affaf18f09215ae31a6c7a25a786.tar.gz scummvm-rg350-511457818d95affaf18f09215ae31a6c7a25a786.tar.bz2 scummvm-rg350-511457818d95affaf18f09215ae31a6c7a25a786.zip |
SCUMM: Mark methods as override
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/dialogs.h | 10 |
1 files changed, 5 insertions, 5 deletions
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 { |