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

Unified Diff: samples/third_party/pop-pop-win/lib/src/canvas/title_element.dart

Issue 200723008: samples/poppopwin: upgrade to first-class sample (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixed pkgbuild.status for rename Created 6 years, 9 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
Index: samples/third_party/pop-pop-win/lib/src/canvas/title_element.dart
diff --git a/samples/third_party/pop-pop-win/lib/src/canvas/title_element.dart b/samples/third_party/pop-pop-win/lib/src/canvas/title_element.dart
deleted file mode 100644
index 1da705ba5dc60c439f363e846f437c449ee2c345..0000000000000000000000000000000000000000
--- a/samples/third_party/pop-pop-win/lib/src/canvas/title_element.dart
+++ /dev/null
@@ -1,20 +0,0 @@
-part of ppw_canvas;
-
-class GameTitleElement extends Thing {
-
- GameTitleElement() : super(318, 96);
-
- void drawOverride(CanvasRenderingContext2D ctx) {
- _textureData.drawTextureKeyAt(ctx, 'logo_win.png');
- }
-
- GameElement get _gameElement => (parent as CanvasThing).parent;
-
- TextureData get _textureData => _gameElement._textureData;
-
- Game get _game => _gameElement._game;
-
- void _mouseDirectlyOver(args) {
- invalidateDraw();
- }
-}

Powered by Google App Engine
This is Rietveld 408576698