1
0
forked from me/IronOS

Refactor printing CJK menu with large font into OLED.cpp

This commit is contained in:
Alvin Wong
2021-03-29 19:07:50 +08:00
parent 55fa5c95e4
commit 53c02dca33
3 changed files with 24 additions and 23 deletions

View File

@@ -55,6 +55,7 @@ public:
static bool getRotation() { return inLeftHandedMode; }
static int16_t getCursorX() { return cursor_x; }
static void print(const char *string, FontStyle fontStyle); // Draw a string to the current location, with selected font
static void printWholeScreen(const char *string);
// Set the cursor location by pixels
static void setCursor(int16_t x, int16_t y) {
cursor_x = x;