GMLCompiler: Add enum initializer for orientation

This commit is contained in:
Mr.UNIX 2024-01-18 14:59:18 +01:00 committed by Tim Schumacher
parent 0a1a081d8a
commit 64e79a618b
Notes: sideshowbarker 2024-07-17 07:08:37 +09:00

View File

@ -183,6 +183,7 @@ static ErrorOr<Optional<String>> generate_enum_initializer_for(StringView proper
{ "button_style"sv, "Gfx::ButtonStyle"sv },
{ "mode"sv, "GUI::TextEditor::Mode"sv },
{ "font_weight"sv, "Gfx::FontWeight"sv },
{ "orientation"sv, "Gfx::Orientation"sv },
};
auto const& enum_type_name = enum_properties.get(property_name);