From b9fd97c2ac56c1037ef19d2916515ee3fbbf751f Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sun, 25 Dec 2022 16:29:17 +0100 Subject: Update game list --- src/base_tab/GameListManager.hpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/base_tab/GameListManager.hpp') diff --git a/src/base_tab/GameListManager.hpp b/src/base_tab/GameListManager.hpp index de57e56..485bc87 100644 --- a/src/base_tab/GameListManager.hpp +++ b/src/base_tab/GameListManager.hpp @@ -2,11 +2,23 @@ typedef std::string CType; +typedef struct Item { + CType White; + CType Black; + CType Event; + CType Round; + CType Result; + CType Eco; +} RType; + class GameListManager { wxListCtrl *game_list; long game_counter; + std::vector rows; + + void DisplayRow(long id); public: GameListManager(wxListCtrl *game_list); - void AddGame(CType W,CType B,CType Evt,CType Rnd, CType Res, CType Eco); + void AddGame(CType White,CType Black,CType Event,CType Round, CType Result, CType Eco); void Clear(); }; \ No newline at end of file -- cgit v1.2.3