OChess v0.0.2
Programmer's Manual
GameTabLeftPanel Class Reference

Panel that contains the BoardCanvas and the bottom control buttons. More...

#include <GameTabLeftPanel.hpp>

Inheritance diagram for GameTabLeftPanel:
TabGameLeftPanel

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< Gamegame
 
BoardCanvasboard_canvas
 
bool repeat
 
HalfMovelast_move
 
std::vector< GameState::Arrowengine_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
 

Detailed Description

Panel that contains the BoardCanvas and the bottom control buttons.


The documentation for this class was generated from the following files: