Clarify AA options
Moves the OpenGL AA options to the same Fast/Balanced/HQ options as used in Fallback. Fast and Balanced are the SMAA options, with decreasing threshholds and more processing in the balanced version. HQ is supersampling x2. This takes more memory and may not work for HiDPI screens with underpowered graphics cards. But it looks the best of the three options. The SSx4 option is removed as it added little benefit in either regular or HiDPI screens Fixes https://gitlab.com/kicad/code/kicad/issues/5196
This commit is contained in:
parent
0a31e2d4fd
commit
4c293e0936
|
@ -1,5 +1,5 @@
|
|||
///////////////////////////////////////////////////////////////////////////
|
||||
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
||||
// C++ code generated with wxFormBuilder (version 3.9.0 Apr 22 2021)
|
||||
// http://www.wxformbuilder.org/
|
||||
//
|
||||
// PLEASE DO *NOT* EDIT THIS FILE!
|
||||
|
@ -74,7 +74,7 @@ PANEL_COMMON_SETTINGS_BASE::PANEL_COMMON_SETTINGS_BASE( wxWindow* parent, wxWind
|
|||
antialiasingLabel->Wrap( -1 );
|
||||
gbSizer1->Add( antialiasingLabel, wxGBPosition( 4, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
|
||||
|
||||
wxString m_antialiasingChoices[] = { _("No Antialiasing"), _("Smoothing (1x, Conservative)"), _("Smoothing (1x, Aggressive)"), _("Supersampling (2x)"), _("Supersampling (4x)") };
|
||||
wxString m_antialiasingChoices[] = { _("No Antialiasing"), _("Fast Antialiasing"), _("Balanced Antialiasing"), _("High Quality Antialiasing") };
|
||||
int m_antialiasingNChoices = sizeof( m_antialiasingChoices ) / sizeof( wxString );
|
||||
m_antialiasing = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_antialiasingNChoices, m_antialiasingChoices, 0 );
|
||||
m_antialiasing->SetSelection( 0 );
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
<property name="file">panel_common_settings_base</property>
|
||||
<property name="first_id">1000</property>
|
||||
<property name="help_provider">none</property>
|
||||
<property name="image_path_wrapper_function_name"></property>
|
||||
<property name="indent_with_spaces"></property>
|
||||
<property name="internationalize">1</property>
|
||||
<property name="name">PanelCommonSettings</property>
|
||||
|
@ -25,6 +26,7 @@
|
|||
<property name="skip_php_events">1</property>
|
||||
<property name="skip_python_events">1</property>
|
||||
<property name="ui_table">UI</property>
|
||||
<property name="use_array_enum">0</property>
|
||||
<property name="use_enum">1</property>
|
||||
<property name="use_microsoft_bom">0</property>
|
||||
<object class="Panel" expanded="1">
|
||||
|
@ -694,7 +696,7 @@
|
|||
<property name="caption"></property>
|
||||
<property name="caption_visible">1</property>
|
||||
<property name="center_pane">0</property>
|
||||
<property name="choices">"No Antialiasing" "Smoothing (1x, Conservative)" "Smoothing (1x, Aggressive)" "Supersampling (2x)" "Supersampling (4x)"</property>
|
||||
<property name="choices">"No Antialiasing" "Fast Antialiasing" "Balanced Antialiasing" "High Quality Antialiasing"</property>
|
||||
<property name="close_button">1</property>
|
||||
<property name="context_help"></property>
|
||||
<property name="context_menu">1</property>
|
||||
|
@ -1032,6 +1034,7 @@
|
|||
<property name="aui_name"></property>
|
||||
<property name="aui_position"></property>
|
||||
<property name="aui_row"></property>
|
||||
<property name="auth_needed">0</property>
|
||||
<property name="best_size"></property>
|
||||
<property name="bg"></property>
|
||||
<property name="bitmap"></property>
|
||||
|
@ -1330,6 +1333,7 @@
|
|||
<property name="aui_name"></property>
|
||||
<property name="aui_position"></property>
|
||||
<property name="aui_row"></property>
|
||||
<property name="auth_needed">0</property>
|
||||
<property name="best_size"></property>
|
||||
<property name="bg"></property>
|
||||
<property name="bitmap"></property>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
///////////////////////////////////////////////////////////////////////////
|
||||
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
||||
// C++ code generated with wxFormBuilder (version 3.9.0 Apr 22 2021)
|
||||
// http://www.wxformbuilder.org/
|
||||
//
|
||||
// PLEASE DO *NOT* EDIT THIS FILE!
|
||||
|
@ -87,7 +87,7 @@ class PANEL_COMMON_SETTINGS_BASE : public RESETTABLE_PANEL
|
|||
wxStaticText* m_staticText17;
|
||||
wxCheckBox* m_cbRememberOpenFiles;
|
||||
|
||||
// Virtual event handlers, overide them in your derived class
|
||||
// Virtual event handlers, override them in your derived class
|
||||
virtual void OnTextEditorClick( wxCommandEvent& event ) { event.Skip(); }
|
||||
virtual void onUpdateUIPdfPath( wxUpdateUIEvent& event ) { event.Skip(); }
|
||||
virtual void OnPDFViewerClick( wxCommandEvent& event ) { event.Skip(); }
|
||||
|
|
|
@ -247,7 +247,7 @@ COMMON_SETTINGS::COMMON_SETTINGS() :
|
|||
MOUSE_DRAG_ACTION::NONE ) );
|
||||
|
||||
m_params.emplace_back( new PARAM<int>( "graphics.opengl_antialiasing_mode",
|
||||
&m_Graphics.opengl_aa_mode, 0, 0, 4 ) );
|
||||
&m_Graphics.opengl_aa_mode, 0, 0, 3 ) );
|
||||
|
||||
m_params.emplace_back( new PARAM<int>( "graphics.cairo_antialiasing_mode",
|
||||
&m_Graphics.cairo_aa_mode, 0, 0, 3 ) );
|
||||
|
|
Loading…
Reference in New Issue