1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:57:45 +00:00

WindowServer+LibGfx: Added Crosshair cursor

This commit is contained in:
Uma Sankar Yedida 2020-10-30 22:36:32 +05:30 committed by Andreas Kling
parent ddad7575a9
commit 9ccae7a908
7 changed files with 11 additions and 0 deletions

View file

@ -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);