A new canvas data type.
Introducing the new canvas data type, Cell! Major changes:
- Char renamed to Cell.
- Cell has additional fields "fg_color" and "bg_color".
colors
ndarray of Text and _Root gadgets removed.- ColorPair removed.
Additional changes:
- Theming is now done with a dictionary of hexcodes.
- GadgetBase is now Gadget.
- Pane gadget replaces the old
Gadget
type. Pane also alpha composites. - Transparency semantics for text gadgets updated. Can now alpha composite with
the background of transparent text. - An
alpha
parameter/attribute has been added to several gadgets to use new
compositing. render()
method is now private, renamed_render()
.- Resizable behavior removed.
- The following gadgets no longer inherit from Text, but prefer composition:
BoxImage, BrailleImage, BrailleVideoPlayer, ProgressBar, Slider, Sparkline - Running code in a separate thread is now optional for Console.
- MenuItem is now private, renamed _MenuItem.