Skip to content

v0.8.0

Choose a tag to compare

@Martan03 Martan03 released this 01 Apr 15:36
· 56 commits to master since this release

v0.8.0

Features:

  • Add mouse event handling (Widget::on_event)
  • Add Application::message to capture event messages
  • Add Button widget
  • Add default mouse event handling to some widgets
    • List, Table and Scrollable implement scrolling
  • Add option to set custom event Message to some widgets
    • Button, ProgressBar, Scrollable, Table
  • Add LayoutNode for layout caching (replaces Cache)

Changes:

  • Add delta argument (time between frames) to Application::update
  • Remove BgGrad layout forwarding (such as BgGrad::center,...)
  • Widget trait API changes due to LayoutNode replacing Cache
    • diff and layout are added to the Widget
    • render method accepts LayoutNode instead of Cache and Rect