mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-02 09:18:52 +00:00
LibGUI: Register a whole bunch of properties in various widgets
This commit is contained in:
parent
20b74e4ede
commit
90aeacbb58
Notes:
sideshowbarker
2024-07-19 00:23:50 +09:00
Author: https://github.com/alimpfard
Commit: 90aeacbb58
Pull-request: https://github.com/SerenityOS/serenity/pull/4652
Reviewed-by: https://github.com/awesomekling
14 changed files with 65 additions and 7 deletions
|
@ -42,6 +42,9 @@ ColorInput::ColorInput()
|
|||
if (parsed_color.has_value())
|
||||
set_color_without_changing_text(parsed_color.value());
|
||||
};
|
||||
|
||||
REGISTER_STRING_PROPERTY("color_picker_title", color_picker_title, set_color_picker_title);
|
||||
REGISTER_BOOL_PROPERTY("has_alpha_channel", has_alpha_channel, set_color_has_alpha_channel);
|
||||
}
|
||||
|
||||
ColorInput::~ColorInput()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue