mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:37:35 +00:00
GamesSettings+LibCards: Add setting for card-front image sets
This commit is contained in:
parent
020b858fd0
commit
d8e8b300c8
4 changed files with 68 additions and 1 deletions
|
@ -125,6 +125,11 @@ void CardGame::config_string_did_change(StringView domain, StringView group, Str
|
|||
update();
|
||||
return;
|
||||
}
|
||||
if (key == "CardFrontImages") {
|
||||
CardPainter::the().set_front_images_set_name(String::from_utf8(value).release_value_but_fixme_should_propagate_errors());
|
||||
update();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue