From 45c7c7c350f8a51d3ebf4f24a6f00e3aa09b15f0 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Tue, 15 Jun 2021 21:25:27 -0400 Subject: [PATCH] Remove unused m_crossHairPosition --- common/base_screen.cpp | 6 ------ include/base_screen.h | 7 ------- 2 files changed, 13 deletions(-) diff --git a/common/base_screen.cpp b/common/base_screen.cpp index 2e27fec86e..dbfe507f30 100644 --- a/common/base_screen.cpp +++ b/common/base_screen.cpp @@ -47,17 +47,11 @@ void BASE_SCREEN::InitDataPoints( const wxSize& aPageSizeIU ) { if( m_Center ) { - m_crossHairPosition.x = 0; - m_crossHairPosition.y = 0; - m_DrawOrg.x = -aPageSizeIU.x / 2; m_DrawOrg.y = -aPageSizeIU.y / 2; } else { - m_crossHairPosition.x = aPageSizeIU.x / 2; - m_crossHairPosition.y = aPageSizeIU.y / 2; - m_DrawOrg.x = 0; m_DrawOrg.y = 0; } diff --git a/include/base_screen.h b/include/base_screen.h index c18a5def4c..0e817b39d5 100644 --- a/include/base_screen.h +++ b/include/base_screen.h @@ -130,13 +130,6 @@ protected: private: bool m_flagModified; ///< Indicates current drawing has been modified. - - /** - * The cross hair position in logical (drawing) units. The cross hair is not the cursor - * position. It is an addition indicator typically drawn on grid to indicate to the - * user where the current action will be performed. - */ - wxPoint m_crossHairPosition; }; #endif // BASE_SCREEN_H