Commit Graph

341 Commits

Author SHA1 Message Date
Eduardo Gonzalez
95855b1a09 Added function getLabel() to expose the button label. 2021-04-05 21:10:30 -03:00
Phillip Burgess
221bb41cd2 Add PyPortal Titano to the list of DMA-enabled boards 2021-03-26 18:12:40 -07:00
Dylan Herrada
9999f527a0
Bump to 1.10.6 2021-02-16 15:06:38 -05:00
tchap
fff760e2a9
Add a reference to the GFX Font customiser in README (#336)
Co-authored-by: Cyril <c.chapellier@useradgents.com>
2021-02-12 12:42:22 -05:00
Dylan Herrada
80f727103c
Bump to 1.10.5 2021-02-02 14:50:49 -05:00
Paint Your Dragon
3dab29c00e
Merge pull request #333 from rgiese/master
Fix compiler errors thrown by recent Particle cloud compiler updates
2021-02-01 10:06:48 -08:00
Robin Giese
347b1341e9 Fixing clang-format 2021-01-31 17:22:05 -08:00
Robin Giese
87bfdd4d87 Fixing compiler error: 'virtual Adafruit_SPITFT::~Adafruit_SPITFT()' is implicitly deleted because the default definition would be ill-formed 2021-01-31 17:06:24 -08:00
Robin Giese
e9b86373a6 Fix compiler warning: "SPI_INTERFACES_COUNT" is not defined, evaluates to 0 [-Wundef] 2021-01-31 17:05:02 -08:00
Dylan Herrada
b53849e234
Bump to 1.10.4 2020-12-11 16:45:25 -05:00
Brian Park
58606c5701
Fix -Wunused-parameter warnings (#328) 2020-12-08 17:37:27 -05:00
Dylan Herrada
c40424af31
Bump to 1.10.3 2020-11-23 16:01:31 -05:00
KurtE
6c648c6d68
Fix GFXcanvas16::drawFastRawHLine (#326)
This is a quick fix to fix functions like:
```
GFXcanvas16 *canvas = new GFXcanvas16 (240, 320)
canvas -> fillTriangle(0, 0, 239, 0, 120, 310, ILI9341_BLUE)
```
Could all on down to drawFastRawHLine and the
computerd buffer_index > 32767 which is the largest that could be held in int16_t.  So switched to uint32_t also converted the computed value to uint32_t as well as to remove compiler warning.

Removed another compiler warning as well.

This addresses the problem in
#325
2020-11-21 12:11:50 -05:00
Phillip Burgess
1459233d38 clang-format fix 2020-10-19 12:16:15 -07:00
Phillip Burgess
f876b1360c Fix clipping in fast H/V lines on canvases 2020-10-19 12:00:55 -07:00
Dylan Herrada
8d7bdff6dc
Bump to 1.10.1 2020-09-07 15:48:09 -04:00
Melissa LeBlanc-Williams
f7db17f317
Merge pull request #315 from michaelkamprath/fast-lines-fix
Fixed fast line drawing in GFXcanvas* classes
2020-09-02 08:27:15 -07:00
Limor "Ladyada" Fried
d9220ba7d3
Gray oled support (#317)
rename monooled to grayoled and support 1 or 4 bpp - backtested with SH110x and also new SSD1327
bump too
2020-08-23 14:18:56 -04:00
Michael Kamprath
c9d7f3cccc
added method documentation 2020-08-18 23:05:17 -07:00
Michael Kamprath
18eec8bb9e
fixed fast line drawing in GFXcanvas* classes 2020-08-18 22:25:19 -07:00
siddacious
0752d4bd4f
bumping minor version 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 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 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 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 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 2020-05-16 22:38:19 -04:00
lady ada
1a302d88a7 add dep to readme dox 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
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