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:
parent
ddad7575a9
commit
9ccae7a908
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