8000 Release 1.6 - support object-based event handler · bxparks/AceButton · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

1.6 - support object-based event handler

Compare
Choose a tag to compare
@bxparks bxparks released this 18 Sep 18:58
· 163 commits to master since this release
073a3f8
  • 1.6 (2020-09-18)
    • Remove 'class Print' forward declaration that breaks megaAVR like Nano
      Every.
    • Mark non-virtual const functions with const, which preserves backwards
      compatibility.
    • Add support for object-based event handler using IEventHandler and
      ButtonConfig::setIEventHanlder(). Fixes Issue
      #50
      . Regenerate library
      code size numbers, showing increase of 34-64 bytes of flash memory.
    • Add examples of how to configure 2 AceButtons using either a single
      ButtonConfig or 2 ButtonConfigs.
    • Potentially Breaking: Change ButtonConfig::getEventHandler() to be
      an internal and deprecated method. Replaced with
      ButtConfig::dispatchEvent() which is also an internal method.
0