Eeschema, library viewer: fix some render options, especially default line thickness
This commit is contained in:
parent
c9d549ffba
commit
7554a2df30
|
@ -55,6 +55,8 @@
|
|||
#include <tools/ee_inspection_tool.h>
|
||||
#include <view/view_controls.h>
|
||||
|
||||
#include <default_values.h>
|
||||
|
||||
// Save previous component library viewer state.
|
||||
wxString LIB_VIEW_FRAME::m_libraryName;
|
||||
wxString LIB_VIEW_FRAME::m_entryName;
|
||||
|
@ -138,9 +140,13 @@ LIB_VIEW_FRAME::LIB_VIEW_FRAME( KIWAY* aKiway, wxWindow* aParent, FRAME_T aFrame
|
|||
KIGFX::GAL_DISPLAY_OPTIONS& gal_opts = GetGalDisplayOptions();
|
||||
gal_opts.m_axesEnabled = true;
|
||||
GetCanvas()->GetGAL()->SetAxesEnabled( true );
|
||||
GetRenderSettings()->m_ShowPinsElectricalType = GetShowElectricalType();
|
||||
GetCanvas()->GetGAL()->SetGridVisibility( IsGridVisible() );
|
||||
|
||||
GetRenderSettings()->m_ShowPinsElectricalType = GetShowElectricalType();
|
||||
GetRenderSettings()->m_ShowHiddenText = true;
|
||||
GetRenderSettings()->m_ShowHiddenPins = true;
|
||||
GetRenderSettings()->SetDefaultPenWidth( DEFAULT_LINE_THICKNESS * IU_PER_MILS );
|
||||
|
||||
setupTools();
|
||||
ReCreateMenuBar();
|
||||
ReCreateHToolbar();
|
||||
|
|
|
@ -78,7 +78,9 @@ SCH_RENDER_SETTINGS::SCH_RENDER_SETTINGS() :
|
|||
m_TextOffsetRatio( 0.08 ),
|
||||
m_DefaultWireThickness( DEFAULT_WIRE_THICKNESS * IU_PER_MILS ),
|
||||
m_DefaultBusThickness( DEFAULT_BUS_THICKNESS * IU_PER_MILS )
|
||||
{ }
|
||||
{
|
||||
SetDefaultPenWidth( DEFAULT_LINE_THICKNESS * IU_PER_MILS );
|
||||
}
|
||||
|
||||
|
||||
void SCH_RENDER_SETTINGS::LoadColors( const COLOR_SETTINGS* aSettings )
|
||||
|
|
Loading…
Reference in New Issue