Skip to content

Releases: Spirik/GEM

1.4.0

13 Jun 11:48
Compare
Choose a tag to compare
  • Support for user-defined callback arguments via GEMCallbackData struct (for buttons and menu items with editable variables);
  • New methods GEMItem::setCallbackVal(), GEMItem::getCallbackData(), GEMItem::getLinkedVariablePointer();
  • Readme updated accordingly.

1.3.4

07 Nov 09:37
Compare
Choose a tag to compare
  • Avoid using wild pointers (addressed issue #43)

1.3.3

10 Oct 12:29
Compare
Choose a tag to compare
  • Added support for build flags (e.g. in PlatformIO environment) as an alternative way to configure library;
  • Readme Configuration section updated accordingly.

1.3.2

02 Oct 15:36
Compare
Choose a tag to compare
  • Addressing -Wwrite-strings compiler warnings;
  • Readme updates;
  • Adafruit GFX version Blink example fix (blinking with LED_BUILTIN removed).

1.3.1

01 Oct 09:23
Compare
Choose a tag to compare
  • Addressing -Wattributes , -Wreorder, -Werror=return-type compiler warnings;
  • ESP32/ESP8266 compatibility note in Readme.

1.3.0

27 Sep 18:07
Compare
Choose a tag to compare
  • Support for Adafruit GFX library via GEM_adafruit_gfx class;
  • Additional Example-04_Blink_Recolor sketch, based on Example-02_Blink with new setForegroundColor() and setBackgroundColor() methods (only for Adafruit GFX version);
  • New GEM_ITEMS_COUNT_AUTO value for menuItemsPerScreen initialization parameter to turn on automatic calculation of number of items that will fit on the screen based on screen's height;
  • Readme updates to include walkthrough guide on How to use Adafruit GFX version and updated Reference section;
  • Fixed bug with GEMItem::hide() in case when the first menu item is hidden.

1.2.7

03 May 08:19
Compare
Choose a tag to compare
  • Updated conditional inclusion of avr/dtostrf.h for SAMD boards (may fix compatibility issues with ESP32 boards);
  • Readme section on platform compatibility added.

1.2.6

28 Feb 18:09
Compare
Choose a tag to compare
  • GEM::setSplashDelay() and GEM_u8g2::setSplashDelay() methods to explicitly set duration of time splash screen will be visible during init() routine (setting to 0 will disable splash screen);
  • Readme updated accordingly.

1.2.5

12 Dec 15:47
Compare
Choose a tag to compare
  • GEMPage constructor optional exitAction parameter added: pointer to a function that will be executed when GEM_KEY_CANCEL key is pressed while being on top level menu page;
  • Readme updated accordingly.

1.2.4

05 Dec 09:48
Compare
Choose a tag to compare
  • GEMItem::hide(), GEMItem::show() and GEMItem::getHidden() methods to hide/show menu items;
  • Readme updated accordingly.