From 7178f18ab88bcc93bfbf2019adf53d2f60d8fa20 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Mon, 28 Feb 2022 13:02:27 +0100 Subject: [PATCH] Cleaning GUI files --- src/base_tab/AppendGameDialog.cpp | 2 +- src/base_tab/AppendGameDialog.hpp | 3 +- src/base_tab/AppendGameDialogBF.cpp | 50 - src/base_tab/AppendGameDialogBF.h | 51 - src/base_tab/BasePanelBF.cpp | 61 - src/base_tab/BasePanelBF.h | 57 - src/base_tab/BaseTab.cpp | 2 +- src/base_tab/BaseTab.hpp | 3 +- src/engine_tab/EngineTab.cpp | 4 +- src/engine_tab/EngineTab.hpp | 3 +- src/engine_tab/EngineTabBF.cpp | 66 - src/engine_tab/EngineTabBF.h | 59 - src/game_tab/editor/EditorPanel.cpp | 2 +- src/game_tab/editor/EditorPanel.hpp | 3 +- src/game_tab/editor/EditorPanelBF.cpp | 109 - src/game_tab/editor/EditorPanelBF.h | 71 - src/game_tab/editor/LiveEngineDialog.cpp | 2 +- src/game_tab/editor/LiveEngineDialog.hpp | 3 +- src/game_tab/editor/LiveEngineDialogFB.cpp | 82 - src/game_tab/editor/LiveEngineDialogFB.h | 57 - src/gui.cpp | 521 ++ src/gui.h | 280 ++ src/ochess.hpp | 1 + src/preferences/BoardPrefs.hpp | 5 +- src/preferences/BoardPrefsPanelBF.cpp | 106 - src/preferences/BoardPrefsPanelBF.h | 64 - src/preferences/EditorPrefs.hpp | 5 +- src/preferences/EditorPrefsPanelBF.cpp | 69 - src/preferences/EditorPrefsPanelBF.h | 56 - tools/wxFrameBuilder.fbp | 5261 ++++++++++++++++++++ tools/wxframebuilder/AppendGameDialog.fbp | 358 -- tools/wxframebuilder/BasePanel.fbp | 568 --- tools/wxframebuilder/BoardPrefs.fbp | 981 ---- tools/wxframebuilder/EditorPanel.fbp | 1133 ----- tools/wxframebuilder/EditorPrefs.fbp | 872 ---- tools/wxframebuilder/EngineTab.fbp | 661 --- tools/wxframebuilder/LiveEngineDialog.fbp | 726 --- 37 files changed, 6078 insertions(+), 6279 deletions(-) delete mode 100644 src/base_tab/AppendGameDialogBF.cpp delete mode 100644 src/base_tab/AppendGameDialogBF.h delete mode 100644 src/base_tab/BasePanelBF.cpp delete mode 100644 src/base_tab/BasePanelBF.h delete mode 100644 src/engine_tab/EngineTabBF.cpp delete mode 100644 src/engine_tab/EngineTabBF.h delete mode 100644 src/game_tab/editor/EditorPanelBF.cpp delete mode 100644 src/game_tab/editor/EditorPanelBF.h delete mode 100644 src/game_tab/editor/LiveEngineDialogFB.cpp delete mode 100644 src/game_tab/editor/LiveEngineDialogFB.h create mode 100644 src/gui.cpp create mode 100644 src/gui.h delete mode 100644 src/preferences/BoardPrefsPanelBF.cpp delete mode 100644 src/preferences/BoardPrefsPanelBF.h delete mode 100644 src/preferences/EditorPrefsPanelBF.cpp delete mode 100644 src/preferences/EditorPrefsPanelBF.h create mode 100644 tools/wxFrameBuilder.fbp delete mode 100644 tools/wxframebuilder/AppendGameDialog.fbp delete mode 100644 tools/wxframebuilder/BasePanel.fbp delete mode 100644 tools/wxframebuilder/BoardPrefs.fbp delete mode 100644 tools/wxframebuilder/EditorPanel.fbp delete mode 100644 tools/wxframebuilder/EditorPrefs.fbp delete mode 100644 tools/wxframebuilder/EngineTab.fbp delete mode 100644 tools/wxframebuilder/LiveEngineDialog.fbp diff --git a/src/base_tab/AppendGameDialog.cpp b/src/base_tab/AppendGameDialog.cpp index 1ff4310..d8fe996 100644 --- a/src/base_tab/AppendGameDialog.cpp +++ b/src/base_tab/AppendGameDialog.cpp @@ -3,7 +3,7 @@ #include "ochess.hpp" AppendGameDialog::AppendGameDialog(wxWindow *parent, GameBase *base) - : AppendGameDialogBF(parent), base(base) { + : DialogAppendGame(parent), base(base) { for (TabInfos *i : MAINWIN->ListTabInfos()) { if (i->type == TabInfos::GAME || i->type == TabInfos::BASE) { diff --git a/src/base_tab/AppendGameDialog.hpp b/src/base_tab/AppendGameDialog.hpp index 551676e..fba8078 100644 --- a/src/base_tab/AppendGameDialog.hpp +++ b/src/base_tab/AppendGameDialog.hpp @@ -1,7 +1,6 @@ -#include "AppendGameDialogBF.h" #include "gamebase/GameBase.hpp" -class AppendGameDialog : public AppendGameDialogBF { +class AppendGameDialog : public DialogAppendGame { GameBase *base; std::vector tinfos; diff --git a/src/base_tab/AppendGameDialogBF.cpp b/src/base_tab/AppendGameDialogBF.cpp deleted file mode 100644 index 3f777ef..0000000 --- a/src/base_tab/AppendGameDialogBF.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487) -// http://www.wxformbuilder.org/ -// -// PLEASE DO *NOT* EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#include "AppendGameDialogBF.h" - -/////////////////////////////////////////////////////////////////////////// - -AppendGameDialogBF::AppendGameDialogBF( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* main_sizer; - main_sizer = new wxBoxSizer( wxVERTICAL ); - - main_label = new wxStaticText( this, wxID_ANY, wxT("Please select games to import:"), wxDefaultPosition, wxDefaultSize, 0 ); - main_label->Wrap( -1 ); - main_sizer->Add( main_label, 0, wxALL|wxEXPAND, 5 ); - - game_list = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, wxLB_MULTIPLE ); - main_sizer->Add( game_list, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer5; - bSizer5 = new wxBoxSizer( wxHORIZONTAL ); - - - bSizer5->Add( 0, 0, 1, wxEXPAND, 5 ); - - cancel_button = new wxButton( this, ID_DIALOG_CANCEL_BUTTON, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer5->Add( cancel_button, 0, wxALL, 5 ); - - import_button = new wxButton( this, ID_DIALOG_IMPORT_BUTTON, wxT("Import"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer5->Add( import_button, 0, wxALL, 5 ); - - - main_sizer->Add( bSizer5, 0, wxEXPAND, 5 ); - - - this->SetSizer( main_sizer ); - this->Layout(); - - this->Centre( wxBOTH ); -} - -AppendGameDialogBF::~AppendGameDialogBF() -{ -} diff --git a/src/base_tab/AppendGameDialogBF.h b/src/base_tab/AppendGameDialogBF.h deleted file mode 100644 index a2c1871..0000000 --- a/src/base_tab/AppendGameDialogBF.h +++ /dev/null @@ -1,51 +0,0 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487) -// http://www.wxformbuilder.org/ -// -// PLEASE DO *NOT* EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#pragma once - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/////////////////////////////////////////////////////////////////////////// - -#define ID_DIALOG_CANCEL_BUTTON 1000 -#define ID_DIALOG_IMPORT_BUTTON 1001 - -/////////////////////////////////////////////////////////////////////////////// -/// Class AppendGameDialogBF -/////////////////////////////////////////////////////////////////////////////// -class AppendGameDialogBF : public wxDialog -{ - private: - - protected: - wxStaticText* main_label; - wxListBox* game_list; - wxButton* cancel_button; - wxButton* import_button; - - public: - - AppendGameDialogBF( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 388,263 ), long style = wxDEFAULT_DIALOG_STYLE ); - - ~AppendGameDialogBF(); - -}; - diff --git a/src/base_tab/BasePanelBF.cpp b/src/base_tab/BasePanelBF.cpp deleted file mode 100644 index 8af03b6..0000000 --- a/src/base_tab/BasePanelBF.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487) -// http://www.wxformbuilder.org/ -// -// PLEASE DO *NOT* EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#include "BasePanelBF.h" - -/////////////////////////////////////////////////////////////////////////// - -BasePanelBF::BasePanelBF( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) -{ - wxBoxSizer* main_sizer; - main_sizer = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* top_sizer; - top_sizer = new wxBoxSizer( wxHORIZONTAL ); - - current_base = new wxStaticText( this, wxID_ANY, wxT("unknown"), wxDefaultPosition, wxDefaultSize, 0 ); - current_base->Wrap( -1 ); - top_sizer->Add( current_base, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - save_button = new wxButton( this, ID_SAVE_BUTTON, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 ); - top_sizer->Add( save_button, 0, wxALL, 5 ); - - export_button = new wxButton( this, ID_EXPORT_BUTTON, wxT("Export"), wxDefaultPosition, wxDefaultSize, 0 ); - top_sizer->Add( export_button, 0, wxALL, 5 ); - - - main_sizer->Add( top_sizer, 0, wxEXPAND, 5 ); - - separator_1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); - main_sizer->Add( separator_1, 0, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bottom_sizer; - bottom_sizer = new wxBoxSizer( wxHORIZONTAL ); - - - bottom_sizer->Add( 0, 0, 1, wxEXPAND, 5 ); - - import_button = new wxButton( this, ID_IMPORT_BUTTON, wxT("Import games"), wxDefaultPosition, wxDefaultSize, 0 ); - bottom_sizer->Add( import_button, 0, wxALL, 5 ); - - delete_button = new wxButton( this, ID_DELETE_BUTTON, wxT("Delete selection"), wxDefaultPosition, wxDefaultSize, 0 ); - bottom_sizer->Add( delete_button, 0, wxALL, 5 ); - - - main_sizer->Add( bottom_sizer, 0, wxEXPAND, 5 ); - - game_list = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT ); - main_sizer->Add( game_list, 1, wxALL|wxEXPAND, 5 ); - - - this->SetSizer( main_sizer ); - this->Layout(); -} - -BasePanelBF::~BasePanelBF() -{ -} diff --git a/src/base_tab/BasePanelBF.h b/src/base_tab/BasePanelBF.h deleted file mode 100644 index e00fc46..0000000 --- a/src/base_tab/BasePanelBF.h +++ /dev/null @@ -1,57 +0,0 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487) -// http://www.wxformbuilder.org/ -// -// PLEASE DO *NOT* EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#pragma once - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/////////////////////////////////////////////////////////////////////////// - -#define ID_SAVE_BUTTON 1000 -#define ID_EXPORT_BUTTON 1001 -#define ID_IMPORT_BUTTON 1002 -#define ID_DELETE_BUTTON 1003 - -/////////////////////////////////////////////////////////////////////////////// -/// Class BasePanelBF -/////////////////////////////////////////////////////////////////////////////// -class BasePanelBF : public wxPanel -{ - private: - - protected: - wxStaticText* current_base; - wxButton* save_button; - wxButton* export_button; - wxStaticLine* separator_1; - wxButton* import_button; - wxButton* delete_button; - wxListCtrl* game_list; - - public: - - BasePanelBF( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 884,624 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); - - ~BasePanelBF(); - -}; - diff --git a/src/base_tab/BaseTab.cpp b/src/base_tab/BaseTab.cpp index fab165e..465f91f 100644 --- a/src/base_tab/BaseTab.cpp +++ b/src/base_tab/BaseTab.cpp @@ -3,7 +3,7 @@ #include BaseTab::BaseTab(wxFrame *parent, std::string base_file) - : BasePanelBF(parent), base_file(base_file), TabInfos(TabInfos::BASE), + : TabBase(parent), base_file(base_file), TabInfos(TabInfos::BASE), base(NULL) { game_list->InsertColumn(0, L"id", wxLIST_FORMAT_LEFT, 50); diff --git a/src/base_tab/BaseTab.hpp b/src/base_tab/BaseTab.hpp index 8d01827..5eef3b1 100644 --- a/src/base_tab/BaseTab.hpp +++ b/src/base_tab/BaseTab.hpp @@ -1,5 +1,4 @@ -#include "BasePanelBF.h" #include "gamebase/GameBase.hpp" #include "gamebase/PGNGameBase.hpp" #include "ochess.hpp" @@ -8,7 +7,7 @@ wxDECLARE_EVENT(NEW_GAME_EVENT, wxCommandEvent); wxDECLARE_EVENT(REFRESH_TAB_TITLE, wxCommandEvent); -class BaseTab : public BasePanelBF, public TabInfos { +class BaseTab : public TabBase, public TabInfos { GameBase *base; std::vector deleted; std::vector edited; diff --git a/src/engine_tab/EngineTab.cpp b/src/engine_tab/EngineTab.cpp index ca5f2e9..6db6bdd 100644 --- a/src/engine_tab/EngineTab.cpp +++ b/src/engine_tab/EngineTab.cpp @@ -2,7 +2,7 @@ EngineTab::EngineTab(wxWindow *parent, uciadapter::UCI *engine, std::string engine_path_or_name) - : EngineTabBF(parent), TabInfos(TabInfos::ENGINE), + : TabEngine(parent), TabInfos(TabInfos::ENGINE), enginePath(engine_path_or_name), engine(engine) { SetLabel("New Engine"); @@ -30,7 +30,7 @@ EngineTab::EngineTab(wxWindow *parent, uciadapter::UCI *engine, } EngineTab::EngineTab(wxWindow *parent, std::string name) - : EngineTabBF(parent), TabInfos(TabInfos::ENGINE) { + : TabEngine(parent), TabInfos(TabInfos::ENGINE) { SetLabel(name); engineName = name; confGroup = "engines/" + engineName; diff --git a/src/engine_tab/EngineTab.hpp b/src/engine_tab/EngineTab.hpp index 3410964..b1e7ff0 100644 --- a/src/engine_tab/EngineTab.hpp +++ b/src/engine_tab/EngineTab.hpp @@ -1,4 +1,3 @@ -#include "EngineTabBF.h" #include "UCI.hpp" #include "ochess.hpp" @@ -6,7 +5,7 @@ wxDECLARE_EVENT(CLOSE_TAB_EVENT, wxCommandEvent); wxDECLARE_EVENT(REFRESH_ENGINE_LIST, wxCommandEvent); -class EngineTab : public EngineTabBF, public TabInfos { +class EngineTab : public TabEngine, public TabInfos { uciadapter::UCI *engine; std::string confGroup, enginePath; std::string engineName; diff --git a/src/engine_tab/EngineTabBF.cpp b/src/engine_tab/EngineTabBF.cpp deleted file mode 100644 index 90ba99d..0000000 --- a/src/engine_tab/EngineTabBF.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487) -// http://www.wxformbuilder.org/ -// -// PLEASE DO *NOT* EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#include "EngineTabBF.h" - -/////////////////////////////////////////////////////////////////////////// - -EngineTabBF::EngineTabBF( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) -{ - wxBoxSizer* main_sizer; - main_sizer = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* engine_name_sizer; - engine_name_sizer = new wxBoxSizer( wxHORIZONTAL ); - - engine_name_label = new wxStaticText( this, wxID_ANY, wxT("Name:"), wxDefaultPosition, wxDefaultSize, 0 ); - engine_name_label->Wrap( -1 ); - engine_name_sizer->Add( engine_name_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - engine_name = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - engine_name_sizer->Add( engine_name, 1, wxALL, 5 ); - - - main_sizer->Add( engine_name_sizer, 0, wxEXPAND, 5 ); - - wxBoxSizer* engine_location_sizer; - engine_location_sizer = new wxBoxSizer( wxHORIZONTAL ); - - engine_location_label = new wxStaticText( this, wxID_ANY, wxT("Location:"), wxDefaultPosition, wxDefaultSize, 0 ); - engine_location_label->Wrap( -1 ); - engine_location_sizer->Add( engine_location_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - engine_location = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY ); - engine_location_sizer->Add( engine_location, 1, wxALL, 5 ); - - - main_sizer->Add( engine_location_sizer, 0, wxEXPAND, 5 ); - - separator_1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); - main_sizer->Add( separator_1, 0, wxEXPAND | wxALL, 5 ); - - params_label = new wxStaticText( this, wxID_ANY, wxT("Parameters:"), wxDefaultPosition, wxDefaultSize, 0 ); - params_label->Wrap( -1 ); - main_sizer->Add( params_label, 0, wxALL, 5 ); - - engine_parameters = new wxPropertyGrid(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxPG_DEFAULT_STYLE|wxPG_SPLITTER_AUTO_CENTER); - main_sizer->Add( engine_parameters, 1, wxALL|wxEXPAND, 5 ); - - save_button = new wxButton( this, ENGINE_SAVE_CONF_BUTTON, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 ); - main_sizer->Add( save_button, 0, wxALL|wxEXPAND, 5 ); - - delete_button = new wxButton( this, ENGINE_DELETE_CONF_BUTTON, wxT("Delete engine"), wxDefaultPosition, wxDefaultSize, 0 ); - main_sizer->Add( delete_button, 0, wxALL|wxEXPAND, 5 ); - - - this->SetSizer( main_sizer ); - this->Layout(); -} - -EngineTabBF::~EngineTabBF() -{ -} diff --git a/src/engine_tab/EngineTabBF.h b/src/engine_tab/EngineTabBF.h deleted file mode 100644 index fe7dae1..0000000 --- a/src/engine_tab/EngineTabBF.h +++ /dev/null @@ -1,59 +0,0 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487) -// http://www.wxformbuilder.org/ -// -// PLEASE DO *NOT* EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#pragma once - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/////////////////////////////////////////////////////////////////////////// - -#define ENGINE_SAVE_CONF_BUTTON 1000 -#define ENGINE_DELETE_CONF_BUTTON 1001 - -/////////////////////////////////////////////////////////////////////////////// -/// Class EngineTabBF -/////////////////////////////////////////////////////////////////////////////// -class EngineTabBF : public wxPanel -{ - private: - - protected: - 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; - - public: - - EngineTabBF( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); - - ~EngineTabBF(); - -}; - diff --git a/src/game_tab/editor/EditorPanel.cpp b/src/game_tab/editor/EditorPanel.cpp index b29477a..9f14f37 100644 --- a/src/game_tab/editor/EditorPanel.cpp +++ b/src/game_tab/editor/EditorPanel.cpp @@ -9,7 +9,7 @@ wxDEFINE_EVENT(PREVIOUS_MOVE_EVENT, wxCommandEvent); wxDEFINE_EVENT(NEXT_MOVE_EVENT, wxCommandEvent); EditorPanel::EditorPanel(wxFrame *parent, Game *game) - : EditorPanelBF(parent), game(game), selected_item(-1) { + : TabGameRightPanel(parent), game(game), selected_item(-1) { editor_canvas = new EditorCanvas((wxFrame *)editor_page); editor_canvas_sizer->Add(editor_canvas, 1, wxEXPAND); tags_list->InsertColumn(0, L"Name", wxLIST_FORMAT_LEFT, 200); diff --git a/src/game_tab/editor/EditorPanel.hpp b/src/game_tab/editor/EditorPanel.hpp index b0a00ce..3ab98a5 100644 --- a/src/game_tab/editor/EditorPanel.hpp +++ b/src/game_tab/editor/EditorPanel.hpp @@ -1,6 +1,5 @@ #include "../Game.hpp" #include "EditorCanvas.hpp" -#include "EditorPanelBF.h" #include "ochess.hpp" #include #include @@ -15,7 +14,7 @@ wxDECLARE_EVENT(REFRESH_TAB_TITLE, wxCommandEvent); // Foreign events wxDECLARE_EVENT(GAME_CHANGE, wxCommandEvent); -class EditorPanel : public EditorPanelBF { +class EditorPanel : public TabGameRightPanel { Game *game; EditorCanvas *editor_canvas; long selected_item; diff --git a/src/game_tab/editor/EditorPanelBF.cpp b/src/game_tab/editor/EditorPanelBF.cpp deleted file mode 100644 index 8928806..0000000 --- a/src/game_tab/editor/EditorPanelBF.cpp +++ /dev/null @@ -1,109 +0,0 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487) -// http://www.wxformbuilder.org/ -// -// PLEASE DO *NOT* EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#include "EditorPanelBF.h" - -/////////////////////////////////////////////////////////////////////////// - -EditorPanelBF::EditorPanelBF( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) -{ - wxBoxSizer* main_sizer; - main_sizer = new wxBoxSizer( wxVERTICAL ); - - notebook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - editor_page = new wxPanel( notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - editor_page_sizer = new wxBoxSizer( wxVERTICAL ); - - editor_canvas_sizer = new wxBoxSizer( wxVERTICAL ); - - - editor_page_sizer->Add( editor_canvas_sizer, 1, wxEXPAND, 5 ); - - m_staticline1 = new wxStaticLine( editor_page, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); - editor_page_sizer->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 ); - - comment_label = new wxStaticText( editor_page, wxID_ANY, wxT("Comment:"), wxDefaultPosition, wxDefaultSize, 0 ); - comment_label->Wrap( -1 ); - editor_page_sizer->Add( comment_label, 0, wxALL|wxEXPAND, 5 ); - - comment_input = new wxTextCtrl( editor_page, COMMENT_INPUT_BOX, wxEmptyString, wxDefaultPosition, wxSize( -1,200 ), wxTE_MULTILINE ); - editor_page_sizer->Add( comment_input, 0, wxALL|wxEXPAND, 5 ); - - - editor_page->SetSizer( editor_page_sizer ); - editor_page->Layout(); - editor_page_sizer->Fit( editor_page ); - notebook->AddPage( editor_page, wxT("Editor"), false ); - tags_page = new wxPanel( notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* tags_page_sizer; - tags_page_sizer = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* tags_list_control_sizer; - tags_list_control_sizer = new wxBoxSizer( wxVERTICAL ); - - tagTextCtrl = new wxTextCtrl( tags_page, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - tags_list_control_sizer->Add( tagTextCtrl, 0, wxALL|wxEXPAND, 5 ); - - valueTextCtrl = new wxTextCtrl( tags_page, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - tags_list_control_sizer->Add( valueTextCtrl, 0, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer7; - bSizer7 = new wxBoxSizer( wxHORIZONTAL ); - - update_button = new wxButton( tags_page, UPDATE_BTN, wxT("Update"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer7->Add( update_button, 1, wxALL, 5 ); - - - tags_list_control_sizer->Add( bSizer7, 1, wxEXPAND, 5 ); - - - tags_page_sizer->Add( tags_list_control_sizer, 0, wxEXPAND, 5 ); - - tags_list = new wxListCtrl( tags_page, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT ); - tags_page_sizer->Add( tags_list, 1, wxALL|wxEXPAND, 5 ); - - delete_button = new wxButton( tags_page, DELETE_BTN, wxT("Delete selection"), wxDefaultPosition, wxDefaultSize, 0 ); - tags_page_sizer->Add( delete_button, 0, wxALL|wxEXPAND, 5 ); - - - tags_page->SetSizer( tags_page_sizer ); - tags_page->Layout(); - tags_page_sizer->Fit( tags_page ); - notebook->AddPage( tags_page, wxT("Tags"), false ); - engine_page = new wxPanel( notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* engine_page_sizer; - engine_page_sizer = new wxBoxSizer( wxVERTICAL ); - - engine_list_label = new wxStaticText( engine_page, wxID_ANY, wxT("Choose the engine to use:"), wxDefaultPosition, wxDefaultSize, 0 ); - engine_list_label->Wrap( -1 ); - engine_page_sizer->Add( engine_list_label, 0, wxALL, 5 ); - - engine_list = new wxListBox( engine_page, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); - engine_page_sizer->Add( engine_list, 1, wxALL|wxEXPAND, 5 ); - - analyze_game_button = new wxButton( engine_page, wxID_ANY, wxT("Analyze game"), wxDefaultPosition, wxDefaultSize, 0 ); - engine_page_sizer->Add( analyze_game_button, 0, wxALL|wxEXPAND, 5 ); - - live_analysis_button = new wxButton( engine_page, LIVE_ANALYSIS_GAME_BUTTON, wxT("Live analysis"), wxDefaultPosition, wxDefaultSize, 0 ); - engine_page_sizer->Add( live_analysis_button, 0, wxALL|wxEXPAND, 5 ); - - - engine_page->SetSizer( engine_page_sizer ); - engine_page->Layout(); - engine_page_sizer->Fit( engine_page ); - notebook->AddPage( engine_page, wxT("Engine"), false ); - - main_sizer->Add( notebook, 1, wxEXPAND | wxALL, 5 ); - - - this->SetSizer( main_sizer ); - this->Layout(); -} - -EditorPanelBF::~EditorPanelBF() -{ -} diff --git a/src/game_tab/editor/EditorPanelBF.h b/src/game_tab/editor/EditorPanelBF.h deleted file mode 100644 index b33655e..0000000 --- a/src/game_tab/editor/EditorPanelBF.h +++ /dev/null @@ -1,71 +0,0 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487) -// http://www.wxformbuilder.org/ -// -// PLEASE DO *NOT* EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#pragma once - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/////////////////////////////////////////////////////////////////////////// - -#define COMMENT_INPUT_BOX 1000 -#define UPDATE_BTN 1001 -#define DELETE_BTN 1002 -#define LIVE_ANALYSIS_GAME_BUTTON 1003 - -/////////////////////////////////////////////////////////////////////////////// -/// Class EditorPanelBF -/////////////////////////////////////////////////////////////////////////////// -class EditorPanelBF : public wxPanel -{ - private: - - protected: - wxNotebook* notebook; - wxPanel* editor_page; - wxBoxSizer* editor_page_sizer; - wxBoxSizer* editor_canvas_sizer; - wxStaticLine* m_staticline1; - wxStaticText* comment_label; - wxTextCtrl* comment_input; - wxPanel* tags_page; - wxTextCtrl* tagTextCtrl; - wxTextCtrl* valueTextCtrl; - wxButton* update_button; - wxListCtrl* tags_list; - wxButton* delete_button; - wxPanel* engine_page; - wxStaticText* engine_list_label; - wxListBox* engine_list; - wxButton* analyze_game_button; - wxButton* live_analysis_button; - - public: - - EditorPanelBF( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 525,485 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); - - ~EditorPanelBF(); - -}; - diff --git a/src/game_tab/editor/LiveEngineDialog.cpp b/src/game_tab/editor/LiveEngineDialog.cpp index 4f745b4..1f509ae 100644 --- a/src/game_tab/editor/LiveEngineDialog.cpp +++ b/src/game_tab/editor/LiveEngineDialog.cpp @@ -1,7 +1,7 @@ #include "LiveEngineDialog.hpp" LiveEngineDialog::LiveEngineDialog(wxWindow *parent, std::string engine_name) - : LiveEngineDialogFB(parent), engine_name(engine_name), interval(1000), + : DialogLiveEngine(parent), engine_name(engine_name), interval(1000), engine(NULL) { lines_list->InsertColumn(0, "#", wxLIST_FORMAT_LEFT, 50); lines_list->InsertColumn(1, "CP", wxLIST_FORMAT_LEFT, 70); diff --git a/src/game_tab/editor/LiveEngineDialog.hpp b/src/game_tab/editor/LiveEngineDialog.hpp index 4772e59..999002f 100644 --- a/src/game_tab/editor/LiveEngineDialog.hpp +++ b/src/game_tab/editor/LiveEngineDialog.hpp @@ -1,9 +1,8 @@ -#include "LiveEngineDialogFB.h" #include "UCI.hpp" #include "ochess.hpp" #include -class LiveEngineDialog : public LiveEngineDialogFB { +class LiveEngineDialog : public DialogLiveEngine { uciadapter::UCI *engine; std::string engine_name; wxTimer timer; diff --git a/src/game_tab/editor/LiveEngineDialogFB.cpp b/src/game_tab/editor/LiveEngineDialogFB.cpp deleted file mode 100644 index 52624e3..0000000 --- a/src/game_tab/editor/LiveEngineDialogFB.cpp +++ /dev/null @@ -1,82 +0,0 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487) -// http://www.wxformbuilder.org/ -// -// PLEASE DO *NOT* EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#include "LiveEngineDialogFB.h" - -/////////////////////////////////////////////////////////////////////////// - -LiveEngineDialogFB::LiveEngineDialogFB( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* main_sizer; - main_sizer = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* current_engine_sizer; - current_engine_sizer = new wxBoxSizer( wxHORIZONTAL ); - - current_engine_label = new wxStaticText( this, wxID_ANY, wxT("Current engine:"), wxDefaultPosition, wxDefaultSize, 0 ); - current_engine_label->Wrap( -1 ); - current_engine_sizer->Add( current_engine_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - current_engine = new wxStaticText( this, wxID_ANY, wxT("???"), wxDefaultPosition, wxDefaultSize, 0 ); - current_engine->Wrap( -1 ); - current_engine_sizer->Add( current_engine, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - - current_engine_sizer->Add( 0, 0, 1, wxEXPAND, 5 ); - - engine_stop_button = new wxButton( this, LIVE_ENGINE_PAUSE_BUTTON, wxT("Stop"), wxDefaultPosition, wxDefaultSize, 0 ); - current_engine_sizer->Add( engine_stop_button, 0, wxALL, 5 ); - - - main_sizer->Add( current_engine_sizer, 0, wxEXPAND, 5 ); - - wxGridSizer* infos_sizer; - infos_sizer = new wxGridSizer( 0, 6, 0, 0 ); - - multipv_label = new wxStaticText( this, wxID_ANY, wxT("MultiPV:"), wxDefaultPosition, wxDefaultSize, 0 ); - multipv_label->Wrap( -1 ); - infos_sizer->Add( multipv_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - multipv = new wxStaticText( this, wxID_ANY, wxT("?"), wxDefaultPosition, wxDefaultSize, 0 ); - multipv->Wrap( -1 ); - infos_sizer->Add( multipv, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - threads_label = new wxStaticText( this, wxID_ANY, wxT("Threads:"), wxDefaultPosition, wxDefaultSize, 0 ); - threads_label->Wrap( -1 ); - infos_sizer->Add( threads_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - threads = new wxStaticText( this, wxID_ANY, wxT("?"), wxDefaultPosition, wxDefaultSize, 0 ); - threads->Wrap( -1 ); - infos_sizer->Add( threads, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - m_staticText13 = new wxStaticText( this, wxID_ANY, wxT("Depth:"), wxDefaultPosition, wxDefaultSize, 0 ); - m_staticText13->Wrap( -1 ); - infos_sizer->Add( m_staticText13, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - depth = new wxSpinCtrl( this, wxID_ANY, wxT("30"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 10000, 0 ); - depth->Enable( false ); - - infos_sizer->Add( depth, 0, wxALL, 5 ); - - - main_sizer->Add( infos_sizer, 0, 0, 5 ); - - lines_list = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT ); - main_sizer->Add( lines_list, 1, wxALL|wxEXPAND, 5 ); - - - this->SetSizer( main_sizer ); - this->Layout(); - - this->Centre( wxBOTH ); -} - -LiveEngineDialogFB::~LiveEngineDialogFB() -{ -} diff --git a/src/game_tab/editor/LiveEngineDialogFB.h b/src/game_tab/editor/LiveEngineDialogFB.h deleted file mode 100644 index 29f0292..0000000 --- a/src/game_tab/editor/LiveEngineDialogFB.h +++ /dev/null @@ -1,57 +0,0 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487) -// http://www.wxformbuilder.org/ -// -// PLEASE DO *NOT* EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#pragma once - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/////////////////////////////////////////////////////////////////////////// - -#define LIVE_ENGINE_PAUSE_BUTTON 1000 - -/////////////////////////////////////////////////////////////////////////////// -/// Class LiveEngineDialogFB -/////////////////////////////////////////////////////////////////////////////// -class LiveEngineDialogFB : public wxDialog -{ - private: - - protected: - wxStaticText* current_engine_label; - wxStaticText* current_engine; - wxButton* engine_stop_button; - wxStaticText* multipv_label; - wxStaticText* multipv; - wxStaticText* threads_label; - wxStaticText* threads; - wxStaticText* m_staticText13; - wxSpinCtrl* depth; - wxListCtrl* lines_list; - - public: - - LiveEngineDialogFB( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 464,468 ), long style = wxDEFAULT_DIALOG_STYLE ); - - ~LiveEngineDialogFB(); - -}; - diff --git a/src/gui.cpp b/src/gui.cpp new file mode 100644 index 0000000..6d76c61 --- /dev/null +++ b/src/gui.cpp @@ -0,0 +1,521 @@ +/////////////////////////////////////////////////////////////////////////// +// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487) +// http://www.wxformbuilder.org/ +// +// PLEASE DO *NOT* EDIT THIS FILE! +/////////////////////////////////////////////////////////////////////////// + +#include "gui.h" + +/////////////////////////////////////////////////////////////////////////// + +MainFrame::MainFrame( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + menu_bar = new wxMenuBar( 0 ); + menu_file = new wxMenu(); + menu_bar->Append( menu_file, wxT("Files") ); + + menu_game = new wxMenu(); + menu_bar->Append( menu_game, wxT("Game") ); + + menu_db = new wxMenu(); + menu_bar->Append( menu_db, wxT("Database") ); + + menu_engine = new wxMenu(); + menu_bar->Append( menu_engine, wxT("Engine") ); + + this->SetMenuBar( menu_bar ); + + status_bar = this->CreateStatusBar( 1, wxSTB_SIZEGRIP, wxID_ANY ); + wxBoxSizer* main_sizer; + main_sizer = new wxBoxSizer( wxVERTICAL ); + + notebook = new wxAuiNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxAUI_NB_DEFAULT_STYLE ); + + main_sizer->Add( notebook, 1, wxEXPAND | wxALL, 5 ); + + + this->SetSizer( main_sizer ); + this->Layout(); + + this->Centre( wxBOTH ); +} + +MainFrame::~MainFrame() +{ +} + +DialogLiveEngine::DialogLiveEngine( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* main_sizer; + main_sizer = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* current_engine_sizer; + current_engine_sizer = new wxBoxSizer( wxHORIZONTAL ); + + current_engine_label = new wxStaticText( this, wxID_ANY, wxT("Current engine:"), wxDefaultPosition, wxDefaultSize, 0 ); + current_engine_label->Wrap( -1 ); + current_engine_sizer->Add( current_engine_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + current_engine = new wxStaticText( this, wxID_ANY, wxT("???"), wxDefaultPosition, wxDefaultSize, 0 ); + current_engine->Wrap( -1 ); + current_engine_sizer->Add( current_engine, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + + current_engine_sizer->Add( 0, 0, 1, wxEXPAND, 5 ); + + engine_stop_button = new wxButton( this, LIVE_ENGINE_PAUSE_BUTTON, wxT("Stop"), wxDefaultPosition, wxDefaultSize, 0 ); + current_engine_sizer->Add( engine_stop_button, 0, wxALL, 5 ); + + + main_sizer->Add( current_engine_sizer, 0, wxEXPAND, 5 ); + + wxGridSizer* infos_sizer; + infos_sizer = new wxGridSizer( 0, 6, 0, 0 ); + + multipv_label = new wxStaticText( this, wxID_ANY, wxT("MultiPV:"), wxDefaultPosition, wxDefaultSize, 0 ); + multipv_label->Wrap( -1 ); + infos_sizer->Add( multipv_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + multipv = new wxStaticText( this, wxID_ANY, wxT("?"), wxDefaultPosition, wxDefaultSize, 0 ); + multipv->Wrap( -1 ); + infos_sizer->Add( multipv, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + threads_label = new wxStaticText( this, wxID_ANY, wxT("Threads:"), wxDefaultPosition, wxDefaultSize, 0 ); + threads_label->Wrap( -1 ); + infos_sizer->Add( threads_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + threads = new wxStaticText( this, wxID_ANY, wxT("?"), wxDefaultPosition, wxDefaultSize, 0 ); + threads->Wrap( -1 ); + infos_sizer->Add( threads, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + m_staticText13 = new wxStaticText( this, wxID_ANY, wxT("Depth:"), wxDefaultPosition, wxDefaultSize, 0 ); + m_staticText13->Wrap( -1 ); + infos_sizer->Add( m_staticText13, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + depth = new wxSpinCtrl( this, wxID_ANY, wxT("30"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 10000, 0 ); + depth->Enable( false ); + + infos_sizer->Add( depth, 0, wxALL, 5 ); + + + main_sizer->Add( infos_sizer, 0, 0, 5 ); + + lines_list = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT ); + main_sizer->Add( lines_list, 1, wxALL|wxEXPAND, 5 ); + + + this->SetSizer( main_sizer ); + this->Layout(); + + this->Centre( wxBOTH ); +} + +DialogLiveEngine::~DialogLiveEngine() +{ +} + +DialogAppendGame::DialogAppendGame( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* main_sizer; + main_sizer = new wxBoxSizer( wxVERTICAL ); + + main_label = new wxStaticText( this, wxID_ANY, wxT("Please select games to import:"), wxDefaultPosition, wxDefaultSize, 0 ); + main_label->Wrap( -1 ); + main_sizer->Add( main_label, 0, wxALL|wxEXPAND, 5 ); + + game_list = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); + main_sizer->Add( game_list, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer5; + bSizer5 = new wxBoxSizer( wxHORIZONTAL ); + + + bSizer5->Add( 0, 0, 1, wxEXPAND, 5 ); + + cancel_button = new wxButton( this, ID_DIALOG_CANCEL_BUTTON, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer5->Add( cancel_button, 0, wxALL, 5 ); + + import_button = new wxButton( this, ID_DIALOG_IMPORT_BUTTON, wxT("Import"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer5->Add( import_button, 0, wxALL, 5 ); + + + main_sizer->Add( bSizer5, 0, wxEXPAND, 5 ); + + + this->SetSizer( main_sizer ); + this->Layout(); + + this->Centre( wxBOTH ); +} + +DialogAppendGame::~DialogAppendGame() +{ +} + +TabEngine::TabEngine( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) +{ + wxBoxSizer* main_sizer; + main_sizer = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* engine_name_sizer; + engine_name_sizer = new wxBoxSizer( wxHORIZONTAL ); + + engine_name_label = new wxStaticText( this, wxID_ANY, wxT("Name:"), wxDefaultPosition, wxDefaultSize, 0 ); + engine_name_label->Wrap( -1 ); + engine_name_sizer->Add( engine_name_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + engine_name = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + engine_name_sizer->Add( engine_name, 1, wxALL, 5 ); + + + main_sizer->Add( engine_name_sizer, 0, wxEXPAND, 5 ); + + wxBoxSizer* engine_location_sizer; + engine_location_sizer = new wxBoxSizer( wxHORIZONTAL ); + + engine_location_label = new wxStaticText( this, wxID_ANY, wxT("Location:"), wxDefaultPosition, wxDefaultSize, 0 ); + engine_location_label->Wrap( -1 ); + engine_location_sizer->Add( engine_location_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + engine_location = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY ); + engine_location_sizer->Add( engine_location, 1, wxALL, 5 ); + + + main_sizer->Add( engine_location_sizer, 0, wxEXPAND, 5 ); + + separator_1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); + main_sizer->Add( separator_1, 0, wxEXPAND | wxALL, 5 ); + + params_label = new wxStaticText( this, wxID_ANY, wxT("Parameters:"), wxDefaultPosition, wxDefaultSize, 0 ); + params_label->Wrap( -1 ); + main_sizer->Add( params_label, 0, wxALL, 5 ); + + engine_parameters = new wxPropertyGrid(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxPG_DEFAULT_STYLE|wxPG_SPLITTER_AUTO_CENTER); + main_sizer->Add( engine_parameters, 1, wxALL|wxEXPAND, 5 ); + + save_button = new wxButton( this, ENGINE_SAVE_CONF_BUTTON, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 ); + main_sizer->Add( save_button, 0, wxALL|wxEXPAND, 5 ); + + delete_button = new wxButton( this, ENGINE_DELETE_CONF_BUTTON, wxT("Delete engine"), wxDefaultPosition, wxDefaultSize, 0 ); + main_sizer->Add( delete_button, 0, wxALL|wxEXPAND, 5 ); + + + this->SetSizer( main_sizer ); + this->Layout(); +} + +TabEngine::~TabEngine() +{ +} + +PrefsEditor::PrefsEditor( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) +{ + wxGridSizer* main_sizer; + main_sizer = new wxGridSizer( 10, 2, 0, 0 ); + + color_margin_label = new wxStaticText( this, wxID_ANY, wxT("Margin color"), wxDefaultPosition, wxDefaultSize, 0 ); + color_margin_label->Wrap( -1 ); + main_sizer->Add( color_margin_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + color_margin = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE ); + main_sizer->Add( color_margin, 0, wxALL, 5 ); + + color_scrollbar_label = new wxStaticText( this, wxID_ANY, wxT("Scrollbar color"), wxDefaultPosition, wxDefaultSize, 0 ); + color_scrollbar_label->Wrap( -1 ); + main_sizer->Add( color_scrollbar_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + color_scrollbar = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE ); + main_sizer->Add( color_scrollbar, 0, wxALL, 5 ); + + color_scrollbarbg_label = new wxStaticText( this, wxID_ANY, wxT("Scrollbar background color"), wxDefaultPosition, wxDefaultSize, 0 ); + color_scrollbarbg_label->Wrap( -1 ); + main_sizer->Add( color_scrollbarbg_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + color_scrollbarbg = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE ); + main_sizer->Add( color_scrollbarbg, 0, wxALL, 5 ); + + color_commentbg_label = new wxStaticText( this, wxID_ANY, wxT("Comments background color"), wxDefaultPosition, wxDefaultSize, 0 ); + color_commentbg_label->Wrap( -1 ); + main_sizer->Add( color_commentbg_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + color_commentbg = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE ); + main_sizer->Add( color_commentbg, 0, wxALL, 5 ); + + row_size_label = new wxStaticText( this, wxID_ANY, wxT("Move row size"), wxDefaultPosition, wxDefaultSize, 0 ); + row_size_label->Wrap( -1 ); + main_sizer->Add( row_size_label, 0, wxALL, 5 ); + + row_size = new wxSpinCtrl( this, wxID_ANY, wxT("50"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 30, 70, 0 ); + main_sizer->Add( row_size, 0, wxALL, 5 ); + + col_size_label = new wxStaticText( this, wxID_ANY, wxT("Move column size"), wxDefaultPosition, wxDefaultSize, 0 ); + col_size_label->Wrap( -1 ); + main_sizer->Add( col_size_label, 0, wxALL, 5 ); + + col_size = new wxSpinCtrl( this, wxID_ANY, wxT("100"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 80, 120, 0 ); + main_sizer->Add( col_size, 0, wxALL, 5 ); + + show_move_icons = new wxCheckBox( this, wxID_ANY, wxT("Show move icons"), wxDefaultPosition, wxDefaultSize, 0 ); + main_sizer->Add( show_move_icons, 0, wxALL, 5 ); + + + this->SetSizer( main_sizer ); + this->Layout(); +} + +PrefsEditor::~PrefsEditor() +{ +} + +PrefsBoard::PrefsBoard( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) +{ + wxBoxSizer* main_sizer; + main_sizer = new wxBoxSizer( wxVERTICAL ); + + splitter = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D|wxSP_LIVE_UPDATE ); + splitter->Connect( wxEVT_IDLE, wxIdleEventHandler( PrefsBoard::splitterOnIdle ), NULL, this ); + + board_canvas = new wxPanel( splitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + options_panel = new wxPanel( splitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* options_sizer; + options_sizer = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* themes_sizer; + themes_sizer = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* piece_theme_sizer; + piece_theme_sizer = new wxBoxSizer( wxVERTICAL ); + + piece_theme_label = new wxStaticText( options_panel, wxID_ANY, wxT("Piece theme"), wxDefaultPosition, wxDefaultSize, 0 ); + piece_theme_label->Wrap( -1 ); + piece_theme_sizer->Add( piece_theme_label, 0, wxALL, 5 ); + + piece_theme = new wxListBox( options_panel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); + piece_theme_sizer->Add( piece_theme, 1, wxALL|wxEXPAND, 5 ); + + + themes_sizer->Add( piece_theme_sizer, 1, wxEXPAND, 5 ); + + wxBoxSizer* square_theme_sizer; + square_theme_sizer = new wxBoxSizer( wxVERTICAL ); + + square_theme_label = new wxStaticText( options_panel, wxID_ANY, wxT("Square theme"), wxDefaultPosition, wxDefaultSize, 0 ); + square_theme_label->Wrap( -1 ); + square_theme_sizer->Add( square_theme_label, 0, wxALL, 5 ); + + square_theme = new wxListBox( options_panel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); + square_theme_sizer->Add( square_theme, 1, wxALL|wxEXPAND, 5 ); + + + themes_sizer->Add( square_theme_sizer, 1, wxEXPAND, 5 ); + + + options_sizer->Add( themes_sizer, 1, wxEXPAND, 5 ); + + show_side_badge = new wxCheckBox( options_panel, wxID_ANY, wxT("Side to play badge"), wxDefaultPosition, wxDefaultSize, 0 ); + options_sizer->Add( show_side_badge, 0, wxALL, 5 ); + + show_captures = new wxCheckBox( options_panel, wxID_ANY, wxT("Show captured pieces"), wxDefaultPosition, wxDefaultSize, 0 ); + options_sizer->Add( show_captures, 0, wxALL, 5 ); + + black_by_default = new wxCheckBox( options_panel, wxID_ANY, wxT("Black side by default"), wxDefaultPosition, wxDefaultSize, 0 ); + options_sizer->Add( black_by_default, 0, wxALL, 5 ); + + wxBoxSizer* border_radius_sizer; + border_radius_sizer = new wxBoxSizer( wxHORIZONTAL ); + + border_radius_label = new wxStaticText( options_panel, wxID_ANY, wxT("Corner radius:"), wxDefaultPosition, wxDefaultSize, 0 ); + border_radius_label->Wrap( -1 ); + border_radius_sizer->Add( border_radius_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + corner_radius = new wxSpinCtrl( options_panel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 20, 0 ); + border_radius_sizer->Add( corner_radius, 0, wxALL, 5 ); + + + options_sizer->Add( border_radius_sizer, 0, wxEXPAND, 5 ); + + wxBoxSizer* board_size_sizer; + board_size_sizer = new wxBoxSizer( wxHORIZONTAL ); + + board_size_label = new wxStaticText( options_panel, wxID_ANY, wxT("Board squares size:"), wxDefaultPosition, wxDefaultSize, 0 ); + board_size_label->Wrap( -1 ); + board_size_sizer->Add( board_size_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + square_size = new wxSpinCtrl( options_panel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 20, 150, 0 ); + board_size_sizer->Add( square_size, 0, wxALL|wxEXPAND, 5 ); + + + options_sizer->Add( board_size_sizer, 0, wxEXPAND, 5 ); + + + options_panel->SetSizer( options_sizer ); + options_panel->Layout(); + options_sizer->Fit( options_panel ); + splitter->SplitHorizontally( board_canvas, options_panel, 350 ); + main_sizer->Add( splitter, 1, wxEXPAND, 5 ); + + + this->SetSizer( main_sizer ); + this->Layout(); +} + +PrefsBoard::~PrefsBoard() +{ +} + +TabBase::TabBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) +{ + wxBoxSizer* main_sizer; + main_sizer = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* top_sizer; + top_sizer = new wxBoxSizer( wxHORIZONTAL ); + + current_base = new wxStaticText( this, wxID_ANY, wxT("unknown"), wxDefaultPosition, wxDefaultSize, 0 ); + current_base->Wrap( -1 ); + top_sizer->Add( current_base, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + save_button = new wxButton( this, ID_SAVE_BUTTON, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 ); + top_sizer->Add( save_button, 0, wxALL, 5 ); + + export_button = new wxButton( this, ID_EXPORT_BUTTON, wxT("Export"), wxDefaultPosition, wxDefaultSize, 0 ); + top_sizer->Add( export_button, 0, wxALL, 5 ); + + + main_sizer->Add( top_sizer, 0, wxEXPAND, 5 ); + + separator_1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); + main_sizer->Add( separator_1, 0, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bottom_sizer; + bottom_sizer = new wxBoxSizer( wxHORIZONTAL ); + + + bottom_sizer->Add( 0, 0, 1, wxEXPAND, 5 ); + + import_button = new wxButton( this, ID_IMPORT_BUTTON, wxT("Import games"), wxDefaultPosition, wxDefaultSize, 0 ); + bottom_sizer->Add( import_button, 0, wxALL, 5 ); + + delete_button = new wxButton( this, ID_DELETE_BUTTON, wxT("Delete selection"), wxDefaultPosition, wxDefaultSize, 0 ); + bottom_sizer->Add( delete_button, 0, wxALL, 5 ); + + + main_sizer->Add( bottom_sizer, 0, wxEXPAND, 5 ); + + game_list = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT ); + main_sizer->Add( game_list, 1, wxALL|wxEXPAND, 5 ); + + + this->SetSizer( main_sizer ); + this->Layout(); +} + +TabBase::~TabBase() +{ +} + +TabGameRightPanel::TabGameRightPanel( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) +{ + wxBoxSizer* main_sizer; + main_sizer = new wxBoxSizer( wxVERTICAL ); + + notebook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + editor_page = new wxPanel( notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + editor_page_sizer = new wxBoxSizer( wxVERTICAL ); + + editor_canvas_sizer = new wxBoxSizer( wxVERTICAL ); + + + editor_page_sizer->Add( editor_canvas_sizer, 1, wxEXPAND, 5 ); + + m_staticline1 = new wxStaticLine( editor_page, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); + editor_page_sizer->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 ); + + comment_label = new wxStaticText( editor_page, wxID_ANY, wxT("Comment:"), wxDefaultPosition, wxDefaultSize, 0 ); + comment_label->Wrap( -1 ); + editor_page_sizer->Add( comment_label, 0, wxALL|wxEXPAND, 5 ); + + comment_input = new wxTextCtrl( editor_page, COMMENT_INPUT_BOX, wxEmptyString, wxDefaultPosition, wxSize( -1,200 ), wxTE_MULTILINE ); + editor_page_sizer->Add( comment_input, 0, wxALL|wxEXPAND, 5 ); + + + editor_page->SetSizer( editor_page_sizer ); + editor_page->Layout(); + editor_page_sizer->Fit( editor_page ); + notebook->AddPage( editor_page, wxT("Editor"), false ); + tags_page = new wxPanel( notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* tags_page_sizer; + tags_page_sizer = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* tags_list_control_sizer; + tags_list_control_sizer = new wxBoxSizer( wxVERTICAL ); + + tagTextCtrl = new wxTextCtrl( tags_page, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + tags_list_control_sizer->Add( tagTextCtrl, 0, wxALL|wxEXPAND, 5 ); + + valueTextCtrl = new wxTextCtrl( tags_page, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + tags_list_control_sizer->Add( valueTextCtrl, 0, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer7; + bSizer7 = new wxBoxSizer( wxHORIZONTAL ); + + update_button = new wxButton( tags_page, UPDATE_BTN, wxT("Update"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer7->Add( update_button, 1, wxALL, 5 ); + + + tags_list_control_sizer->Add( bSizer7, 1, wxEXPAND, 5 ); + + + tags_page_sizer->Add( tags_list_control_sizer, 0, wxEXPAND, 5 ); + + tags_list = new wxListCtrl( tags_page, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT ); + tags_page_sizer->Add( tags_list, 1, wxALL|wxEXPAND, 5 ); + + delete_button = new wxButton( tags_page, DELETE_BTN, wxT("Delete selection"), wxDefaultPosition, wxDefaultSize, 0 ); + tags_page_sizer->Add( delete_button, 0, wxALL|wxEXPAND, 5 ); + + + tags_page->SetSizer( tags_page_sizer ); + tags_page->Layout(); + tags_page_sizer->Fit( tags_page ); + notebook->AddPage( tags_page, wxT("Tags"), false ); + engine_page = new wxPanel( notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* engine_page_sizer; + engine_page_sizer = new wxBoxSizer( wxVERTICAL ); + + engine_list_label = new wxStaticText( engine_page, wxID_ANY, wxT("Choose the engine to use:"), wxDefaultPosition, wxDefaultSize, 0 ); + engine_list_label->Wrap( -1 ); + engine_page_sizer->Add( engine_list_label, 0, wxALL, 5 ); + + engine_list = new wxListBox( engine_page, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); + engine_page_sizer->Add( engine_list, 1, wxALL|wxEXPAND, 5 ); + + analyze_game_button = new wxButton( engine_page, wxID_ANY, wxT("Analyze game"), wxDefaultPosition, wxDefaultSize, 0 ); + engine_page_sizer->Add( analyze_game_button, 0, wxALL|wxEXPAND, 5 ); + + live_analysis_button = new wxButton( engine_page, LIVE_ANALYSIS_GAME_BUTTON, wxT("Live analysis"), wxDefaultPosition, wxDefaultSize, 0 ); + engine_page_sizer->Add( live_analysis_button, 0, wxALL|wxEXPAND, 5 ); + + + engine_page->SetSizer( engine_page_sizer ); + engine_page->Layout(); + engine_page_sizer->Fit( engine_page ); + notebook->AddPage( engine_page, wxT("Engine"), false ); + + main_sizer->Add( notebook, 1, wxEXPAND | wxALL, 5 ); + + + this->SetSizer( main_sizer ); + this->Layout(); +} + +TabGameRightPanel::~TabGameRightPanel() +{ +} diff --git a/src/gui.h b/src/gui.h new file mode 100644 index 0000000..76d9614 --- /dev/null +++ b/src/gui.h @@ -0,0 +1,280 @@ +/////////////////////////////////////////////////////////////////////////// +// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487) +// http://www.wxformbuilder.org/ +// +// PLEASE DO *NOT* EDIT THIS FILE! +/////////////////////////////////////////////////////////////////////////// + +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/////////////////////////////////////////////////////////////////////////// + +#define LIVE_ENGINE_PAUSE_BUTTON 1000 +#define ID_DIALOG_CANCEL_BUTTON 1001 +#define ID_DIALOG_IMPORT_BUTTON 1002 +#define ENGINE_SAVE_CONF_BUTTON 1003 +#define ENGINE_DELETE_CONF_BUTTON 1004 +#define ID_SAVE_BUTTON 1005 +#define ID_EXPORT_BUTTON 1006 +#define ID_IMPORT_BUTTON 1007 +#define ID_DELETE_BUTTON 1008 +#define COMMENT_INPUT_BOX 1009 +#define UPDATE_BTN 1010 +#define DELETE_BTN 1011 +#define LIVE_ANALYSIS_GAME_BUTTON 1012 + +/////////////////////////////////////////////////////////////////////////////// +/// Class MainFrame +/////////////////////////////////////////////////////////////////////////////// +class MainFrame : public wxFrame +{ + private: + + protected: + wxMenuBar* menu_bar; + wxMenu* menu_file; + wxMenu* menu_game; + wxMenu* menu_db; + wxMenu* menu_engine; + wxStatusBar* status_bar; + wxAuiNotebook* notebook; + + public: + + MainFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("OChess"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); + + ~MainFrame(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class DialogLiveEngine +/////////////////////////////////////////////////////////////////////////////// +class DialogLiveEngine : public wxDialog +{ + private: + + protected: + wxStaticText* current_engine_label; + wxStaticText* current_engine; + wxButton* engine_stop_button; + wxStaticText* multipv_label; + wxStaticText* multipv; + wxStaticText* threads_label; + wxStaticText* threads; + wxStaticText* m_staticText13; + wxSpinCtrl* depth; + wxListCtrl* lines_list; + + public: + + DialogLiveEngine( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 464,468 ), long style = wxDEFAULT_DIALOG_STYLE ); + + ~DialogLiveEngine(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class DialogAppendGame +/////////////////////////////////////////////////////////////////////////////// +class DialogAppendGame : public wxDialog +{ + private: + + protected: + wxStaticText* main_label; + wxListBox* game_list; + wxButton* cancel_button; + wxButton* import_button; + + public: + + DialogAppendGame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 388,263 ), long style = wxDEFAULT_DIALOG_STYLE ); + + ~DialogAppendGame(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class TabEngine +/////////////////////////////////////////////////////////////////////////////// +class TabEngine : public wxPanel +{ + private: + + protected: + 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; + + public: + + 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 ); + + ~TabEngine(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class PrefsEditor +/////////////////////////////////////////////////////////////////////////////// +class PrefsEditor : public wxPanel +{ + private: + + protected: + wxStaticText* color_margin_label; + wxColourPickerCtrl* color_margin; + wxStaticText* color_scrollbar_label; + wxColourPickerCtrl* color_scrollbar; + wxStaticText* color_scrollbarbg_label; + wxColourPickerCtrl* color_scrollbarbg; + wxStaticText* color_commentbg_label; + wxColourPickerCtrl* color_commentbg; + wxStaticText* row_size_label; + wxSpinCtrl* row_size; + wxStaticText* col_size_label; + wxSpinCtrl* col_size; + wxCheckBox* show_move_icons; + + public: + + PrefsEditor( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 622,420 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); + + ~PrefsEditor(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class PrefsBoard +/////////////////////////////////////////////////////////////////////////////// +class PrefsBoard : public wxPanel +{ + private: + + protected: + wxSplitterWindow* splitter; + wxPanel* board_canvas; + wxPanel* options_panel; + wxStaticText* piece_theme_label; + wxListBox* piece_theme; + wxStaticText* square_theme_label; + wxListBox* square_theme; + wxCheckBox* show_side_badge; + wxCheckBox* show_captures; + wxCheckBox* black_by_default; + wxStaticText* border_radius_label; + wxSpinCtrl* corner_radius; + wxStaticText* board_size_label; + wxSpinCtrl* square_size; + + public: + + PrefsBoard( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 756,751 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); + + ~PrefsBoard(); + + void splitterOnIdle( wxIdleEvent& ) + { + splitter->SetSashPosition( 350 ); + splitter->Disconnect( wxEVT_IDLE, wxIdleEventHandler( PrefsBoard::splitterOnIdle ), NULL, this ); + } + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class TabBase +/////////////////////////////////////////////////////////////////////////////// +class TabBase : public wxPanel +{ + private: + + protected: + wxStaticText* current_base; + wxButton* save_button; + wxButton* export_button; + wxStaticLine* separator_1; + wxButton* import_button; + wxButton* delete_button; + wxListCtrl* game_list; + + public: + + 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 ); + + ~TabBase(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class TabGameRightPanel +/////////////////////////////////////////////////////////////////////////////// +class TabGameRightPanel : public wxPanel +{ + private: + + protected: + wxNotebook* notebook; + wxPanel* editor_page; + wxBoxSizer* editor_page_sizer; + wxBoxSizer* editor_canvas_sizer; + wxStaticLine* m_staticline1; + wxStaticText* comment_label; + wxTextCtrl* comment_input; + wxPanel* tags_page; + wxTextCtrl* tagTextCtrl; + wxTextCtrl* valueTextCtrl; + wxButton* update_button; + wxListCtrl* tags_list; + wxButton* delete_button; + wxPanel* engine_page; + wxStaticText* engine_list_label; + wxListBox* engine_list; + wxButton* analyze_game_button; + wxButton* live_analysis_button; + + public: + + TabGameRightPanel( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); + + ~TabGameRightPanel(); + +}; + diff --git a/src/ochess.hpp b/src/ochess.hpp index 89b983c..e413071 100644 --- a/src/ochess.hpp +++ b/src/ochess.hpp @@ -10,6 +10,7 @@ #include #include // Check file exists etc #include +#include "gui.h" #define MAINWIN ((MainWindow *)wxGetApp().GetTopWindow()) diff --git a/src/preferences/BoardPrefs.hpp b/src/preferences/BoardPrefs.hpp index eff3b58..e0672b0 100644 --- a/src/preferences/BoardPrefs.hpp +++ b/src/preferences/BoardPrefs.hpp @@ -1,4 +1,3 @@ -#include "BoardPrefsPanelBF.h" #include "game_tab/board/BoardCanvas.hpp" #include "ochess.hpp" #include @@ -8,13 +7,13 @@ #include #include -class BoardPrefsPanel : public BoardPrefsPanelBF { +class BoardPrefsPanel : public PrefsBoard { BoardCanvas *real_board_canvas; wxFileName pieces_path; wxFileName squares_path; public: - BoardPrefsPanel(wxWindow *parent) : BoardPrefsPanelBF(parent) { + BoardPrefsPanel(wxWindow *parent) : PrefsBoard(parent) { wxBoxSizer *sizer = new wxBoxSizer(wxHORIZONTAL); real_board_canvas = new BoardCanvas((wxFrame *)board_canvas, 40, true); sizer->Add(real_board_canvas, 1, wxEXPAND, 5); diff --git a/src/preferences/BoardPrefsPanelBF.cpp b/src/preferences/BoardPrefsPanelBF.cpp deleted file mode 100644 index 06058f9..0000000 --- a/src/preferences/BoardPrefsPanelBF.cpp +++ /dev/null @@ -1,106 +0,0 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487) -// http://www.wxformbuilder.org/ -// -// PLEASE DO *NOT* EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#include "BoardPrefsPanelBF.h" - -/////////////////////////////////////////////////////////////////////////// - -BoardPrefsPanelBF::BoardPrefsPanelBF( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) -{ - wxBoxSizer* main_sizer; - main_sizer = new wxBoxSizer( wxVERTICAL ); - - splitter = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D|wxSP_LIVE_UPDATE ); - splitter->Connect( wxEVT_IDLE, wxIdleEventHandler( BoardPrefsPanelBF::splitterOnIdle ), NULL, this ); - - board_canvas = new wxPanel( splitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - options_panel = new wxPanel( splitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* options_sizer; - options_sizer = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* themes_sizer; - themes_sizer = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* piece_theme_sizer; - piece_theme_sizer = new wxBoxSizer( wxVERTICAL ); - - piece_theme_label = new wxStaticText( options_panel, wxID_ANY, wxT("Piece theme"), wxDefaultPosition, wxDefaultSize, 0 ); - piece_theme_label->Wrap( -1 ); - piece_theme_sizer->Add( piece_theme_label, 0, wxALL, 5 ); - - piece_theme = new wxListBox( options_panel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); - piece_theme_sizer->Add( piece_theme, 1, wxALL|wxEXPAND, 5 ); - - - themes_sizer->Add( piece_theme_sizer, 1, wxEXPAND, 5 ); - - wxBoxSizer* square_theme_sizer; - square_theme_sizer = new wxBoxSizer( wxVERTICAL ); - - square_theme_label = new wxStaticText( options_panel, wxID_ANY, wxT("Square theme"), wxDefaultPosition, wxDefaultSize, 0 ); - square_theme_label->Wrap( -1 ); - square_theme_sizer->Add( square_theme_label, 0, wxALL, 5 ); - - square_theme = new wxListBox( options_panel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); - square_theme_sizer->Add( square_theme, 1, wxALL|wxEXPAND, 5 ); - - - themes_sizer->Add( square_theme_sizer, 1, wxEXPAND, 5 ); - - - options_sizer->Add( themes_sizer, 1, wxEXPAND, 5 ); - - show_side_badge = new wxCheckBox( options_panel, wxID_ANY, wxT("Side to play badge"), wxDefaultPosition, wxDefaultSize, 0 ); - options_sizer->Add( show_side_badge, 0, wxALL, 5 ); - - show_captures = new wxCheckBox( options_panel, wxID_ANY, wxT("Show captured pieces"), wxDefaultPosition, wxDefaultSize, 0 ); - options_sizer->Add( show_captures, 0, wxALL, 5 ); - - black_by_default = new wxCheckBox( options_panel, wxID_ANY, wxT("Black side by default"), wxDefaultPosition, wxDefaultSize, 0 ); - options_sizer->Add( black_by_default, 0, wxALL, 5 ); - - wxBoxSizer* border_radius_sizer; - border_radius_sizer = new wxBoxSizer( wxHORIZONTAL ); - - border_radius_label = new wxStaticText( options_panel, wxID_ANY, wxT("Corner radius:"), wxDefaultPosition, wxDefaultSize, 0 ); - border_radius_label->Wrap( -1 ); - border_radius_sizer->Add( border_radius_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - corner_radius = new wxSpinCtrl( options_panel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 20, 0 ); - border_radius_sizer->Add( corner_radius, 0, wxALL, 5 ); - - - options_sizer->Add( border_radius_sizer, 0, wxEXPAND, 5 ); - - wxBoxSizer* board_size_sizer; - board_size_sizer = new wxBoxSizer( wxHORIZONTAL ); - - board_size_label = new wxStaticText( options_panel, wxID_ANY, wxT("Board squares size:"), wxDefaultPosition, wxDefaultSize, 0 ); - board_size_label->Wrap( -1 ); - board_size_sizer->Add( board_size_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - square_size = new wxSpinCtrl( options_panel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 20, 150, 0 ); - board_size_sizer->Add( square_size, 0, wxALL|wxEXPAND, 5 ); - - - options_sizer->Add( board_size_sizer, 0, wxEXPAND, 5 ); - - - options_panel->SetSizer( options_sizer ); - options_panel->Layout(); - options_sizer->Fit( options_panel ); - splitter->SplitHorizontally( board_canvas, options_panel, 350 ); - main_sizer->Add( splitter, 1, wxEXPAND, 5 ); - - - this->SetSizer( main_sizer ); - this->Layout(); -} - -BoardPrefsPanelBF::~BoardPrefsPanelBF() -{ -} diff --git a/src/preferences/BoardPrefsPanelBF.h b/src/preferences/BoardPrefsPanelBF.h deleted file mode 100644 index 0bcea9e..0000000 --- a/src/preferences/BoardPrefsPanelBF.h +++ /dev/null @@ -1,64 +0,0 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487) -// http://www.wxformbuilder.org/ -// -// PLEASE DO *NOT* EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#pragma once - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/////////////////////////////////////////////////////////////////////////// - - -/////////////////////////////////////////////////////////////////////////////// -/// Class BoardPrefsPanelBF -/////////////////////////////////////////////////////////////////////////////// -class BoardPrefsPanelBF : public wxPanel -{ - private: - - protected: - wxSplitterWindow* splitter; - wxPanel* board_canvas; - wxPanel* options_panel; - wxStaticText* piece_theme_label; - wxListBox* piece_theme; - wxStaticText* square_theme_label; - wxListBox* square_theme; - wxCheckBox* show_side_badge; - wxCheckBox* show_captures; - wxCheckBox* black_by_default; - wxStaticText* border_radius_label; - wxSpinCtrl* corner_radius; - wxStaticText* board_size_label; - wxSpinCtrl* square_size; - - public: - - BoardPrefsPanelBF( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 756,751 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); - - ~BoardPrefsPanelBF(); - - void splitterOnIdle( wxIdleEvent& ) - { - splitter->SetSashPosition( 350 ); - splitter->Disconnect( wxEVT_IDLE, wxIdleEventHandler( BoardPrefsPanelBF::splitterOnIdle ), NULL, this ); - } - -}; - diff --git a/src/preferences/EditorPrefs.hpp b/src/preferences/EditorPrefs.hpp index dab05ca..8974bfe 100644 --- a/src/preferences/EditorPrefs.hpp +++ b/src/preferences/EditorPrefs.hpp @@ -1,4 +1,3 @@ -#include "EditorPrefsPanelBF.h" #include "game_tab/board/BoardCanvas.hpp" #include "ochess.hpp" #include @@ -8,10 +7,10 @@ #include #include -class EditorPrefsPanel : public EditorPrefsPanelBF { +class EditorPrefsPanel : public PrefsEditor { public: - EditorPrefsPanel(wxWindow *parent) : EditorPrefsPanelBF(parent) { + EditorPrefsPanel(wxWindow *parent) : PrefsEditor(parent) { // Bind(wxEVT_SPINCTRL, &BoardPrefsPanel::OnConfChange, this, wxID_ANY); } diff --git a/src/preferences/EditorPrefsPanelBF.cpp b/src/preferences/EditorPrefsPanelBF.cpp deleted file mode 100644 index 9b37d1f..0000000 --- a/src/preferences/EditorPrefsPanelBF.cpp +++ /dev/null @@ -1,69 +0,0 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487) -// http://www.wxformbuilder.org/ -// -// PLEASE DO *NOT* EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#include "EditorPrefsPanelBF.h" - -/////////////////////////////////////////////////////////////////////////// - -EditorPrefsPanelBF::EditorPrefsPanelBF( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) -{ - wxGridSizer* main_sizer; - main_sizer = new wxGridSizer( 10, 2, 0, 0 ); - - color_margin_label = new wxStaticText( this, wxID_ANY, wxT("Margin color"), wxDefaultPosition, wxDefaultSize, 0 ); - color_margin_label->Wrap( -1 ); - main_sizer->Add( color_margin_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - color_margin = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE ); - main_sizer->Add( color_margin, 0, wxALL, 5 ); - - color_scrollbar_label = new wxStaticText( this, wxID_ANY, wxT("Scrollbar color"), wxDefaultPosition, wxDefaultSize, 0 ); - color_scrollbar_label->Wrap( -1 ); - main_sizer->Add( color_scrollbar_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - color_scrollbar = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE ); - main_sizer->Add( color_scrollbar, 0, wxALL, 5 ); - - color_scrollbarbg_label = new wxStaticText( this, wxID_ANY, wxT("Scrollbar background color"), wxDefaultPosition, wxDefaultSize, 0 ); - color_scrollbarbg_label->Wrap( -1 ); - main_sizer->Add( color_scrollbarbg_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - color_scrollbarbg = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE ); - main_sizer->Add( color_scrollbarbg, 0, wxALL, 5 ); - - color_commentbg_label = new wxStaticText( this, wxID_ANY, wxT("Comments background color"), wxDefaultPosition, wxDefaultSize, 0 ); - color_commentbg_label->Wrap( -1 ); - main_sizer->Add( color_commentbg_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - color_commentbg = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE ); - main_sizer->Add( color_commentbg, 0, wxALL, 5 ); - - row_size_label = new wxStaticText( this, wxID_ANY, wxT("Move row size"), wxDefaultPosition, wxDefaultSize, 0 ); - row_size_label->Wrap( -1 ); - main_sizer->Add( row_size_label, 0, wxALL, 5 ); - - row_size = new wxSpinCtrl( this, wxID_ANY, wxT("100"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10, 0 ); - main_sizer->Add( row_size, 0, wxALL, 5 ); - - col_size_label = new wxStaticText( this, wxID_ANY, wxT("Move column size"), wxDefaultPosition, wxDefaultSize, 0 ); - col_size_label->Wrap( -1 ); - main_sizer->Add( col_size_label, 0, wxALL, 5 ); - - col_size = new wxSpinCtrl( this, wxID_ANY, wxT("50"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10, 0 ); - main_sizer->Add( col_size, 0, wxALL, 5 ); - - show_move_icons = new wxCheckBox( this, wxID_ANY, wxT("Show move icons"), wxDefaultPosition, wxDefaultSize, 0 ); - main_sizer->Add( show_move_icons, 0, wxALL, 5 ); - - - this->SetSizer( main_sizer ); - this->Layout(); -} - -EditorPrefsPanelBF::~EditorPrefsPanelBF() -{ -} diff --git a/src/preferences/EditorPrefsPanelBF.h b/src/preferences/EditorPrefsPanelBF.h deleted file mode 100644 index 0f3a011..0000000 --- a/src/preferences/EditorPrefsPanelBF.h +++ /dev/null @@ -1,56 +0,0 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487) -// http://www.wxformbuilder.org/ -// -// PLEASE DO *NOT* EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#pragma once - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/////////////////////////////////////////////////////////////////////////// - - -/////////////////////////////////////////////////////////////////////////////// -/// Class EditorPrefsPanelBF -/////////////////////////////////////////////////////////////////////////////// -class EditorPrefsPanelBF : public wxPanel -{ - private: - - protected: - wxStaticText* color_margin_label; - wxColourPickerCtrl* color_margin; - wxStaticText* color_scrollbar_label; - wxColourPickerCtrl* color_scrollbar; - wxStaticText* color_scrollbarbg_label; - wxColourPickerCtrl* color_scrollbarbg; - wxStaticText* color_commentbg_label; - wxColourPickerCtrl* color_commentbg; - wxStaticText* row_size_label; - wxSpinCtrl* row_size; - wxStaticText* col_size_label; - wxSpinCtrl* col_size; - wxCheckBox* show_move_icons; - - public: - - EditorPrefsPanelBF( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 622,420 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); - - ~EditorPrefsPanelBF(); - -}; - diff --git a/tools/wxFrameBuilder.fbp b/tools/wxFrameBuilder.fbp new file mode 100644 index 0000000..c06d02e --- /dev/null +++ b/tools/wxFrameBuilder.fbp @@ -0,0 +1,5261 @@ + + + + + ; + C++ + 1 + source_name + 0 + 0 + res + UTF-8 + connect + gui + 1000 + none + + + 0 + OChess + + ../src/ + + 1 + 1 + 1 + 1 + UI + 0 + 0 + 0 + + 0 + wxAUI_MGR_DEFAULT + + wxBOTH + + 1 + 1 + impl_virtual + + + + 0 + wxID_ANY + + + MainFrame + + 500,300 + wxDEFAULT_FRAME_STYLE + ; ; forward_declare + OChess + + 0 + + + wxTAB_TRAVERSAL + 1 + + + + 1 + 1 + + + 0 + wxID_ANY + + + menu_bar + protected + + + + ; ; forward_declare + + + + + + Files + menu_file + protected + + + Game + menu_game + protected + + + Database + menu_db + protected + + + Engine + menu_engine + protected + + + + + + 1 + 1 + + 1 + + 0 + wxID_ANY + + + status_bar + protected + + + wxSTB_SIZEGRIP + ; ; forward_declare + + + + + + + + main_sizer + wxVERTICAL + none + + 5 + wxEXPAND | wxALL + 1 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + notebook + 1 + + + protected + 1 + + Resizable + 1 + + wxAUI_NB_DEFAULT_STYLE + ; ; forward_declare + -1 + 0 + + + + + + + + + + + 0 + wxAUI_MGR_DEFAULT + + wxBOTH + + 1 + 1 + impl_virtual + + + + 0 + wxID_ANY + + + DialogLiveEngine + + 464,468 + wxDEFAULT_DIALOG_STYLE + ; ; forward_declare + + + 0 + + + + + + main_sizer + wxVERTICAL + none + + 5 + wxEXPAND + 0 + + + current_engine_sizer + wxHORIZONTAL + none + + 5 + wxALIGN_CENTER_VERTICAL|wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Current engine: + 0 + + 0 + + + 0 + + 1 + current_engine_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALIGN_CENTER_VERTICAL|wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + ??? + 0 + + 0 + + + 0 + + 1 + current_engine + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxEXPAND + 1 + + 0 + protected + 0 + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + 0 + + + + + 1 + 0 + 1 + + 1 + + 0 + 0 + + Dock + 0 + Left + 1 + + 1 + + + 0 + 0 + LIVE_ENGINE_PAUSE_BUTTON + Stop + + 0 + + 0 + + + 0 + + 1 + engine_stop_button + 1 + + + protected + 1 + + + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + 5 + + 0 + + 6 + 0 + + infos_sizer + none + 0 + 0 + + 5 + wxALIGN_CENTER_VERTICAL|wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + MultiPV: + 0 + + 0 + + + 0 + + 1 + multipv_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALIGN_CENTER_VERTICAL|wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + ? + 0 + + 0 + + + 0 + + 1 + multipv + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALIGN_CENTER_VERTICAL|wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Threads: + 0 + + 0 + + + 0 + + 1 + threads_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALIGN_CENTER_VERTICAL|wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + ? + 0 + + 0 + + + 0 + + 1 + threads + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALIGN_CENTER_VERTICAL|wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Depth: + 0 + + 0 + + + 0 + + 1 + m_staticText13 + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 0 + + 1 + + 0 + 0 + wxID_ANY + 0 + 10000 + + 0 + + 1 + + 0 + + 1 + depth + 1 + + + protected + 1 + + Resizable + 1 + + wxSP_ARROW_KEYS + ; ; forward_declare + 0 + + 30 + + + + + + + + + 5 + wxALL|wxEXPAND + 1 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + lines_list + 1 + + + protected + 1 + + Resizable + 1 + + wxLC_REPORT + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + 0 + wxAUI_MGR_DEFAULT + + wxBOTH + + 1 + 1 + impl_virtual + + + + 0 + wxID_ANY + + + DialogAppendGame + + 388,263 + wxDEFAULT_DIALOG_STYLE + ; ; forward_declare + + + 0 + + + + + + main_sizer + wxVERTICAL + none + + 5 + wxALL|wxEXPAND + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Please select games to import: + 0 + + 0 + + + 0 + + 1 + main_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL|wxEXPAND + 1 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + game_list + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxEXPAND + 0 + + + bSizer5 + wxHORIZONTAL + none + + 5 + wxEXPAND + 1 + + 0 + protected + 0 + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + 0 + + + + + 1 + 0 + 1 + + 1 + + 0 + 0 + + Dock + 0 + Left + 1 + + 1 + + + 0 + 0 + ID_DIALOG_CANCEL_BUTTON + Cancel + + 0 + + 0 + + + 0 + + 1 + cancel_button + 1 + + + protected + 1 + + + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + 0 + + + + + 1 + 0 + 1 + + 1 + + 0 + 0 + + Dock + 0 + Left + 1 + + 1 + + + 0 + 0 + ID_DIALOG_IMPORT_BUTTON + Import + + 0 + + 0 + + + 0 + + 1 + import_button + 1 + + + protected + 1 + + + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + + + 0 + wxAUI_MGR_DEFAULT + + + 1 + 1 + impl_virtual + + + 0 + wxID_ANY + + + TabEngine + + 500,300 + ; ; forward_declare + + 0 + + + wxTAB_TRAVERSAL + + + main_sizer + wxVERTICAL + none + + 5 + wxEXPAND + 0 + + + engine_name_sizer + wxHORIZONTAL + none + + 5 + wxALIGN_CENTER_VERTICAL|wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Name: + 0 + + 0 + + + 0 + + 1 + engine_name_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL + 1 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + + 0 + + 1 + engine_name + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + + 5 + wxEXPAND + 0 + + + engine_location_sizer + wxHORIZONTAL + none + + 5 + wxALIGN_CENTER_VERTICAL|wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Location: + 0 + + 0 + + + 0 + + 1 + engine_location_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL + 1 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + + 0 + + 1 + engine_location + 1 + + + protected + 1 + + Resizable + 1 + + wxTE_READONLY + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + + 5 + wxEXPAND | wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + separator_1 + 1 + + + protected + 1 + + Resizable + 1 + + wxLI_HORIZONTAL + ; ; forward_declare + 0 + + + + + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Parameters: + 0 + + 0 + + + 0 + + 1 + params_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL|wxEXPAND + 1 + + 1 + 1 + 1 + 1 + + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + + 1 + + 0 + 0 + wxID_ANY + 1 + + 0 + + + 0 + + 1 + engine_parameters + 1 + + + protected + 1 + + Resizable + 1 + + wxPG_DEFAULT_STYLE|wxPG_SPLITTER_AUTO_CENTER + ; ; forward_declare + 0 + + + + + + + + 5 + wxALL|wxEXPAND + 0 + + 1 + 1 + 1 + 1 + + + + + 0 + + + + + 1 + 0 + 1 + + 1 + + 0 + 0 + + Dock + 0 + Left + 1 + + 1 + + + 0 + 0 + ENGINE_SAVE_CONF_BUTTON + Save + + 0 + + 0 + + + 0 + + 1 + save_button + 1 + + + protected + 1 + + + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxALL|wxEXPAND + 0 + + 1 + 1 + 1 + 1 + + + + + 0 + + + + + 1 + 0 + 1 + + 1 + + 0 + 0 + + Dock + 0 + Left + 1 + + 1 + + + 0 + 0 + ENGINE_DELETE_CONF_BUTTON + Delete engine + + 0 + + 0 + + + 0 + + 1 + delete_button + 1 + + + protected + 1 + + + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + 0 + wxAUI_MGR_DEFAULT + + + 1 + 1 + impl_virtual + + + 0 + wxID_ANY + + + PrefsEditor + + 622,420 + ; ; forward_declare + + 0 + + + wxTAB_TRAVERSAL + + 2 + 0 + + main_sizer + none + 10 + 0 + + 5 + wxALIGN_CENTER_VERTICAL|wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Margin color + 0 + + 0 + + + 0 + + 1 + color_margin_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + color_margin + 1 + + + protected + 1 + + Resizable + 1 + + wxCLRP_DEFAULT_STYLE + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxALIGN_CENTER_VERTICAL|wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Scrollbar color + 0 + + 0 + + + 0 + + 1 + color_scrollbar_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + color_scrollbar + 1 + + + protected + 1 + + Resizable + 1 + + wxCLRP_DEFAULT_STYLE + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxALIGN_CENTER_VERTICAL|wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Scrollbar background color + 0 + + 0 + + + 0 + + 1 + color_scrollbarbg_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + color_scrollbarbg + 1 + + + protected + 1 + + Resizable + 1 + + wxCLRP_DEFAULT_STYLE + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxALIGN_CENTER_VERTICAL|wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Comments background color + 0 + + 0 + + + 0 + + 1 + color_commentbg_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + color_commentbg + 1 + + + protected + 1 + + Resizable + 1 + + wxCLRP_DEFAULT_STYLE + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Move row size + 0 + + 0 + + + 0 + + 1 + row_size_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + 0 + 70 + + 0 + + 30 + + 0 + + 1 + row_size + 1 + + + protected + 1 + + Resizable + 1 + + wxSP_ARROW_KEYS + ; ; forward_declare + 0 + + 50 + + + + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Move column size + 0 + + 0 + + + 0 + + 1 + col_size_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + 0 + 120 + + 0 + + 80 + + 0 + + 1 + col_size + 1 + + + protected + 1 + + Resizable + 1 + + wxSP_ARROW_KEYS + ; ; forward_declare + 0 + + 100 + + + + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Show move icons + + 0 + + + 0 + + 1 + show_move_icons + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + 0 + wxAUI_MGR_DEFAULT + + + 1 + 1 + impl_virtual + + + 0 + wxID_ANY + + + PrefsBoard + + 756,751 + ; ; forward_declare + + 0 + + + wxTAB_TRAVERSAL + + + main_sizer + wxVERTICAL + none + + 5 + wxEXPAND + 1 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + 0 + + 0 + + 1 + splitter + 1 + + + protected + 1 + + Resizable + 0.0 + 350 + -1 + 1 + + wxSPLIT_HORIZONTAL + wxSP_3D|wxSP_LIVE_UPDATE + ; ; forward_declare + 0 + + + + + + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + board_canvas + 1 + + + protected + 1 + + Resizable + 1 + + ; ; forward_declare + 0 + + + + wxTAB_TRAVERSAL + + + + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + options_panel + 1 + + + protected + 1 + + Resizable + 1 + + ; ; forward_declare + 0 + + + + wxTAB_TRAVERSAL + + + options_sizer + wxVERTICAL + none + + 5 + wxEXPAND + 1 + + + themes_sizer + wxHORIZONTAL + none + + 5 + wxEXPAND + 1 + + + piece_theme_sizer + wxVERTICAL + none + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Piece theme + 0 + + 0 + + + 0 + + 1 + piece_theme_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL|wxEXPAND + 1 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + piece_theme + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + 5 + wxEXPAND + 1 + + + square_theme_sizer + wxVERTICAL + none + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Square theme + 0 + + 0 + + + 0 + + 1 + square_theme_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL|wxEXPAND + 1 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + square_theme + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Side to play badge + + 0 + + + 0 + + 1 + show_side_badge + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Show captured pieces + + 0 + + + 0 + + 1 + show_captures + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Black side by default + + 0 + + + 0 + + 1 + black_by_default + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxEXPAND + 0 + + + border_radius_sizer + wxHORIZONTAL + none + + 5 + wxALIGN_CENTER_VERTICAL|wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Corner radius: + 0 + + 0 + + + 0 + + 1 + border_radius_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + 0 + 20 + + 0 + + 0 + + 0 + + 1 + corner_radius + 1 + + + protected + 1 + + Resizable + 1 + + wxSP_ARROW_KEYS + ; ; forward_declare + 0 + + + + + + + + + + + 5 + wxEXPAND + 0 + + + board_size_sizer + wxHORIZONTAL + none + + 5 + wxALIGN_CENTER_VERTICAL|wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Board squares size: + 0 + + 0 + + + 0 + + 1 + board_size_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL|wxEXPAND + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + 0 + 150 + + 0 + + 20 + + 0 + + 1 + square_size + 1 + + + protected + 1 + + Resizable + 1 + + wxSP_ARROW_KEYS + ; ; forward_declare + 0 + + + + + + + + + + + + + + + + + + 0 + wxAUI_MGR_DEFAULT + + + 1 + 1 + impl_virtual + + + 0 + wxID_ANY + + + TabBase + + 884,624 + ; ; forward_declare + + 0 + + + wxTAB_TRAVERSAL + + + main_sizer + wxVERTICAL + none + + 5 + wxEXPAND + 0 + + + top_sizer + wxHORIZONTAL + none + + 5 + wxALIGN_CENTER_VERTICAL|wxALL + 1 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + unknown + 0 + + 0 + + + 0 + + 1 + current_base + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + 0 + + + + + 1 + 0 + 1 + + 1 + + 0 + 0 + + Dock + 0 + Left + 1 + + 1 + + + 0 + 0 + ID_SAVE_BUTTON + Save + + 0 + + 0 + + + 0 + + 1 + save_button + 1 + + + protected + 1 + + + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + 0 + + + + + 1 + 0 + 1 + + 1 + + 0 + 0 + + Dock + 0 + Left + 1 + + 1 + + + 0 + 0 + ID_EXPORT_BUTTON + Export + + 0 + + 0 + + + 0 + + 1 + export_button + 1 + + + protected + 1 + + + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + 5 + wxEXPAND | wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + separator_1 + 1 + + + protected + 1 + + Resizable + 1 + + wxLI_HORIZONTAL + ; ; forward_declare + 0 + + + + + + + + 5 + wxEXPAND + 0 + + + bottom_sizer + wxHORIZONTAL + none + + 5 + wxEXPAND + 1 + + 0 + protected + 0 + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + 0 + + + + + 1 + 0 + 1 + + 1 + + 0 + 0 + + Dock + 0 + Left + 1 + + 1 + + + 0 + 0 + ID_IMPORT_BUTTON + Import games + + 0 + + 0 + + + 0 + + 1 + import_button + 1 + + + protected + 1 + + + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + 0 + + + + + 1 + 0 + 1 + + 1 + + 0 + 0 + + Dock + 0 + Left + 1 + + 1 + + + 0 + 0 + ID_DELETE_BUTTON + Delete selection + + 0 + + 0 + + + 0 + + 1 + delete_button + 1 + + + protected + 1 + + + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + 5 + wxALL|wxEXPAND + 1 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + game_list + 1 + + + protected + 1 + + Resizable + 1 + -1,-1 + wxLC_REPORT + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + 0 + wxAUI_MGR_DEFAULT + + + 1 + 1 + impl_virtual + + + 0 + wxID_ANY + + + TabGameRightPanel + + 500,300 + ; ; forward_declare + + 0 + + + wxTAB_TRAVERSAL + + + main_sizer + wxVERTICAL + none + + 5 + wxEXPAND | wxALL + 1 + + 1 + 1 + 1 + 1 + + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + notebook + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + + + Editor + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + editor_page + 1 + + + protected + 1 + + Resizable + 1 + + ; ; forward_declare + 0 + + + + wxTAB_TRAVERSAL + + + editor_page_sizer + wxVERTICAL + protected + + 5 + wxEXPAND + 1 + + + editor_canvas_sizer + wxVERTICAL + protected + + + + 5 + wxEXPAND | wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + m_staticline1 + 1 + + + protected + 1 + + Resizable + 1 + + wxLI_HORIZONTAL + ; ; forward_declare + 0 + + + + + + + + 5 + wxALL|wxEXPAND + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Comment: + 0 + + 0 + + + 0 + + 1 + comment_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL|wxEXPAND + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + COMMENT_INPUT_BOX + + 0 + + + + 0 + + 1 + comment_input + 1 + + + protected + 1 + + Resizable + 1 + -1,200 + wxTE_MULTILINE + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + + + + Tags + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + tags_page + 1 + + + protected + 1 + + Resizable + 1 + + ; ; forward_declare + 0 + + + + wxTAB_TRAVERSAL + + + tags_page_sizer + wxVERTICAL + none + + 5 + wxEXPAND + 0 + + + tags_list_control_sizer + wxVERTICAL + none + + 5 + wxALL|wxEXPAND + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + + 0 + + 1 + tagTextCtrl + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + 5 + wxALL|wxEXPAND + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + + 0 + + 1 + valueTextCtrl + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + 5 + wxEXPAND + 1 + + + bSizer7 + wxHORIZONTAL + none + + 5 + wxALL + 1 + + 1 + 1 + 1 + 1 + + + + + 0 + + + + + 1 + 0 + 1 + + 1 + + 0 + 0 + + Dock + 0 + Left + 1 + + 1 + + + 0 + 0 + UPDATE_BTN + Update + + 0 + + 0 + + + 0 + + 1 + update_button + 1 + + + protected + 1 + + + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + + + 5 + wxALL|wxEXPAND + 1 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + tags_list + 1 + + + protected + 1 + + Resizable + 1 + + wxLC_REPORT + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxALL|wxEXPAND + 0 + + 1 + 1 + 1 + 1 + + + + + 0 + + + + + 1 + 0 + 1 + + 1 + + 0 + 0 + + Dock + 0 + Left + 1 + + 1 + + + 0 + 0 + DELETE_BTN + Delete selection + + 0 + + 0 + + + 0 + + 1 + delete_button + 1 + + + protected + 1 + + + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + + + Engine + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + engine_page + 1 + + + protected + 1 + + Resizable + 1 + + ; ; forward_declare + 0 + + + + wxTAB_TRAVERSAL + + + engine_page_sizer + wxVERTICAL + none + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Choose the engine to use: + 0 + + 0 + + + 0 + + 1 + engine_list_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL|wxEXPAND + 1 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + engine_list + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxALL|wxEXPAND + 0 + + 1 + 1 + 1 + 1 + + + + + 0 + + + + + 1 + 0 + 1 + + 1 + + 0 + 0 + + Dock + 0 + Left + 1 + + 1 + + + 0 + 0 + wxID_ANY + Analyze game + + 0 + + 0 + + + 0 + + 1 + analyze_game_button + 1 + + + protected + 1 + + + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxALL|wxEXPAND + 0 + + 1 + 1 + 1 + 1 + + + + + 0 + + + + + 1 + 0 + 1 + + 1 + + 0 + 0 + + Dock + 0 + Left + 1 + + 1 + + + 0 + 0 + LIVE_ANALYSIS_GAME_BUTTON + Live analysis + + 0 + + 0 + + + 0 + + 1 + live_analysis_button + 1 + + + protected + 1 + + + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + + + + + + diff --git a/tools/wxframebuilder/AppendGameDialog.fbp b/tools/wxframebuilder/AppendGameDialog.fbp deleted file mode 100644 index 0b65ea8..0000000 --- a/tools/wxframebuilder/AppendGameDialog.fbp +++ /dev/null @@ -1,358 +0,0 @@ - - - - - ; - C++ - 1 - source_name - 0 - 0 - res - UTF-8 - connect - AppendGameDialogBF - 1000 - none - - - 0 - AppendGameDialogBF - - ../../src/base_tab - - 1 - 1 - 1 - 1 - UI - 0 - 0 - 0 - - 0 - wxAUI_MGR_DEFAULT - - wxBOTH - - 1 - 1 - impl_virtual - - - - 0 - wxID_ANY - - - AppendGameDialogBF - - 388,263 - wxDEFAULT_DIALOG_STYLE - ; ; forward_declare - - - 0 - - - - - - main_sizer - wxVERTICAL - none - - 5 - wxALL|wxEXPAND - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Please select games to import: - 0 - - 0 - - - 0 - - 1 - main_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL|wxEXPAND - 1 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - game_list - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - 5 - wxEXPAND - 0 - - - bSizer5 - wxHORIZONTAL - none - - 5 - wxEXPAND - 1 - - 0 - protected - 0 - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - 0 - - - - - 1 - 0 - 1 - - 1 - - 0 - 0 - - Dock - 0 - Left - 1 - - 1 - - - 0 - 0 - ID_DIALOG_CANCEL_BUTTON - Cancel - - 0 - - 0 - - - 0 - - 1 - cancel_button - 1 - - - protected - 1 - - - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - 0 - - - - - 1 - 0 - 1 - - 1 - - 0 - 0 - - Dock - 0 - Left - 1 - - 1 - - - 0 - 0 - ID_DIALOG_IMPORT_BUTTON - Import - - 0 - - 0 - - - 0 - - 1 - import_button - 1 - - - protected - 1 - - - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - - - - diff --git a/tools/wxframebuilder/BasePanel.fbp b/tools/wxframebuilder/BasePanel.fbp deleted file mode 100644 index ae395ef..0000000 --- a/tools/wxframebuilder/BasePanel.fbp +++ /dev/null @@ -1,568 +0,0 @@ - - - - - ; - C++ - 1 - source_name - 0 - 0 - res - UTF-8 - connect - BasePanelBF - 1000 - none - - - 0 - BasePanelBF - - ../../src/base_tab/ - - 1 - 1 - 1 - 1 - UI - 0 - 0 - 0 - - 0 - wxAUI_MGR_DEFAULT - - - 1 - 1 - impl_virtual - - - 0 - wxID_ANY - - - BasePanelBF - - 884,624 - ; ; forward_declare - - 0 - - - wxTAB_TRAVERSAL - - - main_sizer - wxVERTICAL - none - - 5 - wxEXPAND - 0 - - - top_sizer - wxHORIZONTAL - none - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 1 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - unknown - 0 - - 0 - - - 0 - - 1 - current_base - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - 0 - - - - - 1 - 0 - 1 - - 1 - - 0 - 0 - - Dock - 0 - Left - 1 - - 1 - - - 0 - 0 - ID_SAVE_BUTTON - Save - - 0 - - 0 - - - 0 - - 1 - save_button - 1 - - - protected - 1 - - - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - 0 - - - - - 1 - 0 - 1 - - 1 - - 0 - 0 - - Dock - 0 - Left - 1 - - 1 - - - 0 - 0 - ID_EXPORT_BUTTON - Export - - 0 - - 0 - - - 0 - - 1 - export_button - 1 - - - protected - 1 - - - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - - 5 - wxEXPAND | wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - separator_1 - 1 - - - protected - 1 - - Resizable - 1 - - wxLI_HORIZONTAL - ; ; forward_declare - 0 - - - - - - - - 5 - wxEXPAND - 0 - - - bottom_sizer - wxHORIZONTAL - none - - 5 - wxEXPAND - 1 - - 0 - protected - 0 - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - 0 - - - - - 1 - 0 - 1 - - 1 - - 0 - 0 - - Dock - 0 - Left - 1 - - 1 - - - 0 - 0 - ID_IMPORT_BUTTON - Import games - - 0 - - 0 - - - 0 - - 1 - import_button - 1 - - - protected - 1 - - - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - 0 - - - - - 1 - 0 - 1 - - 1 - - 0 - 0 - - Dock - 0 - Left - 1 - - 1 - - - 0 - 0 - ID_DELETE_BUTTON - Delete selection - - 0 - - 0 - - - 0 - - 1 - delete_button - 1 - - - protected - 1 - - - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - - 5 - wxALL|wxEXPAND - 1 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - game_list - 1 - - - protected - 1 - - Resizable - 1 - -1,-1 - wxLC_REPORT - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - - diff --git a/tools/wxframebuilder/BoardPrefs.fbp b/tools/wxframebuilder/BoardPrefs.fbp deleted file mode 100644 index 0985384..0000000 --- a/tools/wxframebuilder/BoardPrefs.fbp +++ /dev/null @@ -1,981 +0,0 @@ - - - - - ; - C++ - 1 - source_name - 0 - 0 - res - UTF-8 - connect - BoardPrefsPanelBF - 1000 - none - - - 0 - BoardPrefsPanelBF - - ../../src/preferences - - 1 - 1 - 1 - 1 - UI - 0 - 0 - 0 - - 0 - wxAUI_MGR_DEFAULT - - - 1 - 1 - impl_virtual - - - 0 - wxID_ANY - - - BoardPrefsPanelBF - - 756,751 - ; ; forward_declare - - 0 - - - wxTAB_TRAVERSAL - - - main_sizer - wxVERTICAL - none - - 5 - wxEXPAND - 1 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - 0 - - 0 - - 1 - splitter - 1 - - - protected - 1 - - Resizable - 0.0 - 350 - -1 - 1 - - wxSPLIT_HORIZONTAL - wxSP_3D|wxSP_LIVE_UPDATE - ; ; forward_declare - 0 - - - - - - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - board_canvas - 1 - - - protected - 1 - - Resizable - 1 - - ; ; forward_declare - 0 - - - - wxTAB_TRAVERSAL - - - - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - options_panel - 1 - - - protected - 1 - - Resizable - 1 - - ; ; forward_declare - 0 - - - - wxTAB_TRAVERSAL - - - options_sizer - wxVERTICAL - none - - 5 - wxEXPAND - 1 - - - themes_sizer - wxHORIZONTAL - none - - 5 - wxEXPAND - 1 - - - piece_theme_sizer - wxVERTICAL - none - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Piece theme - 0 - - 0 - - - 0 - - 1 - piece_theme_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL|wxEXPAND - 1 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - piece_theme - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - - 5 - wxEXPAND - 1 - - - square_theme_sizer - wxVERTICAL - none - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Square theme - 0 - - 0 - - - 0 - - 1 - square_theme_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL|wxEXPAND - 1 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - square_theme - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Side to play badge - - 0 - - - 0 - - 1 - show_side_badge - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Show captured pieces - - 0 - - - 0 - - 1 - show_captures - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Black side by default - - 0 - - - 0 - - 1 - black_by_default - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - 5 - wxEXPAND - 0 - - - border_radius_sizer - wxHORIZONTAL - none - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Corner radius: - 0 - - 0 - - - 0 - - 1 - border_radius_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - 0 - 20 - - 0 - - 0 - - 0 - - 1 - corner_radius - 1 - - - protected - 1 - - Resizable - 1 - - wxSP_ARROW_KEYS - ; ; forward_declare - 0 - - - - - - - - - - - 5 - wxEXPAND - 0 - - - board_size_sizer - wxHORIZONTAL - none - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Board squares size: - 0 - - 0 - - - 0 - - 1 - board_size_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL|wxEXPAND - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - 0 - 150 - - 0 - - 20 - - 0 - - 1 - square_size - 1 - - - protected - 1 - - Resizable - 1 - - wxSP_ARROW_KEYS - ; ; forward_declare - 0 - - - - - - - - - - - - - - - - - - diff --git a/tools/wxframebuilder/EditorPanel.fbp b/tools/wxframebuilder/EditorPanel.fbp deleted file mode 100644 index 3676b36..0000000 --- a/tools/wxframebuilder/EditorPanel.fbp +++ /dev/null @@ -1,1133 +0,0 @@ - - - - - ; - C++ - 1 - source_name - 0 - 0 - res - UTF-8 - connect - EditorPanelBF - 1000 - none - - - 0 - EditorPanelBF - - ../../src/game_tab/editor/ - - 1 - 1 - 1 - 1 - UI - 0 - 0 - 0 - - 0 - wxAUI_MGR_DEFAULT - - - 1 - 1 - impl_virtual - - - 0 - wxID_ANY - - - EditorPanelBF - - 525,485 - ; ; forward_declare - - 0 - - - wxTAB_TRAVERSAL - - - main_sizer - wxVERTICAL - none - - 5 - wxEXPAND | wxALL - 1 - - 1 - 1 - 1 - 1 - - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - notebook - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - - - Editor - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - editor_page - 1 - - - protected - 1 - - Resizable - 1 - - ; ; forward_declare - 0 - - - - wxTAB_TRAVERSAL - - - editor_page_sizer - wxVERTICAL - protected - - 5 - wxEXPAND - 1 - - - editor_canvas_sizer - wxVERTICAL - protected - - - - 5 - wxEXPAND | wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - m_staticline1 - 1 - - - protected - 1 - - Resizable - 1 - - wxLI_HORIZONTAL - ; ; forward_declare - 0 - - - - - - - - 5 - wxALL|wxEXPAND - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Comment: - 0 - - 0 - - - 0 - - 1 - comment_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL|wxEXPAND - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - COMMENT_INPUT_BOX - - 0 - - - - 0 - - 1 - comment_input - 1 - - - protected - 1 - - Resizable - 1 - -1,200 - wxTE_MULTILINE - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - - - - - Tags - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - tags_page - 1 - - - protected - 1 - - Resizable - 1 - - ; ; forward_declare - 0 - - - - wxTAB_TRAVERSAL - - - tags_page_sizer - wxVERTICAL - none - - 5 - wxEXPAND - 0 - - - tags_list_control_sizer - wxVERTICAL - none - - 5 - wxALL|wxEXPAND - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - - 0 - - 1 - tagTextCtrl - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - 5 - wxALL|wxEXPAND - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - - 0 - - 1 - valueTextCtrl - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - 5 - wxEXPAND - 1 - - - bSizer7 - wxHORIZONTAL - none - - 5 - wxALL - 1 - - 1 - 1 - 1 - 1 - - - - - 0 - - - - - 1 - 0 - 1 - - 1 - - 0 - 0 - - Dock - 0 - Left - 1 - - 1 - - - 0 - 0 - UPDATE_BTN - Update - - 0 - - 0 - - - 0 - - 1 - update_button - 1 - - - protected - 1 - - - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - - - - 5 - wxALL|wxEXPAND - 1 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - tags_list - 1 - - - protected - 1 - - Resizable - 1 - - wxLC_REPORT - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - 5 - wxALL|wxEXPAND - 0 - - 1 - 1 - 1 - 1 - - - - - 0 - - - - - 1 - 0 - 1 - - 1 - - 0 - 0 - - Dock - 0 - Left - 1 - - 1 - - - 0 - 0 - DELETE_BTN - Delete selection - - 0 - - 0 - - - 0 - - 1 - delete_button - 1 - - - protected - 1 - - - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - - - - Engine - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - engine_page - 1 - - - protected - 1 - - Resizable - 1 - - ; ; forward_declare - 0 - - - - wxTAB_TRAVERSAL - - - engine_page_sizer - wxVERTICAL - none - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Choose the engine to use: - 0 - - 0 - - - 0 - - 1 - engine_list_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL|wxEXPAND - 1 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - engine_list - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - 5 - wxALL|wxEXPAND - 0 - - 1 - 1 - 1 - 1 - - - - - 0 - - - - - 1 - 0 - 1 - - 1 - - 0 - 0 - - Dock - 0 - Left - 1 - - 1 - - - 0 - 0 - wxID_ANY - Analyze game - - 0 - - 0 - - - 0 - - 1 - analyze_game_button - 1 - - - protected - 1 - - - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - 5 - wxALL|wxEXPAND - 0 - - 1 - 1 - 1 - 1 - - - - - 0 - - - - - 1 - 0 - 1 - - 1 - - 0 - 0 - - Dock - 0 - Left - 1 - - 1 - - - 0 - 0 - LIVE_ANALYSIS_GAME_BUTTON - Live analysis - - 0 - - 0 - - - 0 - - 1 - live_analysis_button - 1 - - - protected - 1 - - - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - - - - - - - diff --git a/tools/wxframebuilder/EditorPrefs.fbp b/tools/wxframebuilder/EditorPrefs.fbp deleted file mode 100644 index e31aebb..0000000 --- a/tools/wxframebuilder/EditorPrefs.fbp +++ /dev/null @@ -1,872 +0,0 @@ - - - - - ; - C++ - 1 - source_name - 0 - 0 - res - UTF-8 - connect - EditorPrefsPanelBF - 1000 - none - - - 0 - EditorPrefsPanelBF - - ../../src/preferences/ - - 1 - 1 - 1 - 1 - UI - 0 - 0 - 0 - - 0 - wxAUI_MGR_DEFAULT - - - 1 - 1 - impl_virtual - - - 0 - wxID_ANY - - - EditorPrefsPanelBF - - 622,420 - ; ; forward_declare - - 0 - - - wxTAB_TRAVERSAL - - 2 - 0 - - main_sizer - none - 10 - 0 - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Margin color - 0 - - 0 - - - 0 - - 1 - color_margin_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - color_margin - 1 - - - protected - 1 - - Resizable - 1 - - wxCLRP_DEFAULT_STYLE - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Scrollbar color - 0 - - 0 - - - 0 - - 1 - color_scrollbar_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - color_scrollbar - 1 - - - protected - 1 - - Resizable - 1 - - wxCLRP_DEFAULT_STYLE - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Scrollbar background color - 0 - - 0 - - - 0 - - 1 - color_scrollbarbg_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - color_scrollbarbg - 1 - - - protected - 1 - - Resizable - 1 - - wxCLRP_DEFAULT_STYLE - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Comments background color - 0 - - 0 - - - 0 - - 1 - color_commentbg_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - color_commentbg - 1 - - - protected - 1 - - Resizable - 1 - - wxCLRP_DEFAULT_STYLE - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Move row size - 0 - - 0 - - - 0 - - 1 - row_size_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - 0 - 70 - - 0 - - 30 - - 0 - - 1 - row_size - 1 - - - protected - 1 - - Resizable - 1 - - wxSP_ARROW_KEYS - ; ; forward_declare - 0 - - 50 - - - - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Move column size - 0 - - 0 - - - 0 - - 1 - col_size_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - 0 - 120 - - 0 - - 80 - - 0 - - 1 - col_size - 1 - - - protected - 1 - - Resizable - 1 - - wxSP_ARROW_KEYS - ; ; forward_declare - 0 - - 100 - - - - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Show move icons - - 0 - - - 0 - - 1 - show_move_icons - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - - diff --git a/tools/wxframebuilder/EngineTab.fbp b/tools/wxframebuilder/EngineTab.fbp deleted file mode 100644 index b37ff08..0000000 --- a/tools/wxframebuilder/EngineTab.fbp +++ /dev/null @@ -1,661 +0,0 @@ - - - - - ; - C++ - 1 - source_name - 0 - 0 - res - UTF-8 - connect - EngineTabBF - 1000 - none - - - 0 - EngineTabBF - - ../../src/engine_tab/ - - 1 - 1 - 1 - 1 - UI - 0 - 0 - 0 - - 0 - wxAUI_MGR_DEFAULT - - - 1 - 1 - impl_virtual - - - 0 - wxID_ANY - - - EngineTabBF - - 500,300 - ; ; forward_declare - - 0 - - - wxTAB_TRAVERSAL - - - main_sizer - wxVERTICAL - none - - 5 - wxEXPAND - 0 - - - engine_name_sizer - wxHORIZONTAL - none - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Name: - 0 - - 0 - - - 0 - - 1 - engine_name_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL - 1 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - - 0 - - 1 - engine_name - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - - - 5 - wxEXPAND - 0 - - - engine_location_sizer - wxHORIZONTAL - none - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Location: - 0 - - 0 - - - 0 - - 1 - engine_location_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL - 1 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - - 0 - - 1 - engine_location - 1 - - - protected - 1 - - Resizable - 1 - - wxTE_READONLY - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - - - 5 - wxEXPAND | wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - separator_1 - 1 - - - protected - 1 - - Resizable - 1 - - wxLI_HORIZONTAL - ; ; forward_declare - 0 - - - - - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Parameters: - 0 - - 0 - - - 0 - - 1 - params_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL|wxEXPAND - 1 - - 1 - 1 - 1 - 1 - - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - - 1 - - 0 - 0 - wxID_ANY - 1 - - 0 - - - 0 - - 1 - engine_parameters - 1 - - - protected - 1 - - Resizable - 1 - - wxPG_DEFAULT_STYLE|wxPG_SPLITTER_AUTO_CENTER - ; ; forward_declare - 0 - - - - - - - - 5 - wxALL|wxEXPAND - 0 - - 1 - 1 - 1 - 1 - - - - - 0 - - - - - 1 - 0 - 1 - - 1 - - 0 - 0 - - Dock - 0 - Left - 1 - - 1 - - - 0 - 0 - ENGINE_SAVE_CONF_BUTTON - Save - - 0 - - 0 - - - 0 - - 1 - save_button - 1 - - - protected - 1 - - - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - 5 - wxALL|wxEXPAND - 0 - - 1 - 1 - 1 - 1 - - - - - 0 - - - - - 1 - 0 - 1 - - 1 - - 0 - 0 - - Dock - 0 - Left - 1 - - 1 - - - 0 - 0 - ENGINE_DELETE_CONF_BUTTON - Delete engine - - 0 - - 0 - - - 0 - - 1 - delete_button - 1 - - - protected - 1 - - - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - - diff --git a/tools/wxframebuilder/LiveEngineDialog.fbp b/tools/wxframebuilder/LiveEngineDialog.fbp deleted file mode 100644 index c720f11..0000000 --- a/tools/wxframebuilder/LiveEngineDialog.fbp +++ /dev/null @@ -1,726 +0,0 @@ - - - - - ; - C++ - 1 - source_name - 0 - 0 - res - UTF-8 - connect - LiveEngineDialogFB - 1000 - none - - - 0 - LiveEngineDialogFB - - ../../src/game_tab/editor - - 1 - 1 - 1 - 1 - UI - 0 - 0 - 0 - - 0 - wxAUI_MGR_DEFAULT - - wxBOTH - - 1 - 1 - impl_virtual - - - - 0 - wxID_ANY - - - LiveEngineDialogFB - - 464,468 - wxDEFAULT_DIALOG_STYLE - ; ; forward_declare - - - 0 - - - - - - main_sizer - wxVERTICAL - none - - 5 - wxEXPAND - 0 - - - current_engine_sizer - wxHORIZONTAL - none - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Current engine: - 0 - - 0 - - - 0 - - 1 - current_engine_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - ??? - 0 - - 0 - - - 0 - - 1 - current_engine - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxEXPAND - 1 - - 0 - protected - 0 - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - 0 - - - - - 1 - 0 - 1 - - 1 - - 0 - 0 - - Dock - 0 - Left - 1 - - 1 - - - 0 - 0 - LIVE_ENGINE_PAUSE_BUTTON - Stop - - 0 - - 0 - - - 0 - - 1 - engine_stop_button - 1 - - - protected - 1 - - - - Resizable - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - - 5 - - 0 - - 6 - 0 - - infos_sizer - none - 0 - 0 - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - MultiPV: - 0 - - 0 - - - 0 - - 1 - multipv_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - ? - 0 - - 0 - - - 0 - - 1 - multipv - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Threads: - 0 - - 0 - - - 0 - - 1 - threads_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - ? - 0 - - 0 - - - 0 - - 1 - threads - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Depth: - 0 - - 0 - - - 0 - - 1 - m_staticText13 - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 0 - - 1 - - 0 - 0 - wxID_ANY - 0 - 10000 - - 0 - - 1 - - 0 - - 1 - depth - 1 - - - protected - 1 - - Resizable - 1 - - wxSP_ARROW_KEYS - ; ; forward_declare - 0 - - 30 - - - - - - - - - 5 - wxALL|wxEXPAND - 1 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - lines_list - 1 - - - protected - 1 - - Resizable - 1 - - wxLC_REPORT - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - - - - - - -