Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

New features and panic fix

Compare
Choose a tag to compare
@askeksa askeksa released this 17 Nov 19:59
· 16 commits to master since this release
c5a02db

Fixed

  • Introduced zero-valued EventType variant to enable zero-initialization of Event, fixing a panic on Rust 1.48 and newer (#138)
  • EditorGetRect opcode returns 1 on success, ensuring that the provided dimensions are applied by the host (#115)

Added

  • Added update_display() method to Host, telling the host to update its display (after a parameter change) via the UpdateDisplay opcode (#126)
  • Allow plug-in to return a custom value in can_do() via the Supported::Custom enum variant (#130)
  • Added PartialEq and Eq for Supported (#135)
  • Implemented get_editor() and Editor interface for PluginInstance to enable editor support on the host side (#136)
  • Default value (0.0) for AtomicFloat (#139)