1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:38:10 +00:00

LibCore+Userland: Add DEPRECATED infix to REGISTER_STRING_PROPERTY macro

This commit is contained in:
Karol Kosek 2023-03-10 18:02:14 +01:00 committed by Andreas Kling
parent f31a9e9374
commit ee5838084d
12 changed files with 21 additions and 21 deletions

View file

@ -26,7 +26,7 @@ ColorInput::ColorInput()
set_color_internal(parsed_color.value(), AllowCallback::Yes, false);
};
REGISTER_STRING_PROPERTY("color_picker_title", color_picker_title, set_color_picker_title);
REGISTER_DEPRECATED_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);
}