mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibGUI: Register a whole bunch of properties in various widgets
This commit is contained in:
committed by
Andreas Kling
parent
20b74e4ede
commit
90aeacbb58
@@ -41,6 +41,11 @@ Button::Button(String text)
|
||||
set_min_width(32);
|
||||
set_fixed_height(22);
|
||||
set_focus_policy(GUI::FocusPolicy::StrongFocus);
|
||||
|
||||
REGISTER_ENUM_PROPERTY(
|
||||
"button_style", button_style, set_button_style, Gfx::ButtonStyle,
|
||||
{ Gfx::ButtonStyle::Normal, "Normal" },
|
||||
{ Gfx::ButtonStyle::CoolBar, "CoolBar" });
|
||||
}
|
||||
|
||||
Button::~Button()
|
||||
|
||||
Reference in New Issue
Block a user