made cvpcb and gerbview compilable with last changes in pcbnew

This commit is contained in:
charras 2008-10-20 05:59:58 +00:00
parent 4fa2654d7d
commit 6393de352b
9 changed files with 14 additions and 7 deletions

View File

@ -10,6 +10,7 @@
#include "cvpcb.h"
#include "trigo.h"
#include "gr_basic.h"
#include "zones.h"
#include "bitmaps.h"

View File

@ -14,6 +14,7 @@
#include "gerbview.h"
#include "pcbplot.h"
#include "trigo.h"
#include "zones.h"
#include "bitmaps.h"
#include "protos.h"

View File

@ -9,6 +9,7 @@
#include "common.h"
#include "pcbnew.h"
#include "autorout.h"
#include "zones.h"
#include "cell.h"
#include "protos.h"

View File

@ -8,6 +8,7 @@
#include "pcbnew.h"
#include "autorout.h"
#include "cell.h"
#include "zones.h"
#include "protos.h"

View File

@ -96,13 +96,6 @@ enum CommandOpt {
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 */

View File

@ -10,6 +10,7 @@
#include "common.h"
#include "pcbnew.h"
#include "autorout.h"
#include "zones.h"
#include "cell.h"
#include "protos.h"

View File

@ -10,6 +10,7 @@
#include "common.h"
#include "pcbnew.h"
#include "autorout.h"
#include "zones.h"
#include "trigo.h"
#include "cell.h"

View File

@ -10,6 +10,7 @@
#include "common.h"
#include "pcbnew.h"
#include "autorout.h"
#include "zones.h"
#include "protos.h"

View File

@ -28,6 +28,13 @@ enum zone_cmd {
/* 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
eda_global bool g_Zone_45_Only
#ifdef MAIN