Clean up some OSX issues in new appearance panel.
This commit is contained in:
parent
f58221ca98
commit
f83a9c0a22
|
@ -250,11 +250,11 @@ PCB_EDIT_FRAME::PCB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
|
||||||
|
|
||||||
m_auimgr.AddPane( m_appearancePanel,
|
m_auimgr.AddPane( m_appearancePanel,
|
||||||
EDA_PANE().Name( "LayersManager" ).Right().Layer( 4 )
|
EDA_PANE().Name( "LayersManager" ).Right().Layer( 4 )
|
||||||
.Caption( _( "Appearance" ) ).MinSize( 150, -1 )
|
.Caption( _( "Appearance" ) ).PaneBorder( false )
|
||||||
.BestSize( m_appearancePanel->GetBestSize() ) );
|
.MinSize( 160, -1 ).BestSize( m_appearancePanel->GetBestSize() ) );
|
||||||
|
|
||||||
m_auimgr.AddPane( m_selectionFilterPanel,
|
m_auimgr.AddPane( m_selectionFilterPanel,
|
||||||
EDA_PANE().Palette().Name( "SelectionFilter" ).Right().Layer( 4 )
|
EDA_PANE().Name( "SelectionFilter" ).Right().Layer( 4 )
|
||||||
.Caption( _( "Selection Filter" ) ).PaneBorder( false ).Position( 2 )
|
.Caption( _( "Selection Filter" ) ).PaneBorder( false ).Position( 2 )
|
||||||
.MinSize( 160, -1 ).BestSize( m_selectionFilterPanel->GetBestSize() ) );
|
.MinSize( 160, -1 ).BestSize( m_selectionFilterPanel->GetBestSize() ) );
|
||||||
|
|
||||||
|
|
|
@ -974,6 +974,7 @@ void APPEARANCE_CONTROLS::rebuildObjects()
|
||||||
COLOR_SETTINGS* theme = m_frame->GetColorSettings();
|
COLOR_SETTINGS* theme = m_frame->GetColorSettings();
|
||||||
COLOR4D bgColor = theme->GetColor( LAYER_PCB_BACKGROUND );
|
COLOR4D bgColor = theme->GetColor( LAYER_PCB_BACKGROUND );
|
||||||
GAL_SET visible = board->GetVisibleElements();
|
GAL_SET visible = board->GetVisibleElements();
|
||||||
|
bool firstSlider = true;
|
||||||
|
|
||||||
m_objectSettings.clear();
|
m_objectSettings.clear();
|
||||||
m_objectsSizer->Clear( true );
|
m_objectsSizer->Clear( true );
|
||||||
|
@ -982,6 +983,13 @@ void APPEARANCE_CONTROLS::rebuildObjects()
|
||||||
[&]( int aRow, std::unique_ptr<APPEARANCE_SETTING>& aSetting )
|
[&]( int aRow, std::unique_ptr<APPEARANCE_SETTING>& aSetting )
|
||||||
{
|
{
|
||||||
int layer = aSetting->id;
|
int layer = aSetting->id;
|
||||||
|
int topMargin = 0;
|
||||||
|
|
||||||
|
if( aSetting->can_control_opacity && firstSlider )
|
||||||
|
{
|
||||||
|
topMargin = wxTOP;
|
||||||
|
firstSlider = false;
|
||||||
|
}
|
||||||
|
|
||||||
aSetting->visible = visible.Contains( ToGalLayer( layer ) );
|
aSetting->visible = visible.Contains( ToGalLayer( layer ) );
|
||||||
COLOR4D color = theme->GetColor( layer );
|
COLOR4D color = theme->GetColor( layer );
|
||||||
|
@ -995,7 +1003,7 @@ void APPEARANCE_CONTROLS::rebuildObjects()
|
||||||
"right click for menu" ) );
|
"right click for menu" ) );
|
||||||
|
|
||||||
m_objectsSizer->Add( swatch, wxGBPosition( aRow, 0 ), wxDefaultSpan,
|
m_objectsSizer->Add( swatch, wxGBPosition( aRow, 0 ), wxDefaultSpan,
|
||||||
wxALIGN_CENTER_VERTICAL | wxEXPAND | wxLEFT | wxRIGHT, 5 );
|
wxALIGN_CENTER_VERTICAL | wxEXPAND | topMargin | wxLEFT | wxRIGHT, 5 );
|
||||||
aSetting->ctl_color = swatch;
|
aSetting->ctl_color = swatch;
|
||||||
|
|
||||||
swatch->Bind( COLOR_SWATCH_CHANGED,
|
swatch->Bind( COLOR_SWATCH_CHANGED,
|
||||||
|
@ -1011,7 +1019,7 @@ void APPEARANCE_CONTROLS::rebuildObjects()
|
||||||
btn_visible->SetToolTip( tip );
|
btn_visible->SetToolTip( tip );
|
||||||
|
|
||||||
m_objectsSizer->Add( btn_visible, wxGBPosition( aRow, 1 ), wxDefaultSpan,
|
m_objectsSizer->Add( btn_visible, wxGBPosition( aRow, 1 ), wxDefaultSpan,
|
||||||
wxALIGN_CENTER_VERTICAL | wxRIGHT, 5 );
|
wxALIGN_TOP | topMargin | wxRIGHT, 5 );
|
||||||
aSetting->ctl_visibility = btn_visible;
|
aSetting->ctl_visibility = btn_visible;
|
||||||
|
|
||||||
btn_visible->Bind( TOGGLE_CHANGED,
|
btn_visible->Bind( TOGGLE_CHANGED,
|
||||||
|
@ -1029,23 +1037,23 @@ void APPEARANCE_CONTROLS::rebuildObjects()
|
||||||
wxGBSpan labelSpan( 1, aSetting->can_control_opacity ? 1 : 2 );
|
wxGBSpan labelSpan( 1, aSetting->can_control_opacity ? 1 : 2 );
|
||||||
|
|
||||||
m_objectsSizer->Add( label, wxGBPosition( aRow, 2 ), labelSpan,
|
m_objectsSizer->Add( label, wxGBPosition( aRow, 2 ), labelSpan,
|
||||||
wxALIGN_CENTER_VERTICAL | wxRIGHT, 5 );
|
wxALIGN_TOP | topMargin | wxRIGHT, 5 );
|
||||||
|
|
||||||
if( aSetting->can_control_opacity )
|
if( aSetting->can_control_opacity )
|
||||||
{
|
{
|
||||||
wxSlider* slider = new wxSlider( m_windowObjects, wxID_ANY, 100, 0, 100,
|
wxSlider* slider = new wxSlider( m_windowObjects, wxID_ANY, 100, 0, 100,
|
||||||
wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL );
|
wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL );
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
slider->SetMinSize( wxSize( 100, 32 ) );
|
slider->SetMinSize( wxSize( 80, 22 ) );
|
||||||
#else
|
#else
|
||||||
slider->SetMinSize( wxSize( 100, -1 ) );
|
slider->SetMinSize( wxSize( 80, -1 ) );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
tip.Printf( _( "Set opacity of %s" ), aSetting->label.Lower() );
|
tip.Printf( _( "Set opacity of %s" ), aSetting->label.Lower() );
|
||||||
slider->SetToolTip( tip );
|
slider->SetToolTip( tip );
|
||||||
|
|
||||||
m_objectsSizer->Add( slider, wxGBPosition( aRow, 3 ), wxDefaultSpan,
|
m_objectsSizer->Add( slider, wxGBPosition( aRow, 3 ), wxDefaultSpan,
|
||||||
wxALIGN_CENTER_VERTICAL | wxRIGHT | wxEXPAND, 5 );
|
wxALIGN_BOTTOM | topMargin | wxRIGHT | wxEXPAND, 5 );
|
||||||
aSetting->ctl_opacity = slider;
|
aSetting->ctl_opacity = slider;
|
||||||
|
|
||||||
auto opacitySliderHandler =
|
auto opacitySliderHandler =
|
||||||
|
@ -1063,7 +1071,7 @@ void APPEARANCE_CONTROLS::rebuildObjects()
|
||||||
aSetting->ctl_text = label;
|
aSetting->ctl_text = label;
|
||||||
};
|
};
|
||||||
|
|
||||||
m_objectsSizer->SetEmptyCellSize( wxSize( m_pointSize, m_pointSize ) );
|
m_objectsSizer->SetEmptyCellSize( wxSize( m_pointSize, m_pointSize * 2 / 3 ) );
|
||||||
|
|
||||||
int gridRow = 0;
|
int gridRow = 0;
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,8 @@
|
||||||
|
|
||||||
APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name )
|
APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name )
|
||||||
{
|
{
|
||||||
this->SetFont( wxFont( 9, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxEmptyString ) );
|
this->SetFont( wxFont( 10, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxEmptyString ) );
|
||||||
|
this->SetMinSize( wxSize( 200,360 ) );
|
||||||
|
|
||||||
m_sizerOuter = new wxBoxSizer( wxVERTICAL );
|
m_sizerOuter = new wxBoxSizer( wxVERTICAL );
|
||||||
|
|
||||||
|
@ -29,17 +30,17 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
||||||
m_windowLayers->SetSizer( m_layers_outer_sizer );
|
m_windowLayers->SetSizer( m_layers_outer_sizer );
|
||||||
m_windowLayers->Layout();
|
m_windowLayers->Layout();
|
||||||
m_layers_outer_sizer->Fit( m_windowLayers );
|
m_layers_outer_sizer->Fit( m_windowLayers );
|
||||||
m_panelLayersSizer->Add( m_windowLayers, 1, wxEXPAND | wxALL, 5 );
|
m_panelLayersSizer->Add( m_windowLayers, 1, wxEXPAND, 5 );
|
||||||
|
|
||||||
m_paneLayerDisplay = new wxCollapsiblePane( m_panelLayers, wxID_ANY, wxT("Layer Display Options"), wxDefaultPosition, wxDefaultSize, wxCP_DEFAULT_STYLE|wxCP_NO_TLW_RESIZE|wxBORDER_NONE|wxCLIP_CHILDREN|wxFULL_REPAINT_ON_RESIZE );
|
m_paneLayerDisplay = new wxCollapsiblePane( m_panelLayers, wxID_ANY, wxT("Layer Display Options"), wxDefaultPosition, wxDefaultSize, wxCP_DEFAULT_STYLE|wxCP_NO_TLW_RESIZE );
|
||||||
m_paneLayerDisplay->Collapse( true );
|
m_paneLayerDisplay->Collapse( true );
|
||||||
|
|
||||||
wxBoxSizer* bSizer121;
|
wxBoxSizer* bSizer121;
|
||||||
bSizer121 = new wxBoxSizer( wxVERTICAL );
|
bSizer121 = new wxBoxSizer( wxVERTICAL );
|
||||||
|
|
||||||
m_staticText13 = new wxStaticText( m_paneLayerDisplay->GetPane(), wxID_ANY, wxT("Show non-active layers as:"), wxDefaultPosition, wxDefaultSize, 0 );
|
m_staticText13 = new wxStaticText( m_paneLayerDisplay->GetPane(), wxID_ANY, wxT("Non-active layers:"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
m_staticText13->Wrap( -1 );
|
m_staticText13->Wrap( -1 );
|
||||||
bSizer121->Add( m_staticText13, 0, wxALL, 5 );
|
bSizer121->Add( m_staticText13, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
||||||
|
|
||||||
wxBoxSizer* bSizer19;
|
wxBoxSizer* bSizer19;
|
||||||
bSizer19 = new wxBoxSizer( wxHORIZONTAL );
|
bSizer19 = new wxBoxSizer( wxHORIZONTAL );
|
||||||
|
@ -48,17 +49,17 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
||||||
m_rbHighContrastNormal->SetValue( true );
|
m_rbHighContrastNormal->SetValue( true );
|
||||||
m_rbHighContrastNormal->SetToolTip( wxT("Non-active layers will be shown in full color") );
|
m_rbHighContrastNormal->SetToolTip( wxT("Non-active layers will be shown in full color") );
|
||||||
|
|
||||||
bSizer19->Add( m_rbHighContrastNormal, 0, wxALL, 5 );
|
bSizer19->Add( m_rbHighContrastNormal, 1, wxRIGHT|wxLEFT, 5 );
|
||||||
|
|
||||||
m_rbHighContrastDim = new wxRadioButton( m_paneLayerDisplay->GetPane(), wxID_ANY, wxT("Dimmed"), wxDefaultPosition, wxDefaultSize, 0 );
|
m_rbHighContrastDim = new wxRadioButton( m_paneLayerDisplay->GetPane(), wxID_ANY, wxT("Dim"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
m_rbHighContrastDim->SetToolTip( wxT("Non-active layers will be dimmed") );
|
m_rbHighContrastDim->SetToolTip( wxT("Non-active layers will be dimmed") );
|
||||||
|
|
||||||
bSizer19->Add( m_rbHighContrastDim, 0, wxALL, 5 );
|
bSizer19->Add( m_rbHighContrastDim, 1, wxRIGHT|wxLEFT, 5 );
|
||||||
|
|
||||||
m_rbHighContrastOff = new wxRadioButton( m_paneLayerDisplay->GetPane(), wxID_ANY, wxT("Off"), wxDefaultPosition, wxDefaultSize, 0 );
|
m_rbHighContrastOff = new wxRadioButton( m_paneLayerDisplay->GetPane(), wxID_ANY, wxT("Hide"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
m_rbHighContrastOff->SetToolTip( wxT("Non-active layers will be hidden") );
|
m_rbHighContrastOff->SetToolTip( wxT("Non-active layers will be hidden") );
|
||||||
|
|
||||||
bSizer19->Add( m_rbHighContrastOff, 0, wxALL, 5 );
|
bSizer19->Add( m_rbHighContrastOff, 1, wxRIGHT|wxLEFT, 5 );
|
||||||
|
|
||||||
|
|
||||||
bSizer121->Add( bSizer19, 0, wxEXPAND, 5 );
|
bSizer121->Add( bSizer19, 0, wxEXPAND, 5 );
|
||||||
|
@ -67,19 +68,19 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
||||||
bSizer121->Add( m_staticline5, 0, wxEXPAND | wxALL, 5 );
|
bSizer121->Add( m_staticline5, 0, wxEXPAND | wxALL, 5 );
|
||||||
|
|
||||||
m_cbFlipBoard = new wxCheckBox( m_paneLayerDisplay->GetPane(), wxID_ANY, wxT("Flip board view"), wxDefaultPosition, wxDefaultSize, 0 );
|
m_cbFlipBoard = new wxCheckBox( m_paneLayerDisplay->GetPane(), wxID_ANY, wxT("Flip board view"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
bSizer121->Add( m_cbFlipBoard, 0, wxALL, 5 );
|
bSizer121->Add( m_cbFlipBoard, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
||||||
|
|
||||||
|
|
||||||
m_paneLayerDisplay->GetPane()->SetSizer( bSizer121 );
|
m_paneLayerDisplay->GetPane()->SetSizer( bSizer121 );
|
||||||
m_paneLayerDisplay->GetPane()->Layout();
|
m_paneLayerDisplay->GetPane()->Layout();
|
||||||
bSizer121->Fit( m_paneLayerDisplay->GetPane() );
|
bSizer121->Fit( m_paneLayerDisplay->GetPane() );
|
||||||
m_panelLayersSizer->Add( m_paneLayerDisplay, 0, wxBOTTOM|wxEXPAND|wxTOP, 5 );
|
m_panelLayersSizer->Add( m_paneLayerDisplay, 0, wxEXPAND|wxTOP, 5 );
|
||||||
|
|
||||||
|
|
||||||
m_panelLayers->SetSizer( m_panelLayersSizer );
|
m_panelLayers->SetSizer( m_panelLayersSizer );
|
||||||
m_panelLayers->Layout();
|
m_panelLayers->Layout();
|
||||||
m_panelLayersSizer->Fit( m_panelLayers );
|
m_panelLayersSizer->Fit( m_panelLayers );
|
||||||
m_notebook->AddPage( m_panelLayers, wxT("Layers"), true );
|
m_notebook->AddPage( m_panelLayers, wxT("Layers"), false );
|
||||||
m_panelObjects = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
m_panelObjects = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
||||||
m_panelObjects->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );
|
m_panelObjects->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );
|
||||||
|
|
||||||
|
@ -97,7 +98,7 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
||||||
m_windowObjects->SetSizer( m_objectsSizer );
|
m_windowObjects->SetSizer( m_objectsSizer );
|
||||||
m_windowObjects->Layout();
|
m_windowObjects->Layout();
|
||||||
m_objectsSizer->Fit( m_windowObjects );
|
m_objectsSizer->Fit( m_windowObjects );
|
||||||
m_objectsPanelSizer->Add( m_windowObjects, 1, wxEXPAND | wxALL, 5 );
|
m_objectsPanelSizer->Add( m_windowObjects, 1, wxEXPAND, 5 );
|
||||||
|
|
||||||
|
|
||||||
m_panelObjects->SetSizer( m_objectsPanelSizer );
|
m_panelObjects->SetSizer( m_objectsPanelSizer );
|
||||||
|
@ -197,30 +198,30 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
||||||
wxBoxSizer* bSizer1211;
|
wxBoxSizer* bSizer1211;
|
||||||
bSizer1211 = new wxBoxSizer( wxVERTICAL );
|
bSizer1211 = new wxBoxSizer( wxVERTICAL );
|
||||||
|
|
||||||
m_staticText131 = new wxStaticText( m_paneNetDisplay->GetPane(), wxID_ANY, wxT("Show net colors on:"), wxDefaultPosition, wxDefaultSize, 0 );
|
m_staticText131 = new wxStaticText( m_paneNetDisplay->GetPane(), wxID_ANY, wxT("Net colors:"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
m_staticText131->Wrap( -1 );
|
m_staticText131->Wrap( -1 );
|
||||||
m_staticText131->SetToolTip( wxT("Choose when to show net and netclass colors") );
|
m_staticText131->SetToolTip( wxT("Choose when to show net and netclass colors") );
|
||||||
|
|
||||||
bSizer1211->Add( m_staticText131, 0, wxALL|wxEXPAND, 5 );
|
bSizer1211->Add( m_staticText131, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
||||||
|
|
||||||
wxBoxSizer* bSizer191;
|
wxBoxSizer* bSizer191;
|
||||||
bSizer191 = new wxBoxSizer( wxHORIZONTAL );
|
bSizer191 = new wxBoxSizer( wxHORIZONTAL );
|
||||||
|
|
||||||
m_rbNetColorOff = new wxRadioButton( m_paneNetDisplay->GetPane(), wxID_ANY, wxT("Off"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
|
m_rbNetColorAll = new wxRadioButton( m_paneNetDisplay->GetPane(), wxID_ANY, wxT("All"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
m_rbNetColorOff->SetToolTip( wxT("Net and netclass colors are not shown") );
|
m_rbNetColorAll->SetToolTip( wxT("Net and netclass colors are shown on all copper items") );
|
||||||
|
|
||||||
bSizer191->Add( m_rbNetColorOff, 0, wxLEFT|wxTOP, 5 );
|
bSizer191->Add( m_rbNetColorAll, 1, wxRIGHT|wxLEFT, 5 );
|
||||||
|
|
||||||
m_rbNetColorRatsnest = new wxRadioButton( m_paneNetDisplay->GetPane(), wxID_ANY, wxT("Ratsnest"), wxDefaultPosition, wxDefaultSize, 0 );
|
m_rbNetColorRatsnest = new wxRadioButton( m_paneNetDisplay->GetPane(), wxID_ANY, wxT("Ratsnest"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
m_rbNetColorRatsnest->SetValue( true );
|
m_rbNetColorRatsnest->SetValue( true );
|
||||||
m_rbNetColorRatsnest->SetToolTip( wxT("Net and netclass colors are shown on the ratsnest only") );
|
m_rbNetColorRatsnest->SetToolTip( wxT("Net and netclass colors are shown on the ratsnest only") );
|
||||||
|
|
||||||
bSizer191->Add( m_rbNetColorRatsnest, 0, wxLEFT|wxTOP, 5 );
|
bSizer191->Add( m_rbNetColorRatsnest, 1, wxLEFT, 5 );
|
||||||
|
|
||||||
m_rbNetColorAll = new wxRadioButton( m_paneNetDisplay->GetPane(), wxID_ANY, wxT("All Items"), wxDefaultPosition, wxDefaultSize, 0 );
|
m_rbNetColorOff = new wxRadioButton( m_paneNetDisplay->GetPane(), wxID_ANY, wxT("None"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
|
||||||
m_rbNetColorAll->SetToolTip( wxT("Net and netclass colors are shown on all copper items") );
|
m_rbNetColorOff->SetToolTip( wxT("Net and netclass colors are not shown") );
|
||||||
|
|
||||||
bSizer191->Add( m_rbNetColorAll, 0, wxALL, 5 );
|
bSizer191->Add( m_rbNetColorOff, 1, wxLEFT, 5 );
|
||||||
|
|
||||||
|
|
||||||
bSizer1211->Add( bSizer191, 0, wxEXPAND, 5 );
|
bSizer1211->Add( bSizer191, 0, wxEXPAND, 5 );
|
||||||
|
@ -229,15 +230,15 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
||||||
m_paneNetDisplay->GetPane()->SetSizer( bSizer1211 );
|
m_paneNetDisplay->GetPane()->SetSizer( bSizer1211 );
|
||||||
m_paneNetDisplay->GetPane()->Layout();
|
m_paneNetDisplay->GetPane()->Layout();
|
||||||
bSizer1211->Fit( m_paneNetDisplay->GetPane() );
|
bSizer1211->Fit( m_paneNetDisplay->GetPane() );
|
||||||
bSizer16->Add( m_paneNetDisplay, 0, wxEXPAND | wxALL, 5 );
|
bSizer16->Add( m_paneNetDisplay, 0, wxEXPAND|wxTOP, 5 );
|
||||||
|
|
||||||
|
|
||||||
m_panelNetsAndClasses->SetSizer( bSizer16 );
|
m_panelNetsAndClasses->SetSizer( bSizer16 );
|
||||||
m_panelNetsAndClasses->Layout();
|
m_panelNetsAndClasses->Layout();
|
||||||
bSizer16->Fit( m_panelNetsAndClasses );
|
bSizer16->Fit( m_panelNetsAndClasses );
|
||||||
m_notebook->AddPage( m_panelNetsAndClasses, wxT("Nets"), false );
|
m_notebook->AddPage( m_panelNetsAndClasses, wxT("Nets"), true );
|
||||||
|
|
||||||
m_sizerOuter->Add( m_notebook, 1, wxEXPAND | wxALL, 5 );
|
m_sizerOuter->Add( m_notebook, 1, wxEXPAND, 5 );
|
||||||
|
|
||||||
wxStaticBoxSizer* presetsSizer;
|
wxStaticBoxSizer* presetsSizer;
|
||||||
presetsSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxT("Layer Presets") ), wxHORIZONTAL );
|
presetsSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxT("Layer Presets") ), wxHORIZONTAL );
|
||||||
|
@ -246,13 +247,13 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
||||||
int m_cbLayerPresetsNChoices = sizeof( m_cbLayerPresetsChoices ) / sizeof( wxString );
|
int m_cbLayerPresetsNChoices = sizeof( m_cbLayerPresetsChoices ) / sizeof( wxString );
|
||||||
m_cbLayerPresets = new wxChoice( presetsSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_cbLayerPresetsNChoices, m_cbLayerPresetsChoices, 0 );
|
m_cbLayerPresets = new wxChoice( presetsSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_cbLayerPresetsNChoices, m_cbLayerPresetsChoices, 0 );
|
||||||
m_cbLayerPresets->SetSelection( 1 );
|
m_cbLayerPresets->SetSelection( 1 );
|
||||||
presetsSizer->Add( m_cbLayerPresets, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
|
presetsSizer->Add( m_cbLayerPresets, 1, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
|
||||||
|
|
||||||
m_btnDeletePreset = new wxBitmapButton( presetsSizer->GetStaticBox(), wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
|
m_btnDeletePreset = new wxBitmapButton( presetsSizer->GetStaticBox(), wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
|
||||||
m_btnDeletePreset->Enable( false );
|
m_btnDeletePreset->Enable( false );
|
||||||
m_btnDeletePreset->SetToolTip( wxT("Delete this layer preset") );
|
m_btnDeletePreset->SetToolTip( wxT("Delete this layer preset") );
|
||||||
|
|
||||||
presetsSizer->Add( m_btnDeletePreset, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxTOP, 5 );
|
presetsSizer->Add( m_btnDeletePreset, 0, wxALIGN_CENTER_VERTICAL, 5 );
|
||||||
|
|
||||||
|
|
||||||
m_sizerOuter->Add( presetsSizer, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 5 );
|
m_sizerOuter->Add( presetsSizer, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 5 );
|
||||||
|
@ -260,6 +261,7 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
||||||
|
|
||||||
this->SetSizer( m_sizerOuter );
|
this->SetSizer( m_sizerOuter );
|
||||||
this->Layout();
|
this->Layout();
|
||||||
|
m_sizerOuter->Fit( this );
|
||||||
|
|
||||||
// Connect Events
|
// Connect Events
|
||||||
m_notebook->Connect( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, wxNotebookEventHandler( APPEARANCE_CONTROLS_BASE::OnNotebookPageChanged ), NULL, this );
|
m_notebook->Connect( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, wxNotebookEventHandler( APPEARANCE_CONTROLS_BASE::OnNotebookPageChanged ), NULL, this );
|
||||||
|
|
|
@ -36,14 +36,14 @@
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="event_handler">impl_virtual</property>
|
<property name="event_handler">impl_virtual</property>
|
||||||
<property name="fg"></property>
|
<property name="fg"></property>
|
||||||
<property name="font">,90,90,9,70,0</property>
|
<property name="font">,90,90,10,70,0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size">200,360</property>
|
||||||
<property name="name">APPEARANCE_CONTROLS_BASE</property>
|
<property name="name">APPEARANCE_CONTROLS_BASE</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
<property name="size">275,762</property>
|
<property name="size">-1,-1</property>
|
||||||
<property name="subclass">; ; forward_declare</property>
|
<property name="subclass">; ; forward_declare</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND | wxALL</property>
|
<property name="flag">wxEXPAND</property>
|
||||||
<property name="proportion">1</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxNotebook" expanded="1">
|
<object class="wxNotebook" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
|
@ -174,9 +174,9 @@
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND | wxALL</property>
|
<property name="flag">wxEXPAND</property>
|
||||||
<property name="proportion">1</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxScrolledWindow" expanded="1">
|
<object class="wxScrolledWindow" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
|
@ -229,7 +229,7 @@
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style">wxHSCROLL|wxVSCROLL</property>
|
<property name="window_style">wxHSCROLL|wxVSCROLL</property>
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxBoxSizer" expanded="0">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="name">m_layers_outer_sizer</property>
|
<property name="name">m_layers_outer_sizer</property>
|
||||||
<property name="orient">wxVERTICAL</property>
|
<property name="orient">wxVERTICAL</property>
|
||||||
|
@ -239,7 +239,7 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxBOTTOM|wxEXPAND|wxTOP</property>
|
<property name="flag">wxEXPAND|wxTOP</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxCollapsiblePane" expanded="1">
|
<object class="wxCollapsiblePane" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
|
@ -298,7 +298,7 @@
|
||||||
<property name="validator_variable"></property>
|
<property name="validator_variable"></property>
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style">wxBORDER_NONE|wxCLIP_CHILDREN|wxFULL_REPAINT_ON_RESIZE</property>
|
<property name="window_style"></property>
|
||||||
<event name="OnCollapsiblePaneChanged">OnLayerDisplayPaneChanged</event>
|
<event name="OnCollapsiblePaneChanged">OnLayerDisplayPaneChanged</event>
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxBoxSizer" expanded="1">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
|
@ -307,7 +307,7 @@
|
||||||
<property name="permission">none</property>
|
<property name="permission">none</property>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALL</property>
|
<property name="flag">wxBOTTOM|wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxStaticText" expanded="0">
|
<object class="wxStaticText" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
|
@ -337,7 +337,7 @@
|
||||||
<property name="gripper">0</property>
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">Show non-active layers as:</property>
|
<property name="label">Non-active layers:</property>
|
||||||
<property name="markup">0</property>
|
<property name="markup">0</property>
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
<property name="maximize_button">0</property>
|
<property name="maximize_button">0</property>
|
||||||
|
@ -370,15 +370,15 @@
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND</property>
|
<property name="flag">wxEXPAND</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxBoxSizer" expanded="0">
|
<object class="wxBoxSizer" expanded="1">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="name">bSizer19</property>
|
<property name="name">bSizer19</property>
|
||||||
<property name="orient">wxHORIZONTAL</property>
|
<property name="orient">wxHORIZONTAL</property>
|
||||||
<property name="permission">none</property>
|
<property name="permission">none</property>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALL</property>
|
<property name="flag">wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxRadioButton" expanded="0">
|
<object class="wxRadioButton" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
|
@ -441,8 +441,8 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALL</property>
|
<property name="flag">wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxRadioButton" expanded="0">
|
<object class="wxRadioButton" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
|
@ -471,7 +471,7 @@
|
||||||
<property name="gripper">0</property>
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">Dimmed</property>
|
<property name="label">Dim</property>
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
<property name="maximize_button">0</property>
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
@ -505,8 +505,8 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALL</property>
|
<property name="flag">wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxRadioButton" expanded="0">
|
<object class="wxRadioButton" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
|
@ -535,7 +535,7 @@
|
||||||
<property name="gripper">0</property>
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">Off</property>
|
<property name="label">Hide</property>
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
<property name="maximize_button">0</property>
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
@ -629,7 +629,7 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALL</property>
|
<property name="flag">wxBOTTOM|wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxCheckBox" expanded="0">
|
<object class="wxCheckBox" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
|
@ -753,16 +753,16 @@
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style">wxTAB_TRAVERSAL</property>
|
<property name="window_style">wxTAB_TRAVERSAL</property>
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxBoxSizer" expanded="0">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="name">m_objectsPanelSizer</property>
|
<property name="name">m_objectsPanelSizer</property>
|
||||||
<property name="orient">wxVERTICAL</property>
|
<property name="orient">wxVERTICAL</property>
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND | wxALL</property>
|
<property name="flag">wxEXPAND</property>
|
||||||
<property name="proportion">1</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxScrolledWindow" expanded="1">
|
<object class="wxScrolledWindow" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
|
@ -815,7 +815,7 @@
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style">wxHSCROLL|wxVSCROLL</property>
|
<property name="window_style">wxHSCROLL|wxVSCROLL</property>
|
||||||
<object class="wxGridBagSizer" expanded="1">
|
<object class="wxGridBagSizer" expanded="0">
|
||||||
<property name="empty_cell_size"></property>
|
<property name="empty_cell_size"></property>
|
||||||
<property name="flexible_direction">wxBOTH</property>
|
<property name="flexible_direction">wxBOTH</property>
|
||||||
<property name="growablecols"></property>
|
<property name="growablecols"></property>
|
||||||
|
@ -896,7 +896,7 @@
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND</property>
|
<property name="flag">wxEXPAND</property>
|
||||||
<property name="proportion">1</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxSplitterWindow" expanded="1">
|
<object class="wxSplitterWindow" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
|
@ -953,8 +953,8 @@
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style"></property>
|
<property name="window_style"></property>
|
||||||
<object class="splitteritem" expanded="1">
|
<object class="splitteritem" expanded="0">
|
||||||
<object class="wxPanel" expanded="1">
|
<object class="wxPanel" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
|
@ -1005,25 +1005,25 @@
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style">wxTAB_TRAVERSAL</property>
|
<property name="window_style">wxTAB_TRAVERSAL</property>
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxBoxSizer" expanded="0">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="name">bSizer192</property>
|
<property name="name">bSizer192</property>
|
||||||
<property name="orient">wxVERTICAL</property>
|
<property name="orient">wxVERTICAL</property>
|
||||||
<property name="permission">none</property>
|
<property name="permission">none</property>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND</property>
|
<property name="flag">wxEXPAND</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxBoxSizer" expanded="0">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="name">bSizer17</property>
|
<property name="name">bSizer17</property>
|
||||||
<property name="orient">wxHORIZONTAL</property>
|
<property name="orient">wxHORIZONTAL</property>
|
||||||
<property name="permission">none</property>
|
<property name="permission">none</property>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND</property>
|
<property name="flag">wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND</property>
|
||||||
<property name="proportion">1</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxStaticText" expanded="1">
|
<object class="wxStaticText" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
|
@ -1218,11 +1218,11 @@
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND | wxALL</property>
|
<property name="flag">wxEXPAND | wxALL</property>
|
||||||
<property name="proportion">1</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxScrolledWindow" expanded="1">
|
<object class="wxScrolledWindow" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
|
@ -1275,7 +1275,7 @@
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style">wxHSCROLL|wxVSCROLL</property>
|
<property name="window_style">wxHSCROLL|wxVSCROLL</property>
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxBoxSizer" expanded="0">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="name">m_netsOuterSizer</property>
|
<property name="name">m_netsOuterSizer</property>
|
||||||
<property name="orient">wxVERTICAL</property>
|
<property name="orient">wxVERTICAL</property>
|
||||||
|
@ -1286,8 +1286,8 @@
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
<object class="splitteritem" expanded="1">
|
<object class="splitteritem" expanded="0">
|
||||||
<object class="wxPanel" expanded="1">
|
<object class="wxPanel" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
|
@ -1338,16 +1338,16 @@
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style">wxTAB_TRAVERSAL</property>
|
<property name="window_style">wxTAB_TRAVERSAL</property>
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxBoxSizer" expanded="0">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="name">bSizer21</property>
|
<property name="name">bSizer21</property>
|
||||||
<property name="orient">wxVERTICAL</property>
|
<property name="orient">wxVERTICAL</property>
|
||||||
<property name="permission">none</property>
|
<property name="permission">none</property>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND</property>
|
<property name="flag">wxEXPAND</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxBoxSizer" expanded="0">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="name">bSizer20</property>
|
<property name="name">bSizer20</property>
|
||||||
<property name="orient">wxHORIZONTAL</property>
|
<property name="orient">wxHORIZONTAL</property>
|
||||||
|
@ -1487,11 +1487,11 @@
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND | wxALL</property>
|
<property name="flag">wxEXPAND | wxALL</property>
|
||||||
<property name="proportion">1</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxScrolledWindow" expanded="1">
|
<object class="wxScrolledWindow" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
|
@ -1544,7 +1544,7 @@
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style">wxHSCROLL|wxVSCROLL</property>
|
<property name="window_style">wxHSCROLL|wxVSCROLL</property>
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxBoxSizer" expanded="0">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="name">m_netclassOuterSizer</property>
|
<property name="name">m_netclassOuterSizer</property>
|
||||||
<property name="orient">wxVERTICAL</property>
|
<property name="orient">wxVERTICAL</property>
|
||||||
|
@ -1559,9 +1559,9 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND | wxALL</property>
|
<property name="flag">wxEXPAND|wxTOP</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxCollapsiblePane" expanded="0">
|
<object class="wxCollapsiblePane" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
|
@ -1627,7 +1627,7 @@
|
||||||
<property name="permission">none</property>
|
<property name="permission">none</property>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALL|wxEXPAND</property>
|
<property name="flag">wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxStaticText" expanded="0">
|
<object class="wxStaticText" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
|
@ -1657,7 +1657,7 @@
|
||||||
<property name="gripper">0</property>
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">Show net colors on:</property>
|
<property name="label">Net colors:</property>
|
||||||
<property name="markup">0</property>
|
<property name="markup">0</property>
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
<property name="maximize_button">0</property>
|
<property name="maximize_button">0</property>
|
||||||
|
@ -1697,8 +1697,8 @@
|
||||||
<property name="permission">none</property>
|
<property name="permission">none</property>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxLEFT|wxTOP</property>
|
<property name="flag">wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxRadioButton" expanded="0">
|
<object class="wxRadioButton" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
|
@ -1727,7 +1727,7 @@
|
||||||
<property name="gripper">0</property>
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">Off</property>
|
<property name="label">All</property>
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
<property name="maximize_button">0</property>
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
@ -1735,7 +1735,7 @@
|
||||||
<property name="minimize_button">0</property>
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="moveable">1</property>
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_rbNetColorOff</property>
|
<property name="name">m_rbNetColorAll</property>
|
||||||
<property name="pane_border">1</property>
|
<property name="pane_border">1</property>
|
||||||
<property name="pane_position"></property>
|
<property name="pane_position"></property>
|
||||||
<property name="pane_size"></property>
|
<property name="pane_size"></property>
|
||||||
|
@ -1745,10 +1745,10 @@
|
||||||
<property name="resize">Resizable</property>
|
<property name="resize">Resizable</property>
|
||||||
<property name="show">1</property>
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size"></property>
|
||||||
<property name="style">wxRB_GROUP</property>
|
<property name="style"></property>
|
||||||
<property name="subclass">; ; forward_declare</property>
|
<property name="subclass">; ; forward_declare</property>
|
||||||
<property name="toolbar_pane">0</property>
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip">Net and netclass colors are not shown</property>
|
<property name="tooltip">Net and netclass colors are shown on all copper items</property>
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type"></property>
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
<property name="validator_style">wxFILTER_NONE</property>
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
<property name="validator_type">wxDefaultValidator</property>
|
||||||
|
@ -1761,8 +1761,8 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxLEFT|wxTOP</property>
|
<property name="flag">wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxRadioButton" expanded="0">
|
<object class="wxRadioButton" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
|
@ -1825,8 +1825,8 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALL</property>
|
<property name="flag">wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxRadioButton" expanded="0">
|
<object class="wxRadioButton" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
|
@ -1855,7 +1855,7 @@
|
||||||
<property name="gripper">0</property>
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">All Items</property>
|
<property name="label">None</property>
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
<property name="maximize_button">0</property>
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
@ -1863,7 +1863,7 @@
|
||||||
<property name="minimize_button">0</property>
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="moveable">1</property>
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_rbNetColorAll</property>
|
<property name="name">m_rbNetColorOff</property>
|
||||||
<property name="pane_border">1</property>
|
<property name="pane_border">1</property>
|
||||||
<property name="pane_position"></property>
|
<property name="pane_position"></property>
|
||||||
<property name="pane_size"></property>
|
<property name="pane_size"></property>
|
||||||
|
@ -1873,10 +1873,10 @@
|
||||||
<property name="resize">Resizable</property>
|
<property name="resize">Resizable</property>
|
||||||
<property name="show">1</property>
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size"></property>
|
||||||
<property name="style"></property>
|
<property name="style">wxRB_GROUP</property>
|
||||||
<property name="subclass">; ; forward_declare</property>
|
<property name="subclass">; ; forward_declare</property>
|
||||||
<property name="toolbar_pane">0</property>
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip">Net and netclass colors are shown on all copper items</property>
|
<property name="tooltip">Net and netclass colors are not shown</property>
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type"></property>
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
<property name="validator_style">wxFILTER_NONE</property>
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
<property name="validator_type">wxDefaultValidator</property>
|
||||||
|
@ -1911,7 +1911,7 @@
|
||||||
<property name="permission">none</property>
|
<property name="permission">none</property>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALIGN_CENTER_VERTICAL|wxALL</property>
|
<property name="flag">wxALIGN_CENTER_VERTICAL|wxRIGHT</property>
|
||||||
<property name="proportion">1</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxChoice" expanded="1">
|
<object class="wxChoice" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
|
@ -1976,7 +1976,7 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxTOP</property>
|
<property name="flag">wxALIGN_CENTER_VERTICAL</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxBitmapButton" expanded="1">
|
<object class="wxBitmapButton" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
|
|
|
@ -77,9 +77,9 @@ class APPEARANCE_CONTROLS_BASE : public wxPanel
|
||||||
wxBoxSizer* m_netclassOuterSizer;
|
wxBoxSizer* m_netclassOuterSizer;
|
||||||
wxCollapsiblePane* m_paneNetDisplay;
|
wxCollapsiblePane* m_paneNetDisplay;
|
||||||
wxStaticText* m_staticText131;
|
wxStaticText* m_staticText131;
|
||||||
wxRadioButton* m_rbNetColorOff;
|
|
||||||
wxRadioButton* m_rbNetColorRatsnest;
|
|
||||||
wxRadioButton* m_rbNetColorAll;
|
wxRadioButton* m_rbNetColorAll;
|
||||||
|
wxRadioButton* m_rbNetColorRatsnest;
|
||||||
|
wxRadioButton* m_rbNetColorOff;
|
||||||
wxChoice* m_cbLayerPresets;
|
wxChoice* m_cbLayerPresets;
|
||||||
wxBitmapButton* m_btnDeletePreset;
|
wxBitmapButton* m_btnDeletePreset;
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ class APPEARANCE_CONTROLS_BASE : public wxPanel
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 275,762 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
|
APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
|
||||||
~APPEARANCE_CONTROLS_BASE();
|
~APPEARANCE_CONTROLS_BASE();
|
||||||
|
|
||||||
void m_netsTabSplitterOnIdle( wxIdleEvent& )
|
void m_netsTabSplitterOnIdle( wxIdleEvent& )
|
||||||
|
|
Loading…
Reference in New Issue