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

Unified Diff: samples/stm32f746g-discovery/disco-light.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 | « pkg/stm32/lib/lcd.dart ('k') | samples/stm32f746g-discovery/touch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/stm32f746g-discovery/disco-light.dart
diff --git a/samples/stm32f746g-discovery/disco-light.dart b/samples/stm32f746g-discovery/disco-light.dart
index e49f27d9b362bc461aaf1778b9c2d48ca47d9a81..2081efc471d964bdb23b3890b7cf5b8c71734b2e 100644
--- a/samples/stm32f746g-discovery/disco-light.dart
+++ b/samples/stm32f746g-discovery/disco-light.dart
@@ -26,7 +26,7 @@ main() {
// Every 100 lines, clear the display and update the counter.
lineCounter += 1;
if ((lineCounter % 100) == 0) {
- display.clear(Color.black);
+ display.clear();
display.writeText(10, 10, 'Rendered $lineCounter lines');
}
}
« no previous file with comments | « pkg/stm32/lib/lcd.dart ('k') | samples/stm32f746g-discovery/touch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698