19 lines
352 B
C++
19 lines
352 B
C++
#ifndef JACKBOT_EMOTES_H
|
|
#define JACKBOT_EMOTES_H
|
|
#include <Adafruit_GFX.h>
|
|
|
|
namespace JackBot
|
|
{
|
|
class Emotes {
|
|
public:
|
|
Emotes(Adafruit_GFX* display);
|
|
// Draw text in the center of the screen
|
|
void drawCenteredText(const char* text, uint16_t color);
|
|
// Simple emoji-like faces
|
|
|
|
private:
|
|
Adafruit_GFX* tft;
|
|
void clearScreen();
|
|
};
|
|
}
|
|
#endif |