2008-09-26 19:51:36 +00:00
|
|
|
/************************************************/
|
|
|
|
/* constants used in zone dialogs and functions */
|
|
|
|
/************************************************/
|
|
|
|
|
|
|
|
#ifndef ZONES_H
|
|
|
|
#define ZONES_H
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef eda_global
|
|
|
|
#define eda_global extern
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// keys used to store net sort option in config file :
|
|
|
|
#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" )
|
|
|
|
|
|
|
|
enum zone_cmd {
|
|
|
|
ZONE_ABORT,
|
|
|
|
ZONE_OK
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/************************************************/
|
|
|
|
/* variables used in zone dialogs and functions */
|
|
|
|
/************************************************/
|
|
|
|
|
|
|
|
eda_global bool g_Zone_45_Only
|
|
|
|
#ifdef MAIN
|
|
|
|
= FALSE
|
|
|
|
#endif
|
|
|
|
;
|
2008-10-10 11:31:46 +00:00
|
|
|
eda_global int g_NetcodeSelection; // Net code selection for the current zone
|
2008-09-26 19:51:36 +00:00
|
|
|
eda_global int g_CurrentZone_Layer; // Layer used to create the current zone
|
|
|
|
eda_global int g_Zone_Hatching; // Option to show the zone area (outlines only, short hatches or full hatches
|
2008-10-10 11:31:46 +00:00
|
|
|
eda_global int g_Zone_Arc_Approximation; // Option to select number of segments to approximate a circle
|
|
|
|
// 16 or 32 segments
|
2008-09-26 19:51:36 +00:00
|
|
|
|
2008-10-09 19:13:25 +00:00
|
|
|
eda_global ZONE_CONTAINER::m_PadInZone g_Zone_Pad_Options
|
|
|
|
#ifdef MAIN
|
|
|
|
= ZONE_CONTAINER::THERMAL_PAD
|
|
|
|
#endif
|
|
|
|
;
|
|
|
|
|
2008-09-26 19:51:36 +00:00
|
|
|
#endif // ifndef ZONES_H
|