EESchema code refactoring and coding policy naming fixes.
* Move schematic wire and bus break code into schematic screen object. * Move schematic test for dangling ends into schematic screen object. * Remove left over debugging output in schematic screen object. * Remove unused file eeschema/cleanup.cpp. * Fix bug in schematic line object hit test algorithm. * Fix a string concatenation compile error added in r2752. * Rename class WinEDA_BasicFrame to EDA_BASE_FRAME. * Rename class WinEDA_DrawFrame to EDA_DRAW_FRAME. * Rename class WinEDA_DrawPanel to EDA_DRAW_PANEL.
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
#include "sch_component.h"
|
||||
|
||||
|
||||
static void AbortMoveCmpField( WinEDA_DrawPanel* Panel, wxDC* DC );
|
||||
static void MoveCmpField( WinEDA_DrawPanel* panel, wxDC* DC, bool erase );
|
||||
static void AbortMoveCmpField( EDA_DRAW_PANEL* Panel, wxDC* DC );
|
||||
static void MoveCmpField( EDA_DRAW_PANEL* panel, wxDC* DC, bool erase );
|
||||
|
||||
|
||||
/******************************************************************************/
|
||||
@@ -125,7 +125,7 @@ modified!\nYou must create a new power" ) );
|
||||
wxString newtext = Field->m_Text;
|
||||
DrawPanel->m_IgnoreMouseEvents = TRUE;
|
||||
|
||||
wxString title = _( "Field:" ) + wxT(" ") + Field->m_Name;
|
||||
wxString title = _( "Field: " ) + Field->m_Name;
|
||||
wxTextEntryDialog dlg( this, wxEmptyString , title, newtext );
|
||||
int diag = dlg.ShowModal();
|
||||
newtext = dlg.GetValue( );
|
||||
@@ -178,7 +178,7 @@ modified!\nYou must create a new power" ) );
|
||||
/*
|
||||
* Move standard text field. This routine is normally attached to the cursor.
|
||||
*/
|
||||
static void MoveCmpField( WinEDA_DrawPanel* panel, wxDC* DC, bool erase )
|
||||
static void MoveCmpField( EDA_DRAW_PANEL* panel, wxDC* DC, bool erase )
|
||||
{
|
||||
wxPoint pos;
|
||||
int fieldNdx;
|
||||
@@ -213,7 +213,7 @@ static void MoveCmpField( WinEDA_DrawPanel* panel, wxDC* DC, bool erase )
|
||||
}
|
||||
|
||||
|
||||
static void AbortMoveCmpField( WinEDA_DrawPanel* Panel, wxDC* DC )
|
||||
static void AbortMoveCmpField( EDA_DRAW_PANEL* Panel, wxDC* DC )
|
||||
{
|
||||
Panel->ForceCloseManageCurseur = NULL;
|
||||
Panel->ManageCurseur = NULL;
|
||||
|
||||
Reference in New Issue
Block a user