mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-07 02:26:29 +02:00
Cleaning
This commit is contained in:
parent
53090ab2a3
commit
d87b42dcd6
2 changed files with 3 additions and 3 deletions
|
@ -60,11 +60,11 @@ MainWindow::MainWindow()
|
||||||
NewGame(std::shared_ptr<Game>(new Game()));
|
NewGame(std::shared_ptr<Game>(new Game()));
|
||||||
|
|
||||||
// Temporary TO REMOVE JUST FOR TESTS:
|
// Temporary TO REMOVE JUST FOR TESTS:
|
||||||
BaseTab *bt = new BaseTab((wxFrame *)notebook, "/home/loic/pgn/Milov.pgn");
|
/*BaseTab *bt = new BaseTab((wxFrame *)notebook, "/home/loic/pgn/Milov.pgn");
|
||||||
this->AddPage(bt,bt);
|
this->AddPage(bt,bt);
|
||||||
|
|
||||||
bt = new BaseTab((wxFrame *)notebook, "/home/loic/jean.pgn");
|
bt = new BaseTab((wxFrame *)notebook, "/home/loic/jean.pgn");
|
||||||
this->AddPage(bt,bt);
|
this->AddPage(bt,bt);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::AddPage(wxWindow* window, TabInfos* infos){
|
void MainWindow::AddPage(wxWindow* window, TabInfos* infos){
|
||||||
|
|
|
@ -14,7 +14,7 @@ GameTabLeftPanel::GameTabLeftPanel(wxFrame *parent, std::shared_ptr<Game> game)
|
||||||
zoomout_button->SetBitmapLabel(LoadPNG("zoomout"));
|
zoomout_button->SetBitmapLabel(LoadPNG("zoomout"));
|
||||||
|
|
||||||
// Configure FEN field
|
// Configure FEN field
|
||||||
fen_text_field->SetFont(wxFont(*wxSMALL_FONT).Bold());
|
fen_text_field->SetFont(wxFont(*wxNORMAL_FONT).Bold().Larger());
|
||||||
|
|
||||||
Bind(PLAY_MOVE_EVENT, &GameTabLeftPanel::OnPlay, this, wxID_ANY);
|
Bind(PLAY_MOVE_EVENT, &GameTabLeftPanel::OnPlay, this, wxID_ANY);
|
||||||
Bind(PREVIOUS_MOVE_EVENT, &GameTabLeftPanel::OnPreviousMove, this, wxID_ANY);
|
Bind(PREVIOUS_MOVE_EVENT, &GameTabLeftPanel::OnPreviousMove, this, wxID_ANY);
|
||||||
|
|
Loading…
Add table
Reference in a new issue