Interrupt / delverengine

Delver game engine and editor
zlib License
803 stars 81 forks source link

Disabled Menu Item State Enhancement #125

Open PythooonUser opened 4 years ago

PythooonUser commented 4 years ago

Low-Priority.

grafik

Some menu items can be put into a disabled state (hacked). Currently that means the color is changed to a light grey and the event listener is removed.

It would be nice to align this behavior to potential accelerators (e.g. P). Currently it is not possible to change the color of accelerators as they are being re-drawn on every tick.

It would be nice to be able to either set a MenuItem as disabled or create an instance of DisabledMenuItem etc..