mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibGUI: Register "jump_to_cursor" as a GML property
This commit is contained in:
committed by
Sam Atkins
parent
33ea96912a
commit
a2ca2d8364
Notes:
sideshowbarker
2024-07-17 21:11:12 +09:00
Author: https://github.com/implicitfield Commit: https://github.com/SerenityOS/serenity/commit/a2ca2d8364 Pull-request: https://github.com/SerenityOS/serenity/pull/16907 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user