mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Rename more occurences
This commit is contained in:
parent
a0d89c0346
commit
d4c1130130
17 changed files with 22 additions and 24 deletions
|
@ -2,7 +2,7 @@
|
|||
// SPDX-License-Identifier: (GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)
|
||||
|
||||
/*!
|
||||
Parse the contents of builtins.60 and fill the builtin type registry
|
||||
Parse the contents of builtins.slint and fill the builtin type registry
|
||||
*/
|
||||
|
||||
use std::cell::RefCell;
|
||||
|
@ -15,7 +15,7 @@ use crate::object_tree::{self, *};
|
|||
use crate::parser::{identifier_text, syntax_nodes, SyntaxKind, SyntaxNode};
|
||||
use crate::typeregister::TypeRegister;
|
||||
|
||||
/// Parse the contents of builtins.60 and fill the builtin type registry
|
||||
/// Parse the contents of builtins.slint and fill the builtin type registry
|
||||
/// `register` is the register to fill with the builtin types.
|
||||
/// At this point, it really should already contain the basic Types (string, int, ...)
|
||||
pub fn load_builtins(register: &mut TypeRegister) {
|
||||
|
|
|
@ -11,7 +11,7 @@ use crate::langtype::Type;
|
|||
use crate::object_tree::Component;
|
||||
use std::rc::Rc;
|
||||
|
||||
/// Ideally we would be able to write this in builtin.60, but the StyleMetrics is not available there
|
||||
/// Ideally we would be able to write this in builtins.slint, but the StyleMetrics is not available there
|
||||
pub fn apply_default_properties_from_style(
|
||||
root_component: &Rc<Component>,
|
||||
style_metrics: &Rc<Component>,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright © SixtyFPS GmbH <info@sixtyfps.io>
|
||||
// SPDX-License-Identifier: (GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)
|
||||
|
||||
// Cannot be put in the easing.60 test because it is in a different pass
|
||||
// Cannot be put in the easing.slint test because it is in a different pass
|
||||
|
||||
X := Rectangle {
|
||||
property <int> g; animate g { easing: cubic-bezier; }
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
// Copyright © SixtyFPS GmbH <info@sixtyfps.io>
|
||||
// SPDX-License-Identifier: (GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)
|
||||
|
||||
// Cannot be put in the easing.60 test because it is in a different pass
|
||||
|
||||
X := Rectangle {
|
||||
property<brush> g1: @linear-gradient();
|
||||
// ^error{Expected angle expression}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue