mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:47:34 +00:00
GMLCompiler: Add icon_from_path and frame_style properties
This commit is contained in:
parent
a4e272d2c8
commit
469563b398
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,7 @@ static bool takes_deprecated_string(StringView property)
|
||||||
{
|
{
|
||||||
static HashTable<StringView> deprecated_string_properties;
|
static HashTable<StringView> deprecated_string_properties;
|
||||||
if (deprecated_string_properties.is_empty()) {
|
if (deprecated_string_properties.is_empty()) {
|
||||||
|
deprecated_string_properties.set("icon_from_path"sv);
|
||||||
deprecated_string_properties.set("name"sv);
|
deprecated_string_properties.set("name"sv);
|
||||||
}
|
}
|
||||||
return deprecated_string_properties.contains(property);
|
return deprecated_string_properties.contains(property);
|
||||||
|
@ -173,6 +174,7 @@ static ErrorOr<Optional<String>> generate_enum_initializer_for(StringView proper
|
||||||
{ "text_alignment"sv, "Gfx::TextAlignment"sv },
|
{ "text_alignment"sv, "Gfx::TextAlignment"sv },
|
||||||
{ "focus_policy"sv, "GUI::FocusPolicy"sv },
|
{ "focus_policy"sv, "GUI::FocusPolicy"sv },
|
||||||
{ "foreground_role"sv, "Gfx::ColorRole"sv },
|
{ "foreground_role"sv, "Gfx::ColorRole"sv },
|
||||||
|
{ "frame_style"sv, "Gfx::FrameStyle"sv },
|
||||||
{ "text_wrapping"sv, "Gfx::TextWrapping"sv },
|
{ "text_wrapping"sv, "Gfx::TextWrapping"sv },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue