Skip to content

Commit 19bc19f

Browse files
committed
window management
1 parent 015b7db commit 19bc19f

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/displays/DisplayWS_ePaper_v2.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,17 +159,14 @@ namespace udd {
159159
screenLock.unlock();
160160
}
161161

162-
void DisplayWS_ePaper_v2::showImage(Image &image) {
163-
showImage(image, DEGREE_0);
164-
}
165162

166163
void addBit(int bit, _byte* byte, int val) {
167164
if (val>0) {
168165
(*byte) = (*byte) | (val << (7-bit));
169166
}
170167
}
171168

172-
void DisplayWS_ePaper_v2::showImage(Image &image, Rotation rotation) {
169+
void DisplayWS_ePaper_v2::showImage(Image &image, Point p1, Point p2, Rotation rotation) {
173170

174171
fprintf(stderr, "ePaper showImage(%d,%d)\n", config.width, config.height);
175172

src/displays/DisplayWS_ePaper_v2.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ namespace udd {
1717
void reset() override;
1818
void readBusy() override;
1919
void clearScreen(Color color) override;
20-
void showImage(Image &image) override;
21-
void showImage(Image &image, Rotation rotation) override;
20+
void showImage(Image& image, Point p1, Point p2, Rotation rotation);
2221
void showImagePartial(Image image, Rotation rotation);
2322
void EPD_SetFullReg();
2423
void setPartReg();

0 commit comments

Comments
 (0)