mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
WindowServer+LibGfx: Added Crosshair cursor
This commit is contained in:
parent
ddad7575a9
commit
9ccae7a908
Notes:
sideshowbarker
2024-07-19 01:38:14 +09:00
Author: https://github.com/umasankar-yedida
Commit: 9ccae7a908
Pull-request: https://github.com/SerenityOS/serenity/pull/3876
Reviewed-by: https://github.com/awesomekling
7 changed files with 11 additions and 0 deletions
|
@ -521,6 +521,10 @@ int main(int argc, char** argv)
|
|||
radio_cursor_arrow.on_checked = [&](bool) {
|
||||
window->set_cursor(Gfx::StandardCursor::Arrow);
|
||||
};
|
||||
auto& radio_crosshair_arrow = cursor_group_box.add<GUI::RadioButton>("Crosshair");
|
||||
radio_crosshair_arrow.on_checked = [&](bool) {
|
||||
window->set_cursor(Gfx::StandardCursor::Crosshair);
|
||||
};
|
||||
auto& radio_cursor_i_beam = cursor_group_box.add<GUI::RadioButton>("IBeam");
|
||||
radio_cursor_i_beam.on_checked = [&](bool) {
|
||||
window->set_cursor(Gfx::StandardCursor::IBeam);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue