adafruit / Adafruit_RA8875

Adafruit Arduino library driver for the RA8875 TFT driver
http://www.adafruit.com/products/1590
Other
68 stars 58 forks source link

support setRotation() for 0, 2 #12

Closed komacke closed 5 years ago

komacke commented 6 years ago

Support setRotation from parent GFX library for rotation = 2 (invert). Ignores rotations 1 and 3. Also fix argument naming in rectHelper - w and h are really the x,y coords of the opposite corner.

Thank you for creating a pull request to contribute to Adafruit's GitHub code! Before you open the request please review the following guidelines and tips to help it be more easily integrated:

Thank you again for contributing! We will try to test and integrate the change as soon as we can, but be aware we have many GitHub repositories to manage and can't immediately respond to every request. There is no need to bump or check in on a pull request (it will clutter the discussion of the request).

Also don't be worried if the request is closed or not integrated--sometimes the priorities of Adafruit's GitHub code (education, ease of use) might not match the priorities of the pull request. Don't fret, the open source community thrives on forks and GitHub makes it easy to keep your changes in a forked repo.

After reviewing the guidelines above you can delete this text from the pull request.

makermelissa commented 5 years ago

Changes were integrated into library. Thanks for your contribution.