1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 20:17:42 +00:00

LibGUI: Change GUI::KeyEvent::key() type to KeyCode

...instead of a plain int. Yay for some type safety.
This commit is contained in:
Sergey Bugaev 2020-05-27 00:29:57 +03:00 committed by Andreas Kling
parent abfcd7b1b8
commit fce49b3e32
5 changed files with 11 additions and 5 deletions

View file

@ -217,6 +217,8 @@ void VBForm::keydown_event(GUI::KeyEvent& event)
widget.gwidget()->move_by(m_grid_size, 0);
});
break;
default:
break;
}
return;
}