From dbb69b7505895b1756fd1502eabaf6bc70f0d9ea Mon Sep 17 00:00:00 2001 From: diemer Date: Thu, 27 Mar 2008 21:02:42 +0000 Subject: [PATCH] moved DANGLING_SYMBOL_SIZE definition to general.h --- eeschema/eeredraw.cpp | 3 +-- eeschema/general.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eeschema/eeredraw.cpp b/eeschema/eeredraw.cpp index c98bd6996f..8af5f1f698 100644 --- a/eeschema/eeredraw.cpp +++ b/eeschema/eeredraw.cpp @@ -52,11 +52,10 @@ char marqERC_bitmap[] = static EDA_BaseStruct* HighLightStruct = NULL; /************************************************************/ -void DrawDanglingSymbol( WinEDA_DrawPanel* panel, wxDC* DC, +void DrawDanglingSymbol( WinEDA_DrawPanel* panel, wxDC* DC, const wxPoint& pos, int Color ) /************************************************************/ { -#define DANGLING_SYMBOL_SIZE 12 if( !g_IsPrinting ) // Draw but do not print the Dangling Symbol */ { GRRect( &panel->m_ClipBox, DC, diff --git a/eeschema/general.h b/eeschema/general.h index 566720e9cf..e5aeba815d 100644 --- a/eeschema/general.h +++ b/eeschema/general.h @@ -37,6 +37,7 @@ //#define GR_DEFAULT_DRAWMODE GR_COPY #define GR_DEFAULT_DRAWMODE GR_COPY +#define DANGLING_SYMBOL_SIZE 12 /* Message de presentation */ extern wxString g_Main_Title;