Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disabled and error states #82

Closed
3 tasks done
dhardy opened this issue Apr 10, 2020 · 0 comments · Fixed by #84
Closed
3 tasks done

disabled and error states #82

dhardy opened this issue Apr 10, 2020 · 0 comments · Fixed by #84
Milestone

Comments

@dhardy
Copy link
Collaborator

dhardy commented Apr 10, 2020

  • make it possible to disable any input widget
  • distinct graphics for disabled input widgets

Since this affects many widgets, possibly it should be part of WidgetCore / CoreData. Effects:

  • widgets should not be highlightable
  • keyboard navigation should skip the widget
  • active pointer/character grabs should be cancelled
  • Handler::action should not be called?

Additionally, at least char-input fields should support an error state, causing the background to be highlighted red:

  • allow EditBox to be able to be put into an error state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant