aboutsummaryrefslogtreecommitdiff
path: root/src/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.h')
-rw-r--r--src/gui.h280
1 files changed, 280 insertions, 0 deletions
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 <wx/artprov.h>
+#include <wx/xrc/xmlres.h>
+#include <wx/string.h>
+#include <wx/menu.h>
+#include <wx/gdicmn.h>
+#include <wx/font.h>
+#include <wx/colour.h>
+#include <wx/settings.h>
+#include <wx/statusbr.h>
+#include <wx/aui/auibook.h>
+#include <wx/sizer.h>
+#include <wx/frame.h>
+#include <wx/stattext.h>
+#include <wx/button.h>
+#include <wx/bitmap.h>
+#include <wx/image.h>
+#include <wx/icon.h>
+#include <wx/spinctrl.h>
+#include <wx/listctrl.h>
+#include <wx/dialog.h>
+#include <wx/listbox.h>
+#include <wx/textctrl.h>
+#include <wx/statline.h>
+#include <wx/propgrid/propgrid.h>
+#include <wx/propgrid/advprops.h>
+#include <wx/panel.h>
+#include <wx/clrpicker.h>
+#include <wx/checkbox.h>
+#include <wx/splitter.h>
+#include <wx/notebook.h>
+
+///////////////////////////////////////////////////////////////////////////
+
+#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();
+
+};
+