329 Commits
Author SHA1 Message Date
lady ada d0704ad2b2 bump! 2020-08-23 14:11:27 -04:00
lady ada 737d40eca0 dopxy 2020-08-23 13:49:19 -04:00
lady ada 1fe2f556e9 clangz 2020-08-23 13:42:11 -04:00
lady ada f30658f9e6 re-re-rename 2020-08-23 13:34:47 -04:00
lady ada d34b65ef4d some doxy 2020-08-23 13:33:45 -04:00
lady ada c0a97b27ad rename so we keep same files 2020-08-23 13:29:41 -04:00
lady ada 36f36e34a5 workin 2020-08-23 13:28:40 -04:00
lady ada 943a6454e9 init 2020-08-22 20:36:29 -04:00
siddacious 0752d4bd4f bumping minor version 1.9.0 2020-06-18 18:55:18 -07:00
Melissa LeBlanc-Williams e4fcdba2b2 Merge pull request #237 from michaelkamprath/master
Added support in GFXcanvas* classes to access pixel values
2020-06-16 16:02:58 -07:00
dherrada aa3ecbd358 Bump to 1.8.5 1.8.5 2020-06-15 17:17:28 -04:00
nuxeh e806c84d3f Change boolean to bool (#303)
* Change boolean to bool

This avoids compiler warnings such as:

    In file included from /home/ed/git/dryer-arduino/ui/src/graphicstest.ino:18:
    .pio/libdeps/nucleo_f446re/Adafruit GFX Library_ID13/Adafruit_GFX.h:48:39: warning: 'boolean' is deprecated [-Wdeprecated-declarations]
       48 |   virtual void invertDisplay(boolean i);
          |                                       ^
    In file included from /home/ed/.platformio/packages/framework-arduinoststm32/cores/arduino/wiring.h:34,
                     from /home/ed/.platformio/packages/framework-arduinoststm32/cores/arduino/Arduino.h:32,
                     from /tmp/tmpvslwxjr7:1:
    /home/ed/.platformio/packages/framework-arduinoststm32/cores/arduino/wiring_constants.h:110:14: note: declared here

* Fix clang format issues unrelated to this PR

Addresses the following from CI:

    $ python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r .
    --- ./Adafruit_GFX.h	(original)
    +++ ./Adafruit_GFX.h	(reformatted)
    @@ -240,8 +240,8 @@
       uint8_t textsize_x;   ///< Desired magnification in X-axis of text to print()
       uint8_t textsize_y;   ///< Desired magnification in Y-axis of text to print()
       uint8_t rotation;     ///< Display rotation (0 thru 3)
    -  bool wrap;         ///< If set, 'wrap' text at right edge of display
    -  bool _cp437;       ///< If set, use correct CP437 charset (default is off)
    +  bool wrap;            ///< If set, 'wrap' text at right edge of display
    +  bool _cp437;          ///< If set, use correct CP437 charset (default is off)
       GFXfont *gfxFont;     ///< Pointer to special font
     };

    --- ./Adafruit_GFX.cpp	(original)
    +++ ./Adafruit_GFX.cpp	(reformatted)
    @@ -1713,9 +1713,7 @@
        @returns  True if was pressed before, now is not.
     */
     /**************************************************************************/
    -bool Adafruit_GFX_Button::justReleased() {
    -  return (!currstate && laststate);
    -}
    +bool Adafruit_GFX_Button::justReleased() { return (!currstate && laststate); }

     // -------------------------------------------------------------------------
2020-06-15 11:20:29 -04:00
Melissa LeBlanc-Williams b38da16004 Merge pull request #301 from adafruit/revert-300-master
Revert "Optimized drawChar and drawCircleHelper"
2020-06-08 10:07:16 -07:00
Melissa LeBlanc-Williams 8be8308f03 Revert "Optimized drawChar and drawCircleHelper" 2020-06-08 10:05:48 -07:00
Melissa LeBlanc-Williams 866ca6fb0d Merge pull request #300 from bitbank2/master
Optimized drawChar and drawCircleHelper
2020-06-08 09:18:12 -07:00
Laurence Bank 632cf443a8 Reformatted with clang-format 2020-06-07 12:32:37 -04:00
Laurence Bank e1e51b09e1 pr cleanup 2020-06-07 10:11:36 -04:00
Laurence Bank 1b93789997 Optimized drwChar and drawCircleHelper 2020-06-06 18:51:57 -04:00
Michael Kamprath 6791eaca01 Re-running clang-format after the rebase 2020-06-05 11:00:20 -07:00
Michael Kamprath c53e9d24aa added support in GFXcanvas* classes to access pixel values
Alsp added and example for GFXcanvas that demonstrates the impact of rotation
on pixel layout and also demonstrates getting a pixel based on raw
physical coordinates.
2020-06-05 10:52:32 -07:00
dherrada 1232016e3b Bump to 1.8.4 1.8.4 2020-06-01 15:19:26 -04:00
Billy Donahue addf773adc fontconvert missing header (#297)
Fixes Issue #273
2020-05-28 10:35:48 -04:00
dherrada eeec0f6c01 Update version in library.properties to 1.8.3 1.8.3 2020-05-18 17:02:51 -04:00
lady ada f9ed8e4ea7 Merge branch 'master' of github.com:adafruit/Adafruit-GFX-Library 2020-05-17 16:38:07 -04:00
lady ada 32439f79dc try manually installing ili9341 2020-05-17 16:38:02 -04:00
Nicholas Asch 0393044a8b update MonoOLED i2c constructor to match var def order (#290) 2020-05-17 13:39:25 -04:00
lady ada d2b4b25559 manual implementation of https://github.com/adafruit/Adafruit-GFX-Library/pull/282 1.8.2 2020-05-17 12:35:25 -04:00
lady ada 156f8d4f0d fixed up https://github.com/adafruit/Adafruit-GFX-Library/pull/275 2020-05-17 12:33:07 -04:00
lady ada 4c95a95e81 correct fix for attiny 2020-05-17 12:29:30 -04:00
lady ada 709437a01b dont use mono oled with trinkets 1.8.1 2020-05-16 22:38:19 -04:00
lady ada 1a302d88a7 add dep to readme dox 1.8.0 2020-05-16 00:53:34 -04:00
lady ada bd0e813006 Merge branch 'master' of github.com:adafruit/Adafruit-GFX-Library 2020-05-16 00:47:10 -04:00
lady ada bf36a21bbf Add new dep for Adafruit_BusIO and monochrome OLED helper class that does most of the heavy lifting 2020-05-16 00:47:06 -04:00
Limor "Ladyada" Fried b01f5e1731 Generic mono oled support (#289)
* initial monooled

* i2c basic support

* add dep

* fix warnings

* doxy

* dirty rects if u pleeeze

* reset *before* trying to connect to i2c

* fix up SPI mode!

* cllang

* doxy
2020-05-16 00:45:51 -04:00
Billy Donahue 5fef578a6c Break up the compound decls in the BASIC DRAW API section (#287)
* One member per declaration.

* break up a few that were sharing the same line
2020-05-13 19:02:32 -04:00
ZinggJM 9b1781b90d Update gfxfont.h (#286) 2020-05-13 10:42:20 -04:00
Melissa LeBlanc-Williams cb471e31df Merge pull request #272 from makermelissa/master
Removed duplicate spiWrite to fix bbSPI
1.7.6
2020-02-12 08:51:12 -08:00
Melissa LeBlanc-Williams 2798aee127 Removed duplicate spiWrite to fix bbSPI 2020-02-12 08:37:10 -08:00
siddacious 7fd0c5ea1d Update library.properties 1.7.5 2020-01-16 13:52:11 -08:00
Paint Your Dragon d38ee86716 Merge pull request #262 from mzero/overloaded-write
allow Print's overloaded write() calls to be used with Adafruit_GFX
2020-01-12 21:12:25 -08:00
siddacious 4ae6b535f2 Update library.properties 1.7.4 2020-01-08 11:07:55 -08:00
Ha Thach c16c8dca43 add repository_dispatch event 2020-01-07 14:11:41 +07:00
Lady Ada c023885755 bump to release actions/dependencies 1.7.3 2019-12-27 17:19:26 -05:00
Limor "Ladyada" Fried 6abf693056 Actionsci2 (#264)
add library dependancy
remove travis CI
update badge
enable Actions
2019-12-27 17:10:08 -05:00
Mark Lentczner 36ea56905e allow Print's overloaded write() calls to be used with Adafruit_GFX
Adafruit_GFX overrides one of the Print::write() functions.
The rules of overload resolution say that all the overloaded options
need to be visible in the class where the first option is found.
Since Adafruit_GFX only overrides write(uint8_t), the other version,
write(const uint8_t *buffer, size_t size) cannot be called on a
Adafruit_GFX display from sketches.

This change adds the "using" directive, which tells C++ to consider
all of Print's write members to be in scope of Adafruit_GFX, even
though only one is overridden.
2019-12-24 00:12:04 -08:00
Henry Gabryjelski 6d513193e6 Fix two compiler warnings. (#259)
* Fix compiler warning [-Wunused-const-variable=]

Compiling a sketches that uses this library can report a warning
about the const variable `font` being defined, but never used.
Work around this by defining a (static inline) function which
references the variable.

* Remove unused variable (compiler warning)
2019-12-20 15:16:24 -05:00
Melissa LeBlanc-Williams bdf1bc3f47 Bumped for version release 1.7.2 2019-12-20 08:25:02 -08:00
Paint Your Dragon 6f16f7a22e Merge pull request #258 from makermelissa/master
Added previously removed sendCommand() overload to fix rotation issue.
2019-12-19 21:42:59 -08:00
Melissa LeBlanc-Williams 70950e3d3b Added removed sendCommand overload to fix rotation 2019-12-19 11:20:06 -08:00
Melissa LeBlanc-Williams 4169843c85 Bumped for version release 1.7.1 2019-12-18 15:12:50 -08:00