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

Unified Diff: sky/examples/game/main.dart

Issue 1183913006: Rename AppView to SkyBinding. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | sky/examples/rendering/borders.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/game/main.dart
diff --git a/sky/examples/game/main.dart b/sky/examples/game/main.dart
index 6282cce5a31a26aa94df134d906fc50ab371595a..8e971fc1cd2769f5d6c006f251486c15f27d9904 100644
--- a/sky/examples/game/main.dart
+++ b/sky/examples/game/main.dart
@@ -1,12 +1,11 @@
import 'dart:sky';
-import 'lib/game_demo.dart';
-import 'lib/sprites.dart';
+
import 'package:sky/widgets/basic.dart';
-import 'package:sky/app/view.dart';
-import 'package:sky/widgets/ui_node.dart';
import 'package:sky/widgets/raised_button.dart';
+import 'package:sky/widgets/widget.dart';
-AppView app;
+import 'lib/game_demo.dart';
+import 'lib/sprites.dart';
void main() {
// Load images
@@ -28,7 +27,7 @@ void allLoaded(ImageMap loader) {
class GameDemoApp extends App {
- UINode build() {
+ Widget build() {
return new Stack([
new GameDemo(),
// new StackPositionedChild(
@@ -53,9 +52,9 @@ ImageMap _loader;
class GameDemo extends OneChildRenderObjectWrapper {
- GameDemo({ UINode child, Object key })
+ GameDemo({ Widget child, Object key })
: super(child: child, key: key);
GameDemoBox get root { return super.root; }
GameDemoBox createNode() => new GameDemoBox(new GameDemoWorld(_loader));
-}
+}
« no previous file with comments | « no previous file | sky/examples/rendering/borders.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698