6 Commits

Author SHA1 Message Date
Eric Seidel
589290add1 Deploy TaskDescription to the rest of our demos
R=abarth@chromium.org, abarth@google.com

Review URL: https://codereview.chromium.org/1218293017 .
2015-07-07 14:31:52 -07:00
Collin Jackson
515c055c8e Back button should kill interactive flex app
R=abarth@chromium.org, abarth@google.com

Review URL: https://codereview.chromium.org/1214073014.
2015-07-07 12:57:52 -07:00
Adam Barth
5d3b218a5a Fix interactive_flex demo
There were two problems:

1) We didn't update the demo's use of RenderImage when we switched RenderImage
   to take a sky.Image rather than a URL.
2) Scheduling a layout no longer ensured a visual update, which meant we'd
   never actually flushLayout unless something else ensured a visual update.

TBR=jackson@google.com

Review URL: https://codereview.chromium.org/1221273002.
2015-07-03 21:34:59 -07:00
Hixie
6ed5b43877 Instead of applying a transform for every RenderObject, pass down an Offset for where to paint.
This should be a perf win, but I haven't tested it.

Also adds an operator overloading such that Offset + Size -> Rect.
Also adds Rect.fromLTWH().

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/1209413004.
2015-06-29 09:07:13 -07:00
Adam Barth
46363355ba Cleanup sky/sdk/examples
* Remove all the DOM-based examples except for the old stocks app
* Rename stocks2 to stocks
* Promote hello_widgets.dart to a top-level hello_world example

TBR=ianh@google.com

Review URL: https://codereview.chromium.org/1219493003.
2015-06-27 00:00:18 -07:00
Adam Barth
06adbc9aa6 Move examples to //sky/sdk/example
We're trying to follow the pattern described in https://www.dartlang.org/tools/pub/package-layout.html

TBR=iansf@google.com

Review URL: https://codereview.chromium.org/1210173004.
2015-06-26 22:52:40 -07:00