- 10 Jun, 2015 2 commits
-
-
Viktor Lidholt authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1177563004.
-
Adam Barth authored
This CL replaces the (non-working) components2 InkWell with some code based on the ink_well example. There are at least two issues with the implementation: 1) The ink splash always starts at the center of the well because we don't have a facility for converting from global to local coordinates, which means we can't tell where the tap occurred in the local coordinates we need to use for painting. 2) When used inside a MenuItem, the in splash disappears shortly after starting, presumably because the button starts highlighting, which causes a component rebuild and somehow we lose the RenderInkWell instance. I plan to address these issues in subsequent CLs. R=ianh@google.com Review URL: https://codereview.chromium.org/1172033003.
-
- 09 Jun, 2015 10 commits
-
-
Hans Muller authored
StockRows are now a relatively simple application of flex layout. The up/down arrows are now rendered within a circle, like the original version. The arrows are a little bigger, because. R=ianh@google.com Review URL: https://codereview.chromium.org/1165223005.
-
Hixie authored
This would cause them to forget what the most recent child they'd been given was, with disastrous effects later. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1173683003
-
Matt Perry authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1166223004.
-
Eric Seidel authored
We already know how to talk to the network_service from Dart via fetch.dart. Might as well use that for Image loading as well insetad of having ImageLoader do it. As part of this I've renamed *ImageLoader to *ImageDecoder and moved all the image loading logic into Dart. This required me to teach the idl system about mojo handles so that I could pass the resulting MojoHandle from fetch.dart up through to ImageDecoder. R=abarth@chromium.org, jackson@google.com, hansmuller@google.com Review URL: https://codereview.chromium.org/1173703002.
-
Matt Perry authored
more ColorFilter types. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1163373007.
-
Hans Muller authored
The FlexExpandingChild flex parameter is now a keyword as well, which adds a small readability benefit. R=ianh@google.com Review URL: https://codereview.chromium.org/1172503004.
-
Adam Barth authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1172723002.
-
Matt Perry authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1169863002.
-
Adam Barth authored
This CL pulled an implementation of position: absolute in RenderStackContainer. R=eseidel@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1166363002.
-
Hans Muller authored
This version doesn't add any visual punch. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1172513002.
-
- 08 Jun, 2015 9 commits
-
-
Adam Barth authored
This CL splits getIntrinsicDimensions into getMinIntrinsicWidth, getMaxIntrinsicWidth, getMinIntrinsicHeight, and getMaxIntrinsicHeight so that we can properly shrink-wrap the stocks app menu. This CL just contains the refactoring. The use in stocks app will come in a later CL. R=ianh@google.com Review URL: https://codereview.chromium.org/1167293003
-
Hixie authored
Radians are the one true angle unit. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1164393002
-
Hixie authored
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
-
Collin Jackson authored
R=abarth@chromium.org, abarth Review URL: https://codereview.chromium.org/1164363002
-
Adam Barth authored
R=eseidel@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1166183002
-
Adam Barth authored
The popup menu is displayed in the wrong location with the wrong width, but it does draw. I've also removed the checkbox because the flex container was causing me trouble. I'll add it back in a later CL. R=ianh@google.com Review URL: https://codereview.chromium.org/1166153002
-
Hixie authored
This includes making SizedBox default to infinite size, and making Container default to containing one infinite-sized SizedBox. That way, you can use an empty Container as a spacer in a flex box. The rendering doesn't quite work, because of a bug in flex whereby it doesn't shrink-wrap its contents in the cross-direction, it fills the parent. Collin is on that. R=jackson@google.com Review URL: https://codereview.chromium.org/1163633003
-
Matt Perry authored
I had to complicate the IDL bindings generation to allow passing an array of colors. Without these changes, we'd try to convert the dart object to Vector<SkColor>, which C++ thinks is Vector<unsigned>, and we'd use the wrong converter. So I added some template grease to force it to use a Vector<CanvasColor> converter. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1152963009
-
Adam Barth authored
And deploy it in a few places. R=ianh@google.com Review URL: https://codereview.chromium.org/1164303002
-
- 05 Jun, 2015 4 commits
-
-
Collin Jackson authored
R=abarth@chromium.org, abarth Review URL: https://codereview.chromium.org/1161813005
-
Adam Barth authored
The + isn't quite centered properly, but the button is a circle in the right place. R=eseidel@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1156383004
-
Collin Jackson authored
R=abarth@chromium.org, eseidel@chromium.org, abarth Review URL: https://codereview.chromium.org/1157573012
-
Viktor Lidholt authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1151793003
-
- 04 Jun, 2015 15 commits
-
-
Adam Barth authored
We're having trouble shrinkwrapping text, so this CL sets an explicit size for the last sale and the change in price. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1164763006
-
Hixie authored
Rename "BorderSide.None" to "BorderSide.none", since it's a constant, and change the sky.Size.infinite() constructor to a constant. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1158263005
-
Adam Barth authored
RenderScaffold needs to attach and detach its children when asked. R=eseidel@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1149893025
-
Hixie authored
Improve the RenderObject.toString() logic so that there's not blank lines everywhere and to generally be better. Adds sizes, positions, transforms, improves RenderParagraph's output. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1160233004
-
Eric Seidel authored
TBR=viktorl@google.com Review URL: https://codereview.chromium.org/1158273009
-
Eric Seidel authored
Does not work yet. R=ianh@google.com Review URL: https://codereview.chromium.org/1163973005
-
Adam Barth authored
This CL does a bunch of ground work for getting StockList ready for use in stocks2. It's still not quite working because of an interaction with Scaffold that we don't fully understand. R=eseidel@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1148793005
-
Eric Seidel authored
The goal of this is to have a Renderer-layer abstraction around the Sky Engine c++ apis for drawing a shadow. R=mpcomplete@chromium.org Review URL: https://codereview.chromium.org/1146893004
-
Collin Jackson authored
R=abarth@chromium.org, abarth Review URL: https://codereview.chromium.org/1163913004
-
Hixie authored
https://www.dartlang.org/articles/style-guide/#names R=jackson@google.com Review URL: https://codereview.chromium.org/1158813004
-
Viktor Lidholt authored
Adds support for transfer mode in Paint and SpriteNode classes. Adds support for opacity in sprites, and modifies example game. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1164633004
-
Collin Jackson authored
R=abarth@chromium.org, ianh@google.com, abarth, hixie Review URL: https://codereview.chromium.org/1165983002
-
Matt Perry authored
The array should be in column-major format, in the format used by vector_math.dart. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1155193004
-
Hixie authored
Currently supports only solid borders, but of any colour and size, independently controlling each side. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1154903006
-
Adam Barth authored
TBR=ianh@google.com Review URL: https://codereview.chromium.org/1164073002
-