mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 05:47:34 +00:00
LibGUI: Include keyboard modifier state with button on_click calls
This will allow you us to implement special behavior when Ctrl+clicking a button.
This commit is contained in:
parent
3a905aed06
commit
977863ea07
37 changed files with 76 additions and 76 deletions
|
@ -78,7 +78,7 @@ void RadioButton::for_each_in_group(Callback callback)
|
|||
});
|
||||
}
|
||||
|
||||
void RadioButton::click()
|
||||
void RadioButton::click(unsigned)
|
||||
{
|
||||
if (!is_enabled())
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue