aboutsummaryrefslogtreecommitdiff
path: root/src/preferences/EditorPrefsPanelBF.cpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-02-23 20:27:13 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-02-23 20:27:13 +0100
commitb3ba310792f189e9da35024d3ebb6f6433906841 (patch)
treec6c13034134384ba9be8e498941fecf54e7a46de /src/preferences/EditorPrefsPanelBF.cpp
parent5a43d62920f82bac38490ac92dd9a49edd1d44de (diff)
Improve editor preferences
Diffstat (limited to 'src/preferences/EditorPrefsPanelBF.cpp')
-rw-r--r--src/preferences/EditorPrefsPanelBF.cpp44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/preferences/EditorPrefsPanelBF.cpp b/src/preferences/EditorPrefsPanelBF.cpp
index 08a1b50..5cc9ae2 100644
--- a/src/preferences/EditorPrefsPanelBF.cpp
+++ b/src/preferences/EditorPrefsPanelBF.cpp
@@ -11,6 +11,50 @@
EditorPrefsPanelBF::EditorPrefsPanelBF( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name )
{
+ wxGridSizer* main_sizer;
+ main_sizer = new wxGridSizer( 10, 2, 0, 0 );
+
+ color_margin_label = new wxStaticText( this, wxID_ANY, wxT("Margin color"), wxDefaultPosition, wxDefaultSize, 0 );
+ color_margin_label->Wrap( -1 );
+ main_sizer->Add( color_margin_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+
+ color_margin = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE );
+ main_sizer->Add( color_margin, 0, wxALL, 5 );
+
+ color_scrollbar_label = new wxStaticText( this, wxID_ANY, wxT("Scrollbar color"), wxDefaultPosition, wxDefaultSize, 0 );
+ color_scrollbar_label->Wrap( -1 );
+ main_sizer->Add( color_scrollbar_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+
+ color_scrollbar = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE );
+ main_sizer->Add( color_scrollbar, 0, wxALL, 5 );
+
+ color_scrollbarbg_label = new wxStaticText( this, wxID_ANY, wxT("Scrollbar background color"), wxDefaultPosition, wxDefaultSize, 0 );
+ color_scrollbarbg_label->Wrap( -1 );
+ main_sizer->Add( color_scrollbarbg_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+
+ color_scrollbarbg = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE );
+ main_sizer->Add( color_scrollbarbg, 0, wxALL, 5 );
+
+ color_commentbg_label = new wxStaticText( this, wxID_ANY, wxT("Comments background color"), wxDefaultPosition, wxDefaultSize, 0 );
+ color_commentbg_label->Wrap( -1 );
+ main_sizer->Add( color_commentbg_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+
+ color_commentbg = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE );
+ main_sizer->Add( color_commentbg, 0, wxALL, 5 );
+
+ row_size_label = new wxStaticText( this, wxID_ANY, wxT("Move row size"), wxDefaultPosition, wxDefaultSize, 0 );
+ 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 );
+ main_sizer->Add( row_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 );
+
+
+ this->SetSizer( main_sizer );
+ this->Layout();
}
EditorPrefsPanelBF::~EditorPrefsPanelBF()