mirror of
https://github.com/sebastiandine/Card-Collection-Manager-3.git
synced 2026-08-28 23:01:09 +00:00
25 lines
975 B
C++
25 lines
975 B
C++
#pragma once
|
|
|
|
#include "ccm/domain/YuGiOhCard.hpp"
|
|
#include "ccm/ui/BaseSelectedCardPanel.hpp"
|
|
|
|
namespace ccm::ui {
|
|
|
|
class YuGiOhSelectedCardPanel final : public BaseSelectedCardPanel<YuGiOhCard> {
|
|
public:
|
|
YuGiOhSelectedCardPanel(wxWindow* parent,
|
|
ImageService& imageService,
|
|
CardPreviewService& cardPreview);
|
|
|
|
protected:
|
|
[[nodiscard]] std::vector<DetailRowSpec> declareDetailRows() const override;
|
|
[[nodiscard]] std::vector<FlagIconSpec> declareFlagIcons() const override;
|
|
[[nodiscard]] std::string detailValueFor(const YuGiOhCard& card, DetailKey key) const override;
|
|
[[nodiscard]] bool isFlagSet(const YuGiOhCard& card, DetailKey key) const override;
|
|
[[nodiscard]] std::tuple<std::string, std::string, std::string>
|
|
previewKey(const YuGiOhCard& card) const override;
|
|
[[nodiscard]] Game gameId() const noexcept override { return Game::YuGiOh; }
|
|
};
|
|
|
|
} // namespace ccm::ui
|