mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
Add engine evaluation bar
This commit is contained in:
parent
5fac6bf7af
commit
9091232b60
8 changed files with 47 additions and 37 deletions
|
@ -4,6 +4,7 @@
|
|||
#include "board/BoardCanvas.hpp"
|
||||
#include "ochess.hpp"
|
||||
#include "base_tab/gamebase/GameBase.hpp"
|
||||
#include "game_tab/right_panel/LiveEngineDialog.hpp"
|
||||
|
||||
// Foreign events
|
||||
wxDECLARE_EVENT(GAME_CHANGE, wxCommandEvent);
|
||||
|
@ -16,6 +17,7 @@ class GameTabLeftPanel : public TabGameLeftPanel {
|
|||
std::vector<GameState::Arrow> engine_arrows;
|
||||
std::string promote_on;
|
||||
std::string promotion_move;
|
||||
float eval_cp;
|
||||
|
||||
public:
|
||||
GameTabLeftPanel(wxFrame *parent, std::shared_ptr<Game> game);
|
||||
|
@ -25,5 +27,5 @@ public:
|
|||
void OnRefreshBoard(wxCommandEvent &event);
|
||||
void ApplyPreferences();
|
||||
void SetSaveToolEnable(bool state){game_toolbar->EnableTool(0,state);};
|
||||
void SetEngineArrows(std::vector<std::string> arrows);
|
||||
void SetEngineEvaluation(EngineEvaluation eval);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue