From 469563b398123e82adf0bc516a25a7251026ce94 Mon Sep 17 00:00:00 2001 From: Bastiaan van der Plaat Date: Fri, 15 Sep 2023 19:49:34 +0200 Subject: [PATCH] GMLCompiler: Add icon_from_path and frame_style properties --- Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp b/Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp index 06c84b7b21..b6e1bf9f3c 100644 --- a/Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp @@ -74,6 +74,7 @@ static bool takes_deprecated_string(StringView property) { static HashTable deprecated_string_properties; if (deprecated_string_properties.is_empty()) { + deprecated_string_properties.set("icon_from_path"sv); deprecated_string_properties.set("name"sv); } return deprecated_string_properties.contains(property); @@ -173,6 +174,7 @@ static ErrorOr> generate_enum_initializer_for(StringView proper { "text_alignment"sv, "Gfx::TextAlignment"sv }, { "focus_policy"sv, "GUI::FocusPolicy"sv }, { "foreground_role"sv, "Gfx::ColorRole"sv }, + { "frame_style"sv, "Gfx::FrameStyle"sv }, { "text_wrapping"sv, "Gfx::TextWrapping"sv }, };