add a "popup" menu variant (for the reflow profile editor)
This commit is contained in:
@@ -89,7 +89,7 @@ void LCD_setRect(int x0, int y0, int x1, int y1, bool fill, enum Color bw)
|
||||
else
|
||||
xDiff = x1 - x0;
|
||||
|
||||
while (xDiff > 0) {
|
||||
while (xDiff >= 0) {
|
||||
LCD_setLine(x0, y0, x0, y1, bw);
|
||||
|
||||
if (x0 > x1)
|
||||
@@ -361,3 +361,9 @@ void LCD_invertDisplayData()
|
||||
LCD_displayMap[i] ^= 0xFF;
|
||||
}
|
||||
}
|
||||
|
||||
void LCD_setShadeOverlay() {
|
||||
for (int i = 0; i < (LCD_WIDTH * LCD_HEIGHT / 8); i++) {
|
||||
LCD_displayMap[i] |= i & 1 ? 0x88 : 0x22;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -87,4 +87,7 @@ void LCD_invertDisplayData();
|
||||
|
||||
void LCD_setBitmap(const struct BitmapImage *image, int x, int y, bool bg, enum Color color);
|
||||
|
||||
/** draw dotted shadow over current content */
|
||||
void LCD_setShadeOverlay();
|
||||
|
||||
#endif //LCD_DRAWING_H
|
||||
|
||||
Reference in New Issue
Block a user