1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

GamesSettings: Move classes into the GamesSettings namespace

This is to allow registering future classes as with GML.
This commit is contained in:
Timothy Flynn 2023-01-12 14:45:11 -05:00 committed by Sam Atkins
parent e241b47fee
commit 208653a93c
3 changed files with 9 additions and 1 deletions

View file

@ -11,6 +11,8 @@
#include <LibGUI/FileSystemModel.h>
#include <LibGfx/Palette.h>
namespace GamesSettings {
static constexpr StringView default_card_back_image_path = "/res/icons/cards/buggie-deck.png"sv;
CardSettingsWidget::CardSettingsWidget()
@ -94,3 +96,5 @@ DeprecatedString CardSettingsWidget::card_back_image_path() const
card_back_image_index = card_back_selection.first();
return static_cast<GUI::FileSystemModel const*>(m_card_back_image_view->model())->full_path(card_back_image_index);
}
}