mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-07-03 10:47:39 +00:00
Prepare API for adding games to database
This commit is contained in:
parent
98488e899a
commit
3b6e7d39cf
3 changed files with 8 additions and 3 deletions
|
@ -13,7 +13,6 @@
|
|||
wxDECLARE_EVENT(REFRESH_TAB_TITLE, wxCommandEvent);
|
||||
wxDECLARE_EVENT(GAME_CHANGE, wxCommandEvent);
|
||||
|
||||
|
||||
class GameTab : public wxPanel, public TabInfos {
|
||||
EditorPanel *editor_panel;
|
||||
BoardPanel *board_panel;
|
||||
|
@ -21,8 +20,10 @@ class GameTab : public wxPanel, public TabInfos {
|
|||
void RefreshLabel();
|
||||
void OnRefreshTabTitle(wxCommandEvent &event);
|
||||
void OnGameChange(wxCommandEvent &event);
|
||||
|
||||
public:
|
||||
GameTab(wxFrame *parent, Game *game);
|
||||
void ApplyPreferences();
|
||||
|
||||
void *GetGame() { return (game); }
|
||||
void *GetBase() { return (NULL); };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue