Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of API methods in header #117

Open
LittleDan9 opened this issue Apr 18, 2017 · 0 comments
Open

Addition of API methods in header #117

LittleDan9 opened this issue Apr 18, 2017 · 0 comments

Comments

@LittleDan9
Copy link

I have recently been working on a project that utilizes multiple different display drivers that utilize this library as the primary writing routine. To chose the display driver a runtime I am using the Adafruit_GFX library as an interface to these TFT drivers. Both the of TFT driver I am utilize implement the begin, setAddrWindow, pushColor and color565 methods. To be able to utilize Adafruit_GFX as the interface I am requesting the following be added to the header:

virtual void begin(void)=0;
virtual void setAddrWindow(uint16_t x, uint16_t y, uint16_t w, uint16_t h)=0;
virtual void pushColor(uint16_t color)=0;
virtual uint16_t color565(uint8_t r, uint8_t g, uint8_t b)=0;

Not sure if update requests can be made or if there is a process you would like use to follow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant