Hixie
c4b64d74f3
Rename Container's desiredSize argument to width and height arguments.
...
Also change SizedBox.
This makes the code that uses Container() and SizedBox() much more readable.
The underlying RenderSizedBox is not affected by this change.
R=abarth@chromium.org , eseidel@chromium.org
Review URL: https://codereview.chromium.org/1166203002
2015-06-08 14:36:19 -07:00
Adam Barth
05c7ca6bef
Fix build after hixie's rename
...
TBR=ianh@google.com
Review URL: https://codereview.chromium.org/1164073002
2015-06-04 10:49:05 -07:00
Adam Barth
16f8b21601
Fix gesture events in fn2
...
This CL makes gesture events work again in fn2.
R=ianh@google.com
Review URL: https://codereview.chromium.org/1146923005
2015-06-03 16:06:15 -07:00
Collin Jackson
e16e10d830
Implement RenderImage and Image for Sky
...
This also fixes a bug that was preventing markNeedsLayout from working
R=abarth@chromium.org , eseidel@chromium.org , abarth, eseidel
Review URL: https://codereview.chromium.org/1160013004
2015-06-03 15:17:12 -07:00
Matt Perry
8c097b0892
Update BoxDecoration and RenderParagraph to use sky.Color instead of int.
...
Also add operator==, hashCode, toString, and some basic Color constants to
Color.
R=abarth@chromium.org , ianh@google.com
Review URL: https://codereview.chromium.org/1162023004
2015-06-03 16:57:04 -04:00
Adam Barth
81b8512b41
Add support for transforms to container
...
These transforms are currently very basic but they seem to mostly work.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1152273004
2015-06-03 10:20:33 -07:00
Adam Barth
898273c7b2
Implement Container in fn2
...
This CL is a first pass at implementing container in fn2. In this approach,
Container is a Component that builds a number of RenderNodeWrappers depending
on what is needed.
R=ianh@google.com
Review URL: https://codereview.chromium.org/1158983005
2015-06-02 15:07:02 -07:00
Adam Barth
3f57030cef
Add BlockContainer to fn2
...
BlockContainer uses a RenderBlock to lay out its children.
R=eseidel@chromium.org , jackson@chromium.org
Review URL: https://codereview.chromium.org/1166473005
2015-06-02 12:19:25 -07:00
Adam Barth
55eb0b38f0
Mark fn2's EventListenerNode work for PointerEvent
...
Prevously we listened for events on the document and then walked up the
component hierarchy looking for EventListenerNodes. Now we do something similar
by hooking the event dispatching logic in the AppView.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1153343004
2015-06-02 12:18:13 -07:00
Eric Seidel
7e7ed88f29
Add hello_fn2.dart and make Text("Hello fn2") actually render something.
...
R=ianh@google.com
Review URL: https://codereview.chromium.org/1160843005
2015-05-28 13:56:36 -07:00