mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 12:05:07 +00:00
LibGUI: Register a whole bunch of properties in various widgets
This commit is contained in:
parent
20b74e4ede
commit
90aeacbb58
14 changed files with 65 additions and 7 deletions
|
@ -109,6 +109,11 @@ ScrollBar::ScrollBar(Orientation orientation)
|
|||
m_automatic_scrolling_timer->on_timeout = [this] {
|
||||
on_automatic_scrolling_timer_fired();
|
||||
};
|
||||
|
||||
REGISTER_INT_PROPERTY("min", min, set_min);
|
||||
REGISTER_INT_PROPERTY("max", max, set_max);
|
||||
REGISTER_INT_PROPERTY("step", step, set_step);
|
||||
REGISTER_INT_PROPERTY("big_step", big_step, set_big_step);
|
||||
}
|
||||
|
||||
ScrollBar::~ScrollBar()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue