major: initial release

* initial development

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* ci/cd

* ci/cd

* ci/cd

* ci/cd

* ci/cd

* ci/cd

* ci/cd

* pokemon

* pokemon

* pokemon

* pokemon

* pokemon

* pokemon

* improvements

* improvements

* ci/cd

* ci/cd

* improvements

* improvements

* improvements

* improvements

* improvements

* improvements

* improvements

* improvements

* improvements

---------

Co-authored-by: sdine <sdine@sdine.com>
This commit is contained in:
Sebastian Dine
2026-05-09 11:05:47 +02:00
committed by GitHub
co-authored by sdine
parent 13262fa015
commit 55ace147bc
149 changed files with 12611 additions and 0 deletions
@@ -0,0 +1,26 @@
#pragma once
// PokemonCardListPanel: typed view of the Pokemon collection. Inherits all
// `wxListCtrl`/themed-header machinery from `BaseCardListPanel<PokemonCard,
// PokemonSortColumn>` and only overrides the per-game hooks.
#include "ccm/domain/PokemonCard.hpp"
#include "ccm/services/CardSorter.hpp"
#include "ccm/ui/BaseCardListPanel.hpp"
namespace ccm::ui {
class PokemonCardListPanel final : public BaseCardListPanel<PokemonCard, PokemonSortColumn> {
public:
explicit PokemonCardListPanel(wxWindow* parent);
protected:
[[nodiscard]] std::vector<TextColumnSpec> declareTextColumns() const override;
[[nodiscard]] std::vector<IconColumnSpec> declareIconColumns() const override;
[[nodiscard]] std::string renderTextCell(const PokemonCard& card, std::size_t idx) const override;
[[nodiscard]] bool isIconColumnSet(const PokemonCard& card, std::size_t idx) const override;
void sortBy(PokemonSortColumn column, bool ascending) override;
[[nodiscard]] bool matchesFilter(const PokemonCard& card, std::string_view filter) const override;
};
} // namespace ccm::ui