8000 Enhancement: Add Disabled and Error states for UI elements · Issue #1255 · pythonarcade/arcade · GitHub
[go: up one dir, main page]

Skip to content
Enhancement: Add Disabled and Error states for UI elements #1255
Closed
@pushfoo

Description

@pushfoo

Enhancement request:

What should be added/changed?

UI elements should have the following added to them:

  • a disabled property to turn interaction on and off
  • disabled visual style option to configure their disabled appearances
  • An error visual state to reflect that the current input is incorrect
  • some method of tracking the current error

What would it help with?

Any game or application state where buttons are not currently enabled, or needs to highlight what is wrong with user input.

For a concrete example of the disabled state, it would be useful for a turn-based game where the player at the keyboard sometimes cannot take certain actions, such as when it is another player or a bot's turn.

Metadata

Metadata

Assignees

No one assigned

    Labels

    guiRelated to arcade GUI (sub module arcade.gui)

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0