Commit dbb69b75 authored by diemer's avatar diemer

moved DANGLING_SYMBOL_SIZE definition to general.h

parent 43c87e73
...@@ -52,11 +52,10 @@ char marqERC_bitmap[] = ...@@ -52,11 +52,10 @@ char marqERC_bitmap[] =
static EDA_BaseStruct* HighLightStruct = NULL; static EDA_BaseStruct* HighLightStruct = NULL;
/************************************************************/ /************************************************************/
void DrawDanglingSymbol( WinEDA_DrawPanel* panel, wxDC* DC, void DrawDanglingSymbol( WinEDA_DrawPanel* panel, wxDC* DC,
const wxPoint& pos, int Color ) const wxPoint& pos, int Color )
/************************************************************/ /************************************************************/
{ {
#define DANGLING_SYMBOL_SIZE 12
if( !g_IsPrinting ) // Draw but do not print the Dangling Symbol */ if( !g_IsPrinting ) // Draw but do not print the Dangling Symbol */
{ {
GRRect( &panel->m_ClipBox, DC, GRRect( &panel->m_ClipBox, DC,
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
//#define GR_DEFAULT_DRAWMODE GR_COPY //#define GR_DEFAULT_DRAWMODE GR_COPY
#define GR_DEFAULT_DRAWMODE GR_COPY #define GR_DEFAULT_DRAWMODE GR_COPY
#define DANGLING_SYMBOL_SIZE 12
/* Message de presentation */ /* Message de presentation */
extern wxString g_Main_Title; extern wxString g_Main_Title;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment