Skip to content

Commit 275e230

Browse files
committed
window management
1 parent 19bc19f commit 275e230

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/controller/Display.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,10 @@ namespace udd {
197197
showImage(image, Point(0,0), Point(config.width,config.height), DEGREE_0);
198198
}
199199

200+
void Display::showImage(Image& image, Rotation rotation) {
201+
showImage(image, Point(0, 0), Point(config.width, config.height), rotation);
202+
}
203+
200204
void Display::showImage(Image &image, Point p1, Point p2, Rotation rotation) {
201205
int width, height;
202206
screenLock.lock();

src/controller/Display.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ namespace udd {
7676
virtual void clearWindow(Color color, Point p1, Point p2, Rotation rotation);
7777

7878
virtual void showImage(Image &image);
79+
virtual void showImage(Image &image, Rotation rotation);
7980
virtual void showImage(Image &image, Point p1, Point p2, Rotation rotation);
8081

8182
virtual void readBusy() {

0 commit comments

Comments
 (0)