Cosmetics
This commit is contained in:
+5
-6
@@ -126,13 +126,12 @@ void BitmapBuffer::drawVerticalLine(coord_t x, coord_t y, coord_t h, uint8_t pat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void BitmapBuffer::drawLine(coord_t x1, coord_t y1, coord_t x2, coord_t y2, uint8_t pat, LcdFlags att)
|
void BitmapBuffer::drawLine(coord_t x1, coord_t y1, coord_t x2, coord_t y2, uint8_t pat, LcdFlags att) {
|
||||||
{
|
|
||||||
// Offsets
|
// Offsets
|
||||||
x1 += this->offsetX;
|
x1 += offsetX;
|
||||||
y1 += this->offsetY;
|
y1 += offsetY;
|
||||||
x2 += this->offsetX;
|
x2 += offsetX;
|
||||||
y2 += this->offsetY;
|
y2 += offsetY;
|
||||||
|
|
||||||
pixel_t color = lcdColorTable[COLOR_IDX(att)];
|
pixel_t color = lcdColorTable[COLOR_IDX(att)];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user