1
0
forked from me/IronOS

Proposal for using checkbox instead of True/False (#177)

Replace True/False icons with checkbox symbols :)
This commit is contained in:
Rockman18
2017-12-24 11:39:16 +01:00
committed by Ben V. Brown
parent beb6b59889
commit fe1b50f658
5 changed files with 12 additions and 39 deletions

View File

@@ -272,6 +272,9 @@ void OLED::drawBattery(uint8_t state) {
state = 10;
drawSymbol(3 + state);
}
void OLED::drawCheckbox(bool state) {
drawSymbol((state) ? 17 : 18);
}
void OLED::drawSymbol(uint8_t symbolID) {
//draw a symbol to the current cursor location
setFont(2);