mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-06-14 18:07:40 +00:00
Improve editor preferences
This commit is contained in:
parent
b3ba310792
commit
0fa6c24d8e
3 changed files with 136 additions and 4 deletions
|
@ -46,9 +46,16 @@ EditorPrefsPanelBF::EditorPrefsPanelBF( wxWindow* parent, wxWindowID id, const w
|
|||
row_size_label->Wrap( -1 );
|
||||
main_sizer->Add( row_size_label, 0, wxALL, 5 );
|
||||
|
||||
row_size = new wxSpinCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10, 0 );
|
||||
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 );
|
||||
|
||||
|
|
|
@ -42,6 +42,8 @@ class EditorPrefsPanelBF : public wxPanel
|
|||
wxColourPickerCtrl* color_commentbg;
|
||||
wxStaticText* row_size_label;
|
||||
wxSpinCtrl* row_size;
|
||||
wxStaticText* col_size_label;
|
||||
wxSpinCtrl* col_size;
|
||||
wxCheckBox* show_move_icons;
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue