1
0
forked from me/IronOS

UTF8 handling, Cyrillic font, bring over old translations

This commit is contained in:
Ben V. Brown
2017-09-27 21:14:18 +10:00
parent daa04d0c80
commit 43c5ca855c
5 changed files with 381 additions and 52 deletions

View File

@@ -27,7 +27,7 @@ public:
OLED(I2C_HandleTypeDef* i2cHandle); // Initialize Driver and store I2C pointer
void initialize(); // Startup the I2C coms (brings screen out of reset etc)
void refresh(); // Draw the buffer out to the LCD using the DMA Channel
void drawChar(char c); // Draw a character to a specific location
void drawChar(char c, char preCursorCommand = '\0'); // Draw a character to a specific location
void displayOnOff(bool on); // Turn the screen on or not
void setRotation(bool leftHanded); // Set the rotation for the screen
bool getRotation(); // Get the current rotation of the LCD

View File

@@ -8,9 +8,19 @@
#ifndef TRANSLATION_H_
#define TRANSLATION_H_
extern const char* SettingsLongNames[13];
extern const char* SettingsShortNames[13];
extern const char* SettingsCalibrationWarning;
extern const char* UVLOWarningString;
extern const char SettingTrueChar;
extern const char SettingFalseChar;
extern const char SettingSleepChar;
extern const char SettingFastChar;
extern const char SettingMediumChar;
extern const char SettingSlowChar;
extern const char SettingRightChar;
extern const char SettingLeftChar;
extern const char SettingAutoChar;
extern const char SettingTempCChar;
extern const char SettingTempFChar;
#endif /* TRANSLATION_H_ */