Less cluttered cyclic mode brackets on detailed GUI

This commit is contained in:
Ray Jones 2019-06-16 09:47:38 +10:00
parent ce8299609b
commit 19b17af925
2 changed files with 19 additions and 19 deletions

View file

@ -306,13 +306,13 @@ CDetailedScreen::showThermometer(float fDesired, float fActual, float fPump)
min = Y_BULB + TEMP_YPOS(min);
int xOfs = 8;
// ####
_drawBitmap(X_BULB + xOfs, max, ThermoPtrHighIconInfo); // ##
// #
_display.drawFastVLine(X_BULB + xOfs + 3, max, (min-max), WHITE); // #
// ##
_drawBitmap(X_BULB + xOfs, min-2, ThermoPtrLowIconInfo); // ####
_drawBitmap(X_BULB + xOfs, max-2, ThermoPtrHighIconInfo); // ##
// ####
// ####
_drawBitmap(X_BULB + xOfs, min, ThermoPtrLowIconInfo); // ##
// #
}
// draw target setting

View file

@ -152,21 +152,21 @@ const unsigned char thermoOpenPtr [] PROGMEM = {
};
const BITMAP_INFO ThermoOpenPtrIconInfo(3, 5, thermoOpenPtr);
// 'ThermoPtrHigh', 4x3px
const unsigned char thermoPtrHigh [] PROGMEM = {
0xf0, // ####
0x30, // ##
0x10 // #
};
const BITMAP_INFO ThermoPtrHighIconInfo(4, 3, thermoPtrHigh);
// 'ThermoPtrLow', 4x3px
// 'ThermoPtrHigh', 3x3px
const unsigned char thermoPtrLow [] PROGMEM = {
0x10, // #
0x30, // ##
0xf0 // ####
0xe0, // ####
0x60, // ##
0x20, // #
};
const BITMAP_INFO ThermoPtrLowIconInfo(4, 3, thermoPtrLow);
const BITMAP_INFO ThermoPtrLowIconInfo(3, 3, thermoPtrLow);
// 'ThermoPtrLow', 3x3px
const unsigned char thermoPtrHigh [] PROGMEM = {
0x20, // #
0x60, // ##
0xe0 // ###
};
const BITMAP_INFO ThermoPtrHighIconInfo(3, 3, thermoPtrHigh);
// 'Bluetooth icon', 6x11px
const unsigned char BTicon [] PROGMEM = {