Rename more occurences

This commit is contained in:
Olivier Goffart 2022-02-02 17:19:00 +01:00
parent a0d89c0346
commit d4c1130130
17 changed files with 22 additions and 24 deletions

View file

@ -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) {

View file

@ -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>,

View file

@ -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; }

View file

@ -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}