Phase 4: Formulardateien und Konvertierung
This commit is contained in:
@@ -30,6 +30,7 @@ impl PropertyValue {
|
||||
PropertyDefault::Boolean(v) => Self::Boolean(v),
|
||||
PropertyDefault::Empty if ty == PropertyType::Object => Self::Object(None),
|
||||
PropertyDefault::Empty if ty == PropertyType::String => Self::String(String::new()),
|
||||
PropertyDefault::Empty if ty == PropertyType::Boolean => Self::Boolean(false),
|
||||
PropertyDefault::Empty => Self::Integer(0),
|
||||
}
|
||||
}
|
||||
|
||||
2042
crates/tb-ui/src/frm.rs
Normal file
2042
crates/tb-ui/src/frm.rs
Normal file
File diff suppressed because it is too large
Load Diff
2687
crates/tb-ui/src/frm_pcode.rs
Normal file
2687
crates/tb-ui/src/frm_pcode.rs
Normal file
File diff suppressed because it is too large
Load Diff
@@ -10,6 +10,8 @@
|
||||
|
||||
pub mod events;
|
||||
pub mod forms;
|
||||
pub mod frm;
|
||||
mod frm_pcode;
|
||||
pub mod host; // Terminal-Host: Anzeige + Tastatur-/Größenereignisse
|
||||
pub mod screen;
|
||||
pub mod signale; // Betriebssystemsignale als Ereignisquelle (SIGNAL)
|
||||
|
||||
16
crates/tb-ui/tests/data/new.frm.hex
Normal file
16
crates/tb-ui/tests/data/new.frm.hex
Normal file
@@ -0,0 +1,16 @@
|
||||
fc 08 01 00 0e 00 a8 01 c3 01 09 00 01 02 03 04
|
||||
06 05 08 0a 69 00 00 00 00 00 00 00 56 00 3d 00
|
||||
00 00 00 22 85 29 00 00 00 00 00 52 29 00 00 03
|
||||
0f 11 3f 00 00 07 00 00 47 00 02 00 00 0f 3d 01
|
||||
03 00 00 c1 00 00 0a 00 00 00 00 00 00 00 0b 08
|
||||
03 0c 00 00 07 00 00 4c 00 00 00 29 00 03 00 4e
|
||||
65 77 08 00 43 6f 6d 6d 61 6e 64 31 5d 00 00 03
|
||||
4e 65 77 00 00 03 08 43 6f 6d 6d 61 6e 64 31 05
|
||||
01 ff ff 24 00 ff ff 56 00 00 00 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 00 56 00 00 00 04
|
||||
00 09 00 08 00 ff ff ff ff ff ff ff ff 00 00 00
|
||||
00 00 00 03 01
|
||||
Reference in New Issue
Block a user