LibGUI: Register "jump_to_cursor" as a GML property

This commit is contained in:
implicitfield 2023-01-08 18:28:20 +02:00 committed by Sam Atkins
parent 33ea96912a
commit a2ca2d8364
Notes: sideshowbarker 2024-07-17 21:11:12 +09:00

View file

@ -23,6 +23,7 @@ Slider::Slider(Orientation orientation)
REGISTER_ENUM_PROPERTY("knob_size_mode", knob_size_mode, set_knob_size_mode, KnobSizeMode,
{ KnobSizeMode::Fixed, "Fixed" },
{ KnobSizeMode::Proportional, "Proportional" });
REGISTER_BOOL_PROPERTY("jump_to_cursor", jump_to_cursor, set_jump_to_cursor);
}
void Slider::paint_event(PaintEvent& event)