mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
Remove undocumented and dysfunctional PathLayout
This type is poorly implemented and not documented. Let's remove it for now. It shall remain available in the git history in the event of a resurrection.
This commit is contained in:
parent
587c9f6942
commit
629c7ed80e
22 changed files with 16 additions and 663 deletions
|
@ -580,16 +580,6 @@ box_layout_info_ortho(cbindgen_private::Slice<cbindgen_private::BoxLayoutCellDat
|
|||
return cbindgen_private::slint_box_layout_info_ortho(cells, &padding);
|
||||
}
|
||||
|
||||
inline SharedVector<float> solve_path_layout(const cbindgen_private::PathLayoutData &data,
|
||||
cbindgen_private::Slice<int> repeater_indexes)
|
||||
{
|
||||
SharedVector<float> result;
|
||||
cbindgen_private::Slice<uint32_t> ri { reinterpret_cast<uint32_t *>(repeater_indexes.ptr),
|
||||
repeater_indexes.len };
|
||||
cbindgen_private::slint_solve_path_layout(&data, ri, &result);
|
||||
return result;
|
||||
}
|
||||
|
||||
/// Access the layout cache of an item within a repeater
|
||||
inline float layout_cache_access(const SharedVector<float> &cache, int offset, int repeater_index)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue