/************************************************/ /* 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 ; 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 #endif // ifndef ZONES_H