Closed CRImier closed 5 years ago
UPD - this will not, for now, touch Printer
elements - which are functions.
Changes are now in devel
branch. They allow to write UI elements much quicker (using the BaseUIElement
class) and assign keymap entries more easily (passing strings as references to in-class methods that don't need the UI element to go into background, and passing functions where the UI element has to go into background).
BaseUIElement
itself (even though it's pretty well-covered by existing tests on its subclasses)BaseUIElement
could be used to develop your own UI elementsI consider this finished - pulling the remaining TODOs out into separate issues.
Currently, there are a lot of UI elements which could share primitives - keymap handling, for one. It's going to be useful for further splitting UI elements into smaller classes - allowing to share more and more primitives. I'm going to split common functionality into a single base class and then see where it can go.