Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Unified Diff: samples/stm32f746g-discovery/touch.dart

Issue 1996533003: Change framebuffer.clear to use background color (Closed) Base URL: git@github.com:dartino/sdk.git@master
Patch Set: Review feedback Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: samples/stm32f746g-discovery/touch.dart
diff --git a/samples/stm32f746g-discovery/touch.dart b/samples/stm32f746g-discovery/touch.dart
index 3d93d630d2429f7a564d025b6ba62217e3f96a48..74e60f57269ad7994e50de8bf8de433c99f584a4 100644
--- a/samples/stm32f746g-discovery/touch.dart
+++ b/samples/stm32f746g-discovery/touch.dart
@@ -14,7 +14,7 @@ main() {
var touchScreen = disco.touchScreen;
frameBuffer.backgroundColor = Color.white;
- frameBuffer.clear(Color.white);
+ frameBuffer.clear();
int x = 25;
int y = 25;
frameBuffer.drawLine(x, y - 5, x, y + 5, Color.blue);
« no previous file with comments | « samples/stm32f746g-discovery/disco-light.dart ('k') | samples/stm32f746g-discovery/turtle-graphics/turtle.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698