kicad/pcbnew/zones.h

44 lines
1.3 KiB
C
Raw Normal View History

/************************************************/
/* constants used in zone dialogs and functions */
/************************************************/
#ifndef ZONES_H
#define ZONES_H
2008-10-23 10:26:06 +00:00
#include "class_zone_setting.h"
// keys used to store net sort option in config file :
2008-10-23 10:26:06 +00:00
#define ZONE_NET_OUTLINES_HATCH_OPTION_KEY wxT( "Zone_Ouline_Hatch_Opt" )
#define ZONE_NET_SORT_OPTION_KEY wxT( "Zone_NetSort_Opt" )
#define ZONE_NET_FILTER_STRING_KEY wxT( "Zone_Filter_Opt" )
#define ZONE_THERMAL_RELIEF_GAP_STRING_KEY wxT( "Zone_TH_Gap" )
#define ZONE_THERMAL_RELIEF_COPPER_WIDTH_STRING_KEY wxT( "Zone_TH_Copper_Width" )
enum zone_cmd {
ZONE_ABORT,
ZONE_OK
};
2008-10-23 10:26:06 +00:00
enum { // How pads are covered by copper in zone
PAD_NOT_IN_ZONE, // Pads are not covered
THERMAL_PAD, // Use thermal relief for pads
PAD_IN_ZONE // pads are covered by copper
};
/************************************************/
/* variables used in zone dialogs and functions */
/************************************************/
2008-10-23 10:26:06 +00:00
/* parametre grid size for automatic routing */
extern int g_GridRoutingSize;
extern bool g_Zone_45_Only;
// Default setting used when creating a new zone
extern ZONE_SETTING g_Zone_Default_Setting;
#endif // ifndef ZONES_H