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:
parent
435e53fcfe
commit
deeef8c412
6 changed files with 49 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue