Commit 6393de35 authored by charras's avatar charras

made cvpcb and gerbview compilable with last changes in pcbnew

parent 4fa2654d
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include "cvpcb.h" #include "cvpcb.h"
#include "trigo.h" #include "trigo.h"
#include "gr_basic.h" #include "gr_basic.h"
#include "zones.h"
#include "bitmaps.h" #include "bitmaps.h"
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include "gerbview.h" #include "gerbview.h"
#include "pcbplot.h" #include "pcbplot.h"
#include "trigo.h" #include "trigo.h"
#include "zones.h"
#include "bitmaps.h" #include "bitmaps.h"
#include "protos.h" #include "protos.h"
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include "common.h" #include "common.h"
#include "pcbnew.h" #include "pcbnew.h"
#include "autorout.h" #include "autorout.h"
#include "zones.h"
#include "cell.h" #include "cell.h"
#include "protos.h" #include "protos.h"
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include "pcbnew.h" #include "pcbnew.h"
#include "autorout.h" #include "autorout.h"
#include "cell.h" #include "cell.h"
#include "zones.h"
#include "protos.h" #include "protos.h"
......
...@@ -96,13 +96,6 @@ enum CommandOpt { ...@@ -96,13 +96,6 @@ enum CommandOpt {
ROUTE_PAD ROUTE_PAD
}; };
/* parametre Pas de routage pour routage automatique et generation des zones */
#if defined MAIN
int g_GridRoutingSize = 250;
#else
extern int g_GridRoutingSize;
#endif
/* Variables et structures d'autoroutage */ /* Variables et structures d'autoroutage */
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include "common.h" #include "common.h"
#include "pcbnew.h" #include "pcbnew.h"
#include "autorout.h" #include "autorout.h"
#include "zones.h"
#include "cell.h" #include "cell.h"
#include "protos.h" #include "protos.h"
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include "common.h" #include "common.h"
#include "pcbnew.h" #include "pcbnew.h"
#include "autorout.h" #include "autorout.h"
#include "zones.h"
#include "trigo.h" #include "trigo.h"
#include "cell.h" #include "cell.h"
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include "common.h" #include "common.h"
#include "pcbnew.h" #include "pcbnew.h"
#include "autorout.h" #include "autorout.h"
#include "zones.h"
#include "protos.h" #include "protos.h"
......
...@@ -28,6 +28,13 @@ enum zone_cmd { ...@@ -28,6 +28,13 @@ enum zone_cmd {
/* variables used in zone dialogs and functions */ /* variables used in zone dialogs and functions */
/************************************************/ /************************************************/
/* parametre grid size for automatic routing and zone filling */
#if defined MAIN
int g_GridRoutingSize = 250;
#else
extern int g_GridRoutingSize;
#endif
// @todo: make a class like ZONE_GENERAL_SETTING instead of many global variables // @todo: make a class like ZONE_GENERAL_SETTING instead of many global variables
eda_global bool g_Zone_45_Only eda_global bool g_Zone_45_Only
#ifdef MAIN #ifdef MAIN
......
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