diff options
Diffstat (limited to 'src/preferences/BoardPrefsPanelBF.h')
| -rw-r--r-- | src/preferences/BoardPrefsPanelBF.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/src/preferences/BoardPrefsPanelBF.h b/src/preferences/BoardPrefsPanelBF.h new file mode 100644 index 0000000..0bcea9e --- /dev/null +++ b/src/preferences/BoardPrefsPanelBF.h @@ -0,0 +1,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 ); + } + +}; + |
