I’ve been working with the library, and there’s a thing that I have been missing from previous graphical libraries I have used.
In case I hava switch (or button) enabled, it would be good to have a state which was ON_DISABLED, because sometimes you want to reflect that the switch is on, but it is not available for change.
It could be a state, or maybe better a property (false or true), like the “toggle” property in a button, which caused all standard STATES (PRESSED, RELEASED, TOGGLE_PR, etc…) to appear as disabled.
To do this, styles should be added to the themes to sum to the actual ones. The drawback is that the number of styles stored in each object would be the double of the current ones, increasing memory usage.
Maybe I could program it with the switches and buttons, but having it merged with the original code would be the best in order to upgrade between versions.