Sdk/Canvas: Implement tab/shift-tab to switch to next/previous widget

This commit is contained in:
Jérôme Leclercq
2017-11-23 14:48:59 +01:00
parent 4116984f9f
commit 377dd992b9
6 changed files with 81 additions and 17 deletions

View File

@@ -76,7 +76,7 @@ namespace Ndk
bool IsFocusable() const override;
void OnFocusLost() override;
void OnFocusReceived() override;
void OnKeyPressed(const Nz::WindowEvent::KeyEvent& key) override;
bool OnKeyPressed(const Nz::WindowEvent::KeyEvent& key) override;
void OnKeyReleased(const Nz::WindowEvent::KeyEvent& key) override;
void OnMouseButtonPress(int /*x*/, int /*y*/, Nz::Mouse::Button button) override;
void OnTextEntered(char32_t character, bool repeated) override;