You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After several new releases and extra features, there are several bits of the original API that jar a little and need removing.
Buffer height for Screen (and Canvas) - should be retired.
Sort out resize logic so that you don't need to recreate every object.
Consider forcing a complete redraw each frame rather than making Effects clean up after themselves. (The double buffer will still minimize actual screen updates).
Make line drawing use the actual drawing coordinates, rather than the less granular text coordinates.
Screen.get_from should probably return a namedtuple (for readability) including glyph width (to distinguish start/end of double width glyphs).
Fix the allow_int compromise. Strictly speaking, animations should not be tied to frame counters. See Add mouse drag operations #20 for the debate.
Why have DynamicRenderer and Canvas? Could one use/replace the other and so provide a cleaner API for dynamic content?
Consider setting working default value for all widgets.
Add a desktop manager (subclass of Scene) for widgets to handle input routing for Frames and then move focus logic to owning objects (i.e. DM owns Frame focus, Frame owns layout focus, etc).
Change focus logic to push state from widgets to layouts to frames, so you can just tell a widget to take the focus (instead of being forced to do it via the Frame).
TBC...
The text was updated successfully, but these errors were encountered:
After several new releases and extra features, there are several bits of the original API that jar a little and need removing.
TBC...
The text was updated successfully, but these errors were encountered: