From c72e4946f1185a1a73fdd009ff7e848c8b3741e3 Mon Sep 17 00:00:00 2001 From: cnmcdee Date: Mon, 30 Nov 2026 10:56:13 +0000 Subject: [PATCH] Phase 2 CheckListBox type entry (Rust): KTYPES gains CheckListBox (180x110, phase1) so it is placeable; count test 36 -> 37 --- crates/lightgui-core/src/model.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/crates/lightgui-core/src/model.rs b/crates/lightgui-core/src/model.rs index bfd9d4f..58bf745 100644 --- a/crates/lightgui-core/src/model.rs +++ b/crates/lightgui-core/src/model.rs @@ -157,6 +157,13 @@ pub const KTYPES: &[TypeInfo] = &[ def_height: 110, phase1: true, }, + TypeInfo { + key: "CheckListBox", + palette_id: "pal_checklistbox", + def_width: 180, + def_height: 110, + phase1: true, + }, TypeInfo { key: "Menubutton", palette_id: "pal_menubutton", @@ -431,7 +438,7 @@ mod tests { #[test] fn types_count_and_lookup() { - assert_eq!(KTYPES.len(), 36); + assert_eq!(KTYPES.len(), 37); assert_eq!(find_type("Button").unwrap().def_width, 100); assert_eq!(find_type("StockChart").unwrap().def_height, 200); assert!(find_type("Nope").is_none());