mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
GMLCompiler: Add enum initializer for background_role
This commit is contained in:
parent
64e79a618b
commit
f6c32ea45e
Notes:
sideshowbarker
2024-07-17 02:22:23 +09:00
Author: https://github.com/mrunix00
Commit: f6c32ea45e
Pull-request: https://github.com/SerenityOS/serenity/pull/22512
Reviewed-by: https://github.com/timschumi ✅
1 changed files with 1 additions and 0 deletions
|
@ -174,6 +174,7 @@ static ErrorOr<Optional<String>> generate_enum_initializer_for(StringView proper
|
|||
static HashMap<StringView, StringView> 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 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue