added render backend selection to the new IWAD picker.

Unlike VkDoom we still need this.
This commit is contained in:
Christoph Oelckers 2024-01-04 19:25:25 +01:00
commit a2a7667442
5 changed files with 78 additions and 135 deletions

View file

@ -84,6 +84,8 @@ void CheckboxLabel::OnKeyUp(EInputKey key)
void CheckboxLabel::Toggle()
{
checked = !checked;
bool oldchecked = checked;
checked = radiostyle? true : !checked;
Update();
if (checked != oldchecked && FuncChanged) FuncChanged(checked);
}