Tab used to configure UCI chess engines.
More...
#include <EngineTab.hpp>
|
|
| EngineTab (wxWindow *parent, uciadapter::UCI *engine, std::string engine_path) |
| |
|
| EngineTab (wxWindow *parent, std::uint32_t id) |
| |
| void | ApplyPreferences () |
| | Can be called to load preferences that have been modify in the application settings. More...
|
| |
| std::shared_ptr< Game > | GetGame () |
| |
| std::shared_ptr< GameBase > | GetBase () |
| |
| std::uint32_t | GetEngineId () |
| |
|
| TabEngine (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 300), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString) |
| |
|
| TabInfos (Type type_) |
| |
|
void | Link (TabInfos *tab) |
| |
|
virtual void | Refresh () |
| |
| virtual void | OnLink () |
| | Callback that is called when the current tab is linked to another one. More...
|
| |
| virtual void | ApplyPreferences () |
| | Can be called to load preferences that have been modify in the application settings. More...
|
| |
|
virtual std::shared_ptr< Game > | GetGame ()=0 |
| |
|
virtual std::shared_ptr< GameBase > | GetBase ()=0 |
| |
|
virtual std::uint32_t | GetEngineId () |
| |
|
|
void | InitConfiguration () |
| |
|
void | LoadConfiguration () |
| |
|
void | RefreshItemList () |
| |
|
void | OnSave (wxCommandEvent &event) |
| |
|
void | OnDelete (wxCommandEvent &event) |
| |
|
|
std::string | confGroup |
| |
|
std::string | enginePath |
| |
|
uciadapter::UCI * | engine |
| |
|
std::uint32_t | engine_id |
| |
|
| enum | Type { GAME
, BASE
, ENGINE
, NONE
} |
| | Which type of tab is it?
|
| |
|
typedef enum TabInfos::Type | Type |
| | Which type of tab is it?
|
| |
|
Type | type |
| |
|
long | id |
| | Each tab has an associated unique id.
|
| |
|
long | linked_id |
| | Specify to which tab id this tab is linked (e.g: database to linked to on of its opened game tab)
|
| |
|
bool | is_linked |
| | Set to true if this tab is attach to another one (c.f linked_id)
|
| |
|
bool | is_dirty |
| | True if current tab is dirty.
|
| |
|
wxStaticText * | engine_name_label |
| |
|
wxTextCtrl * | engine_name |
| |
|
wxStaticText * | engine_location_label |
| |
|
wxTextCtrl * | engine_location |
| |
|
wxStaticLine * | separator_1 |
| |
|
wxStaticText * | params_label |
| |
|
wxPropertyGrid * | engine_parameters |
| |
|
wxButton * | save_button |
| |
|
wxButton * | delete_button |
| |
Tab used to configure UCI chess engines.
◆ ApplyPreferences()
| void EngineTab::ApplyPreferences |
( |
| ) |
|
|
inlinevirtual |
Can be called to load preferences that have been modify in the application settings.
Reimplemented from TabInfos.
◆ GetBase()
| std::shared_ptr< GameBase > EngineTab::GetBase |
( |
| ) |
|
|
inlinevirtual |
◆ GetEngineId()
| std::uint32_t EngineTab::GetEngineId |
( |
| ) |
|
|
inlinevirtual |
◆ GetGame()
| std::shared_ptr< Game > EngineTab::GetGame |
( |
| ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following files:
- /home/loic/Documents/Git/ochess/src/engine_tab/EngineTab.hpp
- /home/loic/Documents/Git/ochess/src/engine_tab/EngineTab.cpp