Remove unused m_crossHairPosition
This commit is contained in:
parent
21b869bd1f
commit
45c7c7c350
|
@ -47,17 +47,11 @@ void BASE_SCREEN::InitDataPoints( const wxSize& aPageSizeIU )
|
||||||
{
|
{
|
||||||
if( m_Center )
|
if( m_Center )
|
||||||
{
|
{
|
||||||
m_crossHairPosition.x = 0;
|
|
||||||
m_crossHairPosition.y = 0;
|
|
||||||
|
|
||||||
m_DrawOrg.x = -aPageSizeIU.x / 2;
|
m_DrawOrg.x = -aPageSizeIU.x / 2;
|
||||||
m_DrawOrg.y = -aPageSizeIU.y / 2;
|
m_DrawOrg.y = -aPageSizeIU.y / 2;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_crossHairPosition.x = aPageSizeIU.x / 2;
|
|
||||||
m_crossHairPosition.y = aPageSizeIU.y / 2;
|
|
||||||
|
|
||||||
m_DrawOrg.x = 0;
|
m_DrawOrg.x = 0;
|
||||||
m_DrawOrg.y = 0;
|
m_DrawOrg.y = 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -130,13 +130,6 @@ protected:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool m_flagModified; ///< Indicates current drawing has been modified.
|
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
|
#endif // BASE_SCREEN_H
|
||||||
|
|
Loading…
Reference in New Issue