Skip to content

v1.6.0 - Events

Compare
Choose a tag to compare
@TheQwertiest TheQwertiest released this 10 Sep 22:17
· 52 commits to master since this release

!!!

!!! DON'T USE THIS VERSION, USE v1.6.1 INSTEAD !!!

!!!

Changelog

See docs for the detailed description of API changes.

Added

  • Added WIC support in image and art loaders, which enables WebP support (see FAQ for more info).
  • API changes:
    • Added IsInternal field to action argument (that is passed to on_drag_* callbacks).
    • Added ability to generate main menu items dynamically and handle it via the following API:
      • fb.RegisterMainMenuCommand().
      • fb.UnregisterMainMenuCommand().
      • on_main_menu_dynamic() callback.
    • Expanded playlist undo API:
      • plman.Undo().
      • plman.Redo().
      • plman.IsUndoAvailable().
      • plman.IsRedoAvailable().
  • Added spectrogram seekbar.js sample (by marc2003).

Changed

  • Reimplemented event handling system.
  • API changes:
    • window.NotifyOthers() is now executed asynchronously.
    • fb.DoDragDrop() is now executed asynchronously.
    • on_main_menu() callback is marked as [Deprecated]. Use dynamically generated main menu items instead.

Fixed

  • Removed unneeded writes to script package .json.
  • Fixed drag-n-drop sometimes not working.
  • Fixed timers not stopping when they should (#135).