Commit graph

11 commits

Author SHA1 Message Date
Olivier Goffart
46a011683f Implement easing curve in the runtime 2020-07-29 15:20:28 +02:00
Simon Hausmann
46d6e84754 Removed invalid comment
The issue was first earlier today (first commit :-)
2020-07-24 17:50:32 +02:00
Simon Hausmann
88fb491837 Add support for mapping elements to different native classes
The Rectangle element has properties for a border outline. If those are
used, then the generated code should use BorderRectangle. But if they are
not used, then we can fall back to just generating a Rectangle.
2020-07-24 17:48:19 +02:00
Simon Hausmann
0c5b0fbabd Don't require a border width to make a rounded rect 2020-07-24 14:54:49 +02:00
Simon Hausmann
b3ff744edf Fix rendering of the bubble inside the checkbox 2020-07-24 14:48:03 +02:00
Olivier Goffart
d3ad4603c8 A dummy checkbox 2020-07-24 11:56:54 +02:00
Simon Hausmann
9938197b58 Split Rectangle again
Into the previous Rectangle and BorderRectangle that allows (rounded) borders through a stroke in addition to the fill.

Next step is to make the compiler make the choice automatically depending
on the properties used.
2020-07-24 10:15:12 +02:00
Simon Hausmann
dd9bd2cf72 Add a rounded border to the button
There's still an open question about how to avoid the border properties
for all rectangles but allocate them only for those who have a border.
Regardless, this border illustrates the issue with the lack of text sizing.
2020-07-24 09:21:30 +02:00
Simon Hausmann
f1d9f4a04e Start with a gallery boilerplate 2020-07-23 15:48:29 +02:00
Simon Hausmann
2f8e6a8774 Use import statements for what we want to be default widget sets 2020-07-23 15:14:54 +02:00
Simon Hausmann
ad12ffaa46 Include all the .60 files in sixtyfps_widgets by default 2020-07-21 17:38:40 +02:00