OChess v0.0.2
Programmer's Manual
|
Panel that contains the BoardCanvas and the bottom control buttons. More...
#include <GameTabLeftPanel.hpp>
Public Member Functions | |
GameTabLeftPanel (wxFrame *parent, std::shared_ptr< Game > game) | |
void | Notify (bool skip_animation=false) |
void | OnPlay (wxCommandEvent &event) |
void | OnGotoMove (wxCommandEvent &event) |
void | OnRefreshBoard (wxCommandEvent &event) |
void | ApplyPreferences () |
void | SetSaveToolEnable (bool state) |
void | SetEngineEvaluation (EngineEvaluation eval) |
void | SetLiveEngineState (bool isOn) |
Public Member Functions inherited from TabGameLeftPanel | |
TabGameLeftPanel (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(998, 410), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString) | |
Private Attributes | |
std::shared_ptr< Game > | game |
BoardCanvas * | board_canvas |
bool | repeat |
HalfMove * | last_move |
std::vector< GameState::Arrow > | engine_arrows |
std::string | promote_on |
std::string | promotion_move |
float | eval_cp |
bool | is_engine_on |
Additional Inherited Members | |
Protected Attributes inherited from TabGameLeftPanel | |
wxBoxSizer * | main_sizer |
wxToolBar * | game_toolbar |
wxBitmapButton * | zoomin_button |
wxBitmapButton * | zoomout_button |
wxBitmapButton * | swap_button |
wxTextCtrl * | fen_text_field |
Panel that contains the BoardCanvas and the bottom control buttons.