Class that represents an opened chess games database in the MainWindow.
More...
#include <BaseTab.hpp>
|
| BaseTab (wxFrame *parent, std::string base_file) |
|
void | Refresh () |
|
std::shared_ptr< Game > | GetGame () |
|
std::shared_ptr< GameBase > | GetBase () |
|
| TabBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(884, 624), 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 | OnOpenGame (wxListEvent &event) |
| Listen events from BaseImportTab.
|
|
void | OnSave (wxCommandEvent &event) |
| Listen events from BaseManageTab.
|
|
|
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.
|
|
wxNotebook * | notebook |
|
Class that represents an opened chess games database in the MainWindow.
◆ GetBase()
std::shared_ptr< GameBase > BaseTab::GetBase |
( |
| ) |
|
|
inlinevirtual |
◆ GetGame()
std::shared_ptr< Game > BaseTab::GetGame |
( |
| ) |
|
|
inlinevirtual |
◆ Refresh()
void BaseTab::Refresh |
( |
| ) |
|
|
virtual |
◆ base_file
std::string BaseTab::base_file |
|
private |
The documentation for this class was generated from the following files:
- /home/loic/Documents/Git/ochess/src/base_tab/BaseTab.hpp
- /home/loic/Documents/Git/ochess/src/base_tab/BaseTab.cpp