ZVISION: Disable the keymap when InputControl is focused

This commit is contained in:
Cameron Cawley 2020-03-11 18:47:45 +00:00 committed by Bastien Bouclet
parent db87cb0c63
commit 6ed8dea829
6 changed files with 52 additions and 30 deletions

View file

@ -59,14 +59,8 @@ private:
Video::VideoDecoder *_animation;
public:
void focus() override {
_focused = true;
_textChanged = true;
}
void unfocus() override {
_focused = false;
_textChanged = true;
}
void focus() override;
void unfocus() override;
bool onMouseUp(const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos) override;
bool onMouseMove(const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos) override;
bool onKeyDown(Common::KeyState keyState) override;