mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-09 22:56:53 +00:00
Update game list
This commit is contained in:
parent
b9fd97c2ac
commit
cd9f55f5ad
2 changed files with 6 additions and 0 deletions
|
@ -33,4 +33,9 @@ void GameListManager::DisplayRow(long id){
|
||||||
|
|
||||||
void GameListManager::Clear(){
|
void GameListManager::Clear(){
|
||||||
game_list->DeleteAllItems();
|
game_list->DeleteAllItems();
|
||||||
|
rows.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
void GameListManager::ClearDisplayedRow(){
|
||||||
|
game_list->DeleteAllItems();
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,6 +17,7 @@ class GameListManager {
|
||||||
std::vector<RType> rows;
|
std::vector<RType> rows;
|
||||||
|
|
||||||
void DisplayRow(long id);
|
void DisplayRow(long id);
|
||||||
|
void ClearDisplayedRow();
|
||||||
public:
|
public:
|
||||||
GameListManager(wxListCtrl *game_list);
|
GameListManager(wxListCtrl *game_list);
|
||||||
void AddGame(CType White,CType Black,CType Event,CType Round, CType Result, CType Eco);
|
void AddGame(CType White,CType Black,CType Event,CType Round, CType Result, CType Eco);
|
||||||
|
|
Loading…
Add table
Reference in a new issue