mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
Layout refactoring: C++ part
This commit is contained in:
parent
539a78e807
commit
ba1aff84d0
8 changed files with 334 additions and 608 deletions
|
@ -274,7 +274,8 @@ fn gen_corelib(root_dir: &Path, include_dir: &Path) -> anyhow::Result<()> {
|
|||
);
|
||||
config.export.body.insert(
|
||||
"LayoutInfo".to_owned(),
|
||||
" inline LayoutInfo merge(const LayoutInfo &other) const;".into(),
|
||||
" inline LayoutInfo merge(const LayoutInfo &other) const;
|
||||
friend inline LayoutInfo operator+(const LayoutInfo &a, const LayoutInfo &b) { return a.merge(b); }".into(),
|
||||
);
|
||||
config
|
||||
.export
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue