Changed PCB_EDIT_FRAME::setTopLayer() to PCB_EDIT_FRAME::SetTopLayer() and changed to public (as it had exactly the same functionality).
This commit is contained in:
parent
45c5a3de7f
commit
042b6a1002
|
@ -156,12 +156,6 @@ protected:
|
|||
*/
|
||||
void setHighContrastLayer( LAYER_NUM aLayer );
|
||||
|
||||
/**
|
||||
* Function setTopLayer
|
||||
* moves the selected layer to the top, so it is displayed above all others.
|
||||
*/
|
||||
void setTopLayer( LAYER_NUM aLayer );
|
||||
|
||||
/**
|
||||
* Function syncLayerWidgetLayer
|
||||
* updates the currently layer "selection" within the PCB_LAYER_WIDGET.
|
||||
|
@ -578,6 +572,12 @@ public:
|
|||
*/
|
||||
virtual void OnModify();
|
||||
|
||||
/**
|
||||
* Function SetTopLayer
|
||||
* moves the selected layer to the top, so it is displayed above all others.
|
||||
*/
|
||||
void SetTopLayer( LAYER_NUM aLayer );
|
||||
|
||||
/**
|
||||
* Function IsElementVisible
|
||||
* tests whether a given element category is visible. Keep this as an
|
||||
|
@ -1694,12 +1694,6 @@ public:
|
|||
*/
|
||||
void UpdateTitle();
|
||||
|
||||
void SetTopLayer( LAYER_NUM aLayer )
|
||||
{
|
||||
setTopLayer( aLayer );
|
||||
}
|
||||
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
|
|
|
@ -883,7 +883,7 @@ void PCB_EDIT_FRAME::setHighContrastLayer( LAYER_NUM aLayer )
|
|||
KIGFX::VIEW* view = GetGalCanvas()->GetView();
|
||||
KIGFX::RENDER_SETTINGS* rSettings = view->GetPainter()->GetSettings();
|
||||
|
||||
setTopLayer( aLayer );
|
||||
SetTopLayer( aLayer );
|
||||
|
||||
rSettings->ClearActiveLayers();
|
||||
rSettings->SetActiveLayer( aLayer );
|
||||
|
@ -920,7 +920,7 @@ void PCB_EDIT_FRAME::setHighContrastLayer( LAYER_NUM aLayer )
|
|||
}
|
||||
|
||||
|
||||
void PCB_EDIT_FRAME::setTopLayer( LAYER_NUM aLayer )
|
||||
void PCB_EDIT_FRAME::SetTopLayer( LAYER_NUM aLayer )
|
||||
{
|
||||
// Set display settings for high contrast mode
|
||||
KIGFX::VIEW* view = GetGalCanvas()->GetView();
|
||||
|
|
Loading…
Reference in New Issue