aboutsummaryrefslogtreecommitdiff
path: root/src/preferences/BoardPrefsPanelBF.h
blob: 0bcea9e736fe86a8cfe2bbf7d6732c3953c0a866 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
///////////////////////////////////////////////////////////////////////////
// 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/panel.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/listbox.h>
#include <wx/sizer.h>
#include <wx/checkbox.h>
#include <wx/spinctrl.h>
#include <wx/splitter.h>

///////////////////////////////////////////////////////////////////////////


///////////////////////////////////////////////////////////////////////////////
/// 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 );
		}

};