mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:07:46 +00:00
LibGUI: Register "jump_to_cursor" as a GML property
This commit is contained in:
parent
33ea96912a
commit
a2ca2d8364
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ Slider::Slider(Orientation orientation)
|
||||||
REGISTER_ENUM_PROPERTY("knob_size_mode", knob_size_mode, set_knob_size_mode, KnobSizeMode,
|
REGISTER_ENUM_PROPERTY("knob_size_mode", knob_size_mode, set_knob_size_mode, KnobSizeMode,
|
||||||
{ KnobSizeMode::Fixed, "Fixed" },
|
{ KnobSizeMode::Fixed, "Fixed" },
|
||||||
{ KnobSizeMode::Proportional, "Proportional" });
|
{ KnobSizeMode::Proportional, "Proportional" });
|
||||||
|
REGISTER_BOOL_PROPERTY("jump_to_cursor", jump_to_cursor, set_jump_to_cursor);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Slider::paint_event(PaintEvent& event)
|
void Slider::paint_event(PaintEvent& event)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue