ZVISION: Disable the keymap when InputControl is focused
This commit is contained in:
parent
db87cb0c63
commit
6ed8dea829
6 changed files with 52 additions and 30 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue