1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:57:35 +00:00

GamesSettings: Add a setting for the card-back image

And also add a couple of images so there's more than one option. :^)

(My yak silhouette isn't very good, so please replace that, artists!)
This commit is contained in:
Sam Atkins 2022-08-21 16:02:56 +01:00 committed by Andreas Kling
parent 435e53fcfe
commit deeef8c412
6 changed files with 49 additions and 1 deletions

View file

@ -7,6 +7,7 @@
#pragma once
#include <LibGUI/ColorInput.h>
#include <LibGUI/IconView.h>
#include <LibGUI/SettingsWindow.h>
class CardSettingsWidget final : public GUI::SettingsWindow::Tab {
@ -20,5 +21,9 @@ public:
private:
CardSettingsWidget();
bool set_card_back_image_path(String const&);
String card_back_image_path() const;
RefPtr<GUI::ColorInput> m_background_color_input;
RefPtr<GUI::IconView> m_card_back_image_view;
};