Use logical cursor position and other minor changes.
* Remove unused member variable m_SizeVisu from base screen object. * Move nearest grid position code into base screen object. * Add get cursor position method to base screen object. * Add position parameter to OnHotKey method in base draw frame and all derived objects. * Pass logical position on left mouse button click and double click events instead of device position. * Pass logical position to on right mouse button click instead of device position. * Use logical event position parameter for locating items in EESchema instead of the stored position. * Remove unused position parameter when displaying component edit dialog in EESchema. * Comment out debugging macro in eeschema/template_field_names.cpp that was preventing debug builds using wxWidgets 2.8.x.
This commit is contained in:
@@ -176,7 +176,7 @@ void EDA_DRAW_FRAME::ReCreateMenuBar()
|
||||
|
||||
|
||||
// Virtual function
|
||||
void EDA_DRAW_FRAME::OnHotKey( wxDC* DC, int hotkey, EDA_ITEM* DrawStruct )
|
||||
void EDA_DRAW_FRAME::OnHotKey( wxDC* aDC, int aHotKey, const wxPoint& aPosition, EDA_ITEM* aItem )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user