mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 12:54:45 +00:00
Get rid of the context in properties/signal
This commit is contained in:
parent
ab7ae9f3e2
commit
e00491811b
25 changed files with 389 additions and 653 deletions
|
@ -46,7 +46,6 @@ private:
|
|||
internal::ComponentWindowOpaque inner;
|
||||
};
|
||||
|
||||
using internal::EvaluationContext;
|
||||
using internal::Image;
|
||||
using internal::Path;
|
||||
using internal::Rectangle;
|
||||
|
@ -69,14 +68,6 @@ constexpr inline ItemTreeNode<uint8_t> make_dyn_node(std::uintptr_t offset)
|
|||
|
||||
using internal::sixtyfps_visit_item_tree;
|
||||
|
||||
template<typename Component>
|
||||
EvaluationContext evaluation_context_for_root_component(const Component *component) {
|
||||
return EvaluationContext{
|
||||
VRef<ComponentVTable> { &Component::component_type, const_cast<Component *>(component)},
|
||||
nullptr,
|
||||
};
|
||||
}
|
||||
|
||||
// layouts:
|
||||
using internal::Constraint;
|
||||
using internal::GridLayoutCellData;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue