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

Unified Diff: samples/openglui/src/flashingbox.dart

Issue 12021025: Merge the openglui samples into one. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix emulator sample build Created 7 years, 11 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/openglui/pubspec.yaml ('k') | samples/openglui/src/gl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/openglui/src/flashingbox.dart
diff --git a/samples/simplegl/web/flashingbox.dart b/samples/openglui/src/flashingbox.dart
similarity index 92%
rename from samples/simplegl/web/flashingbox.dart
rename to samples/openglui/src/flashingbox.dart
index 40f7c3d8c3c28fb7dd4503157240c0d8fbbdc774..5915cc464fc865048ee3f0b9d48ba6aea2844b43 100644
--- a/samples/simplegl/web/flashingbox.dart
+++ b/samples/openglui/src/flashingbox.dart
@@ -16,10 +16,11 @@ num b;
/**
* Invoked on initial startup.
*/
-void setup() {
+void setup(int width, int height) {
r = 0;
g = 0;
b = 0;
+ resize(width, height);
}
void resize(int width, int height) {
« no previous file with comments | « samples/openglui/pubspec.yaml ('k') | samples/openglui/src/gl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698