mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
Rename input
and output
property to in
, out
and in-out
This commit is contained in:
parent
ca616857b1
commit
dd4c701307
8 changed files with 343 additions and 347 deletions
|
@ -91,14 +91,13 @@ pub fn load_builtins(register: &mut TypeRegister) {
|
|||
continue;
|
||||
}
|
||||
match (token.as_token().unwrap().text(), info.property_visibility) {
|
||||
("input", PropertyVisibility::Private) => {
|
||||
("in", PropertyVisibility::Private) => {
|
||||
info.property_visibility = PropertyVisibility::Input
|
||||
}
|
||||
("output", PropertyVisibility::Private) => {
|
||||
("out", PropertyVisibility::Private) => {
|
||||
info.property_visibility = PropertyVisibility::Output
|
||||
}
|
||||
("input", PropertyVisibility::Output)
|
||||
| ("output", PropertyVisibility::Input) => {
|
||||
("in-out", PropertyVisibility::Private) => {
|
||||
info.property_visibility = PropertyVisibility::InOut
|
||||
}
|
||||
("property", _) => (),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue