Skip to content

Commit 99b861c

Browse files
committed
window management
1 parent f61b5a5 commit 99b861c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

example/demo1.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,14 @@ void rotationDemo() {
137137
tmpimg.drawText(10, 10, "D_0", &Font24, BLACK, RED);
138138
d1.showImage(tmpimg, Point(30, 10), Point(30 + tmpWidth - 1, 10 + tmpHeight - 1), DEGREE_0); // RED
139139

140-
printf("--- DEGREE_180 --------------------------------------------------\n");
141-
tmpimg.drawText(10, 10, "D_180", &Font24, BLACK, GREEN);
142-
d1.showImage(tmpimg, Point(30, 10), Point(30 + tmpWidth - 1, 10 + tmpHeight - 1), DEGREE_180); // GREEN
143-
144140
printf("--- DEGREE_90 --------------------------------------------------\n");
145141
tmpimg.drawText(10, 10, "D_90", &Font24, BLACK, YELLOW);
146142
d1.showImage(tmpimg, Point(30, 10), Point(30 + tmpWidth - 1, 10 + tmpHeight - 1), DEGREE_90); // YELLOW
147143

144+
printf("--- DEGREE_180 --------------------------------------------------\n");
145+
tmpimg.drawText(10, 10, "D_180", &Font24, BLACK, GREEN);
146+
d1.showImage(tmpimg, Point(30, 10), Point(30 + tmpWidth - 1, 10 + tmpHeight - 1), DEGREE_180); // GREEN
147+
148148
printf("--- DEGREE_270 --------------------------------------------------\n");
149149
tmpimg.drawText(10, 10, "D_270", &Font24, BLACK, CYAN);
150150
d1.showImage(tmpimg, Point(30, 10), Point(30 + tmpWidth - 1, 10 + tmpHeight - 1), DEGREE_270); // CYAN

0 commit comments

Comments
 (0)