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();
|
virtual void unitsChangeRefresh();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Helper function to coerce all colors to legacy-compatible when
|
||||||
|
* switching from GAL to legacy canvas
|
||||||
|
*/
|
||||||
|
virtual void forceColorsToLegacy() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function GeneralControlKeyMovement
|
* Function GeneralControlKeyMovement
|
||||||
* Handle the common part of GeneralControl dedicated to global
|
* Handle the common part of GeneralControl dedicated to global
|
||||||
|
|
|
@ -123,11 +123,8 @@ protected:
|
||||||
*/
|
*/
|
||||||
virtual void SwitchCanvas( wxCommandEvent& aEvent ) override;
|
virtual void SwitchCanvas( wxCommandEvent& aEvent ) override;
|
||||||
|
|
||||||
/**
|
///> @copydoc EDA_DRAW_FRAME::forceColorsToLegacy()
|
||||||
* Helper function to coerce all colors to legacy-compatible when
|
virtual void forceColorsToLegacy() override;
|
||||||
* switching from GAL to legacy canvas
|
|
||||||
*/
|
|
||||||
void forceColorsToLegacy();
|
|
||||||
|
|
||||||
#if defined(KICAD_SCRIPTING) && defined(KICAD_SCRIPTING_ACTION_MENU)
|
#if defined(KICAD_SCRIPTING) && defined(KICAD_SCRIPTING_ACTION_MENU)
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue