10#include <wx/artprov.h>
11#include <wx/xrc/xmlres.h>
17#include <wx/settings.h>
18#include <wx/statusbr.h>
19#include <wx/aui/auibook.h>
25#include <wx/statbmp.h>
26#include <wx/stattext.h>
27#include <wx/richtext/richtextctrl.h>
29#include <wx/notebook.h>
32#include <wx/spinctrl.h>
33#include <wx/listctrl.h>
34#include <wx/listbox.h>
35#include <wx/textctrl.h>
36#include <wx/statline.h>
37#include <wx/propgrid/propgrid.h>
38#include <wx/propgrid/advprops.h>
39#include <wx/clrpicker.h>
40#include <wx/checkbox.h>
41#include <wx/splitter.h>
42#include <wx/toolbar.h>
43#include <wx/bmpbuttn.h>
44#include <wx/combobox.h>
48#define ID_LIVE_ENGINE_DIALOG 1000
49#define LIVE_ENGINE_PAUSE_BUTTON 1001
50#define ID_DIALOG_CANCEL_BUTTON 1002
51#define ID_DIALOG_IMPORT_BUTTON 1003
52#define ENGINE_SAVE_CONF_BUTTON 1004
53#define ENGINE_DELETE_CONF_BUTTON 1005
54#define ZOOM_IN_BTN 1006
55#define ZOOM_OUT_BTN 1007
57#define COMMENT_INPUT_BOX 1009
59#define UPDATE_BTN 1011
60#define DELETE_BTN 1012
61#define LIVE_ANALYSIS_GAME_BUTTON 1013
62#define ID_SEARCH_TERMS 1014
63#define ID_APPLY_FILTER_BUTTON 1015
64#define ID_TABGAMES_GAME_LIST 1016
65#define ID_DELETE_BUTTON 1017
66#define ID_IMPORT_GAME_BUTTON 1018
67#define ID_LOAD_BUTTON 1019
68#define ID_IMPORT_SELECTION 1020
69#define ID_IMPORT_DB 1021
70#define ID_SAVE_BUTTON 1022
86 wxStatusBar* status_bar;
89 wxAuiNotebook* notebook;
91 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 );
105 wxNotebook* m_notebook3;
107 wxPanel* credits_panel;
110 wxStaticBitmap* app_icon;
111 wxStaticText* appname_text;
112 wxRichTextCtrl* info_richtext;
113 wxRichTextCtrl* credits_richtext;
115 DialogAbout( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize( 600,400 ),
long style = wxDEFAULT_DIALOG_STYLE );
129 wxStaticText* current_engine_label;
130 wxStaticText* current_engine;
131 wxButton* engine_stop_button;
132 wxStaticText* multipv_label;
134 wxStaticText* threads_label;
135 wxStaticText* threads;
136 wxStaticText* m_staticText13;
138 wxListCtrl* lines_list;
142 DialogLiveEngine( wxWindow* parent, wxWindowID
id = ID_LIVE_ENGINE_DIALOG,
const wxString& title = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize( -1,-1 ),
long style = wxDEFAULT_DIALOG_STYLE );
156 wxStaticText* main_label;
157 wxListBox* game_list;
158 wxButton* cancel_button;
159 wxButton* import_button;
163 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 );
177 wxStaticText* engine_name_label;
178 wxTextCtrl* engine_name;
179 wxStaticText* engine_location_label;
180 wxTextCtrl* engine_location;
181 wxStaticLine* separator_1;
182 wxStaticText* params_label;
183 wxPropertyGrid* engine_parameters;
184 wxButton* save_button;
185 wxButton* delete_button;
189 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 );
203 wxStaticText* color_margin_label;
204 wxColourPickerCtrl* color_margin;
205 wxStaticText* color_scrollbar_label;
206 wxColourPickerCtrl* color_scrollbar;
207 wxStaticText* color_scrollbarbg_label;
208 wxColourPickerCtrl* color_scrollbarbg;
209 wxStaticText* color_commentbg_label;
210 wxColourPickerCtrl* color_commentbg;
211 wxStaticText* row_size_label;
212 wxSpinCtrl* row_size;
213 wxStaticText* col_size_label;
214 wxSpinCtrl* col_size;
215 wxCheckBox* show_move_icons;
219 PrefsEditor( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize( -1,-1 ),
long style = wxTAB_TRAVERSAL,
const wxString& name = wxEmptyString );
233 wxSplitterWindow* splitter;
234 wxPanel* board_canvas;
235 wxPanel* options_panel;
236 wxStaticText* piece_theme_label;
237 wxListBox* piece_theme;
238 wxStaticText* square_theme_label;
239 wxListBox* square_theme;
240 wxCheckBox* show_side_badge;
241 wxCheckBox* show_captures;
242 wxCheckBox* black_by_default;
243 wxStaticText* border_radius_label;
244 wxSpinCtrl* corner_radius;
245 wxStaticText* board_size_label;
246 wxSpinCtrl* square_size;
250 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 );
254 void splitterOnIdle( wxIdleEvent& )
256 splitter->SetSashPosition( 350 );
257 splitter->Disconnect( wxEVT_IDLE, wxIdleEventHandler( PrefsBoard::splitterOnIdle ), NULL,
this );
270 wxNotebook* notebook;
274 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 );
288 wxBoxSizer* main_sizer;
289 wxToolBar* game_toolbar;
290 wxBitmapButton* zoomin_button;
291 wxBitmapButton* zoomout_button;
292 wxBitmapButton* swap_button;
293 wxTextCtrl* fen_text_field;
297 TabGameLeftPanel( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize( 998,410 ),
long style = wxTAB_TRAVERSAL,
const wxString& name = wxEmptyString );
311 wxNotebook* notebook;
312 wxPanel* editor_page;
313 wxBoxSizer* editor_page_sizer;
314 wxTextCtrl* opening_label;
315 wxBoxSizer* editor_canvas_sizer;
316 wxStaticLine* m_staticline1;
317 wxStaticText* comment_label;
318 wxTextCtrl* comment_input;
331 wxTextCtrl* tagTextCtrl;
332 wxTextCtrl* valueTextCtrl;
333 wxButton* update_button;
334 wxListCtrl* tags_list;
335 wxButton* delete_button;
336 wxPanel* engine_page;
337 wxStaticText* engine_list_label;
338 wxListBox* engine_list;
339 wxButton* analyze_game_button;
340 wxButton* live_analysis_button;
344 TabGameRightPanel( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize( 500,379 ),
long style = wxTAB_TRAVERSAL,
const wxString& name = wxEmptyString );
358 wxStaticText* m_staticText28;
359 wxTextCtrl* search_terms;
360 wxButton* apply_filter_button;
361 wxListCtrl* game_list;
362 wxButton* delete_button;
366 TabBase_TabGames( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize( 559,522 ),
long style = wxTAB_TRAVERSAL,
const wxString& name = wxEmptyString );
380 wxTextCtrl* pending_imports;
381 wxStaticText* from_game_label;
382 wxComboBox* opened_game_list;
383 wxButton* import_from_game_button;
384 wxStaticLine* m_staticline4;
385 wxStaticText* m_staticText29;
386 wxComboBox* opened_db_list;
387 wxButton* load_button;
388 wxListCtrl* game_list;
389 wxButton* import_from_db_button;
390 wxButton* m_button16;
394 TabBase_TabImport( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize( 500,661 ),
long style = wxTAB_TRAVERSAL,
const wxString& name = wxEmptyString );
408 wxTextCtrl* informations;
409 wxButton* save_button;
413 TabBase_TabManage( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize( 500,300 ),
long style = wxTAB_TRAVERSAL,
const wxString& name = wxEmptyString );
Class DialogAbout.
Definition: gui.h:101
Class DialogAppendGame.
Definition: gui.h:152
Class DialogLiveEngine.
Definition: gui.h:125
Class MainFrame.
Definition: gui.h:76
Class PrefsBoard.
Definition: gui.h:229
Class PrefsEditor.
Definition: gui.h:199
Class TabBase_TabGames.
Definition: gui.h:354
Class TabBase_TabImport.
Definition: gui.h:376
Class TabBase_TabManage.
Definition: gui.h:404
Class TabBase.
Definition: gui.h:266
Class TabEngine.
Definition: gui.h:173
Class TabGameLeftPanel.
Definition: gui.h:284
Class TabGameRightPanel.
Definition: gui.h:307