Simon Hausmann
|
30acb11362
|
Fix handling of properties of nested optimized layout elements
We need to traverse also into the expressions of nested layouts to ensure
any references inside are updated as the
"virtual" properties are moved.
|
2020-07-29 18:52:22 +02:00 |
|
Simon Hausmann
|
00271a3746
|
Extend the layout data structure in the compiler to allow nesting
|
2020-07-29 18:52:22 +02:00 |
|
Simon Hausmann
|
f853843bc4
|
Store layouts in a common enum and vector
That'll make it easier later to allow for nesting them.
|
2020-07-29 18:52:02 +02:00 |
|
Olivier Goffart
|
b57f3775c9
|
Refactor GridLayout
|
2020-07-28 10:31:05 +02:00 |
|
Simon Hausmann
|
39359a4e26
|
Add support for an offset to PathLayout
This allows animating items on their position along the path.
|
2020-07-14 15:12:03 +02:00 |
|
Simon Hausmann
|
992f990fa8
|
Allow for fitting paths into a given bounding rectangle
... by applying a transformation. This allows designing a path in some
other path design tool and then make it fit using bindings.
|
2020-07-13 15:41:11 +02:00 |
|
Simon Hausmann
|
79ba943882
|
Allow for positioning grid layouts as well
|
2020-07-13 14:02:53 +02:00 |
|
Simon Hausmann
|
f6761e2c4c
|
Allow for the positioning of PathLayouts via x/y properties
These are just "virtual" properties that will be transformed into
property members of the main struct through the optimized elements
sub-pass.
|
2020-07-13 13:34:04 +02:00 |
|
Simon Hausmann
|
4b75ec0ee8
|
Lay out items on a path
This works, but it's still missing support for positioning of the layout
itself.
|
2020-07-09 15:32:47 +02:00 |
|
Olivier Goffart
|
8b6bb47af8
|
Create a type alias for Rc<RefCell<Element>>
|
2020-06-11 15:28:51 +02:00 |
|
Olivier Goffart
|
907bea3d3b
|
Layout for rust
|
2020-06-10 19:41:24 +02:00 |
|
Olivier Goffart
|
96a372e45d
|
Grid layout in the interpreter
current imploementation is just a prototype
|
2020-06-10 19:40:47 +02:00 |
|