Index: sky/examples/hello_world/hello_world.dart |
diff --git a/sky/compositor/rasterizer.cc b/sky/examples/hello_world/hello_world.dart |
similarity index 55% |
copy from sky/compositor/rasterizer.cc |
copy to sky/examples/hello_world/hello_world.dart |
index e0eb2d5c189c617e86582c3b774a6fa35e23af65..0ad7536b592cc43d66dc496a5024cf3b3f5f9cae 100644 |
--- a/sky/compositor/rasterizer.cc |
+++ b/sky/examples/hello_world/hello_world.dart |
@@ -2,14 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "sky/compositor/rasterizer.h" |
+import 'package:sky/framework/fn.dart'; |
-namespace sky { |
- |
-Rasterizer::Rasterizer() { |
-} |
- |
-Rasterizer::~Rasterizer() { |
+class HelloWorldApp extends App { |
+ Node build() { |
+ return new Text('Hello, world!'); |
+ } |
} |
- |
-} // namespace sky |