Remove SHAPE_EDITOR frame types before we forget about them.

They may go back at some point, or they may not....
This commit is contained in:
Jeff Young 2020-06-19 14:09:54 +01:00
parent b779715996
commit a1332d76fe
4 changed files with 0 additions and 7 deletions

View File

@ -305,8 +305,6 @@ KIWAY::FACE_T KIWAY::KifaceType( FRAME_T aFrameType )
case FRAME_FOOTPRINT_VIEWER_MODAL:
case FRAME_FOOTPRINT_WIZARD:
case FRAME_PCB_DISPLAY3D:
case FRAME_SHAPE_EDITOR:
case FRAME_SHAPE_EDITOR_MODAL:
return FACE_PCB;
case FRAME_CVPCB:

View File

@ -270,7 +270,6 @@ int COMMON_TOOLS::ZoomFitScreen( const TOOL_EVENT& aEvent )
// Leave a bigger margin for library editors & viewers
if( frame->IsType( FRAME_FOOTPRINT_VIEWER ) || frame->IsType( FRAME_FOOTPRINT_VIEWER_MODAL )
|| frame->IsType( FRAME_SHAPE_EDITOR ) || frame->IsType( FRAME_SHAPE_EDITOR_MODAL )
|| frame->IsType( FRAME_SCH_VIEWER ) || frame->IsType( FRAME_SCH_VIEWER_MODAL ) )
{
margin_scale_factor = 1.4;

View File

@ -46,8 +46,6 @@ enum FRAME_T
FRAME_FOOTPRINT_WIZARD,
FRAME_PCB_DISPLAY3D,
FRAME_FOOTPRINT_PREVIEW,
FRAME_SHAPE_EDITOR,
FRAME_SHAPE_EDITOR_MODAL,
FRAME_CVPCB,
FRAME_CVPCB_DISPLAY,

View File

@ -189,8 +189,6 @@ public:
PCB_FOOTPRINT_EDITOR_LIB_NICKNAME,
PCB_FOOTPRINT_VIEWER_FP_NAME,
PCB_FOOTPRINT_VIEWER_LIB_NICKNAME,
PCB_SHAPE_EDITOR_SHAPE_NAME,
PCB_SHAPE_EDITOR_LIB_NICKNAME,
RSTRING_COUNT
};