From f6c32ea45edc16311ab6acfde2f47cd5077f9952 Mon Sep 17 00:00:00 2001 From: "Mr.UNIX" Date: Thu, 18 Jan 2024 15:05:05 +0100 Subject: [PATCH] GMLCompiler: Add enum initializer for background_role --- Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp b/Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp index e0d925ea985..4e522e06360 100644 --- a/Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp @@ -174,6 +174,7 @@ static ErrorOr> generate_enum_initializer_for(StringView proper static HashMap enum_properties = { { "text_alignment"sv, "Gfx::TextAlignment"sv }, { "focus_policy"sv, "GUI::FocusPolicy"sv }, + { "background_role"sv, "Gfx::ColorRole"sv }, { "foreground_role"sv, "Gfx::ColorRole"sv }, { "frame_style"sv, "Gfx::FrameStyle"sv }, { "text_wrapping"sv, "Gfx::TextWrapping"sv },