Skip to content

A new canvas data type.

Compare
Choose a tag to compare
@salt-die salt-die released this 17 Feb 11:30
· 200 commits to main since this release

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.