1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:48:12 +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

@ -20,7 +20,7 @@ namespace GUI {
Progressbar::Progressbar(Orientation orientation)
: m_orientation(orientation)
{
REGISTER_STRING_PROPERTY("text", text, set_text);
REGISTER_DEPRECATED_STRING_PROPERTY("text", text, set_text);
REGISTER_ENUM_PROPERTY("format", format, set_format, Format,
{ Format::NoText, "NoText" },
{ Format::Percentage, "Percentage" },