unwieldycat / robodash

A GUI toolkit for PROS 4
https://robodash.readthedocs.io/
MIT License
23 stars 3 forks source link

Enhancement: Flag System #31

Closed unwieldycat closed 3 months ago

unwieldycat commented 3 months ago

Proposed enhancement Implement a flag system for views to alter their behavior.

Motivation behind change Currently, views have one property that can be changed: whether or not UI animations can play while they're focused. This property is changed & read through setters & getters. An LVGL-like flag system in place of this would be simpler and more scalable, since more setter/getter functions wouldn't need to be created for each and every new property a view may get.