diff options
| author | Reiner Herrmann <reiner@reiner-h.de> | 2020-07-17 20:29:41 +0200 |
|---|---|---|
| committer | Reiner Herrmann <reiner@reiner-h.de> | 2020-07-17 20:29:41 +0200 |
| commit | 4a239ede79c43cf22e8f769a4ea086687a65c3f0 (patch) | |
| tree | 5b1e651dc4188f541fdcd5d85d1e6c0521f93200 /include | |
| parent | 097db5fa9f57a77866be60ef8d8d39beef882639 (diff) | |
use u8g2 for font rendering, as they support fonts with umlauts
Diffstat (limited to 'include')
| -rw-r--r-- | include/calendar.h | 4 | ||||
| -rw-r--r-- | include/draw_qrcode.h | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/include/calendar.h b/include/calendar.h index 22fa9d1..a1b07f3 100644 --- a/include/calendar.h +++ b/include/calendar.h @@ -1,8 +1,6 @@ #ifndef CALENDAR_H #define CALENDAR_H -class GxEPD2_GFX_BASE_CLASS; - -void draw_calendar(GxEPD2_GFX_BASE_CLASS &display, int16_t x0, int16_t y0); +void draw_calendar(int16_t x0, int16_t y0); #endif diff --git a/include/draw_qrcode.h b/include/draw_qrcode.h index d200835..9b0ab7e 100644 --- a/include/draw_qrcode.h +++ b/include/draw_qrcode.h @@ -1,9 +1,7 @@ #ifndef DRAW_QRCODE_H #define DRAW_QRCODE_H -class GxEPD2_GFX_BASE_CLASS; - -int draw_qrcode(GxEPD2_GFX_BASE_CLASS &display, int16_t x, int16_t y, String &text); -void draw_qrcode_wlan(GxEPD2_GFX_BASE_CLASS &display, int16_t x, int16_t y, const char *ssid, const char *psk); +int draw_qrcode(int16_t x, int16_t y, String &text); +void draw_qrcode_wlan(int16_t x, int16_t y, const char *ssid, const char *psk); #endif |
