Move forceColorsToLegacy() to EDA_DRAW_FRAME as virtual method
This commit is contained in:
parent
77bf22359e
commit
460b1e8540
|
@ -148,6 +148,12 @@ protected:
|
|||
*/
|
||||
virtual void unitsChangeRefresh();
|
||||
|
||||
/**
|
||||
* Helper function to coerce all colors to legacy-compatible when
|
||||
* switching from GAL to legacy canvas
|
||||
*/
|
||||
virtual void forceColorsToLegacy() {}
|
||||
|
||||
/**
|
||||
* Function GeneralControlKeyMovement
|
||||
* Handle the common part of GeneralControl dedicated to global
|
||||
|
|
|
@ -123,11 +123,8 @@ protected:
|
|||
*/
|
||||
virtual void SwitchCanvas( wxCommandEvent& aEvent ) override;
|
||||
|
||||
/**
|
||||
* Helper function to coerce all colors to legacy-compatible when
|
||||
* switching from GAL to legacy canvas
|
||||
*/
|
||||
void forceColorsToLegacy();
|
||||
///> @copydoc EDA_DRAW_FRAME::forceColorsToLegacy()
|
||||
virtual void forceColorsToLegacy() override;
|
||||
|
||||
#if defined(KICAD_SCRIPTING) && defined(KICAD_SCRIPTING_ACTION_MENU)
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue