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

Unified Diff: samples/stm32f746g-discovery/turtle-graphics/turtle.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
« no previous file with comments | « samples/stm32f746g-discovery/touch.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/stm32f746g-discovery/turtle-graphics/turtle.dart
diff --git a/samples/stm32f746g-discovery/turtle-graphics/turtle.dart b/samples/stm32f746g-discovery/turtle-graphics/turtle.dart
index d18fcd86d4e7447ecc8054ec67b9ef065f419f22..71feb98bf9e34926511d3f0f17d140037cf377f3 100644
--- a/samples/stm32f746g-discovery/turtle-graphics/turtle.dart
+++ b/samples/stm32f746g-discovery/turtle-graphics/turtle.dart
@@ -20,6 +20,7 @@ class Turtle {
/// Create a new Turtle, and set initial location.
Turtle(this._display, {xPosition: 0, yPosition: 0}) {
+ _display.backgroundColor = Color.black;
_display.clear();
_x = xPosition;
_y = yPosition;
« no previous file with comments | « samples/stm32f746g-discovery/touch.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698