49 lines
2.0 KiB
C
49 lines
2.0 KiB
C
|
/****************************************************************/
|
||
|
/* class ZONE_SETTING used to handle zones parameters in dialogs */
|
||
|
/****************************************************************/
|
||
|
|
||
|
#ifndef ZONE_SETTING_H
|
||
|
#define ZONE_SETTING_H
|
||
|
|
||
|
|
||
|
#ifndef eda_global
|
||
|
#define eda_global extern
|
||
|
#endif
|
||
|
|
||
|
|
||
|
/*************************************************/
|
||
|
/* Class ZONE_SETTING to handle zones parameters */
|
||
|
/*************************************************/
|
||
|
class ZONE_SETTING
|
||
|
{
|
||
|
public:
|
||
|
int m_GridFillValue; // Grid value for filling zone by segments, 0 to used polygons to fill
|
||
|
int m_ZoneClearance; // Clearance value
|
||
|
int m_NetcodeSelection; // Net code selection for the current zone
|
||
|
int m_CurrentZone_Layer; // Layer used to create the current zone
|
||
|
int m_Zone_HatchingStyle; // Option to show the zone area (outlines only, short hatches or full hatches
|
||
|
int m_ArcToSegmentsCount; /* Option to select number of segments to approximate a circle
|
||
|
* 16 or 32 segments */
|
||
|
int m_FilledAreasShowMode; // Used to select draw options for filled areas in a zone (currently normal =0, sketch = 1)
|
||
|
long m_ThermalReliefGapValue; // tickness of the gap in thermal reliefs
|
||
|
long m_ThermalReliefCopperBridgeValue; // tickness of the copper bridge in thermal reliefs
|
||
|
int m_Zone_Pad_Options; // How pads are covered by copper in zone
|
||
|
public:
|
||
|
ZONE_SETTING( void );
|
||
|
|
||
|
/** function ImportSetting
|
||
|
* copy settings from a given zone
|
||
|
* @param aSource: the given zone
|
||
|
*/
|
||
|
void ImportSetting( const ZONE_CONTAINER& aSource );
|
||
|
|
||
|
/** function ExportSetting
|
||
|
* copy settings to a given zone
|
||
|
* @param aTarget: the given zone
|
||
|
*/
|
||
|
void ExportSetting( ZONE_CONTAINER& aTarget );
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // ifndef ZONE_SETTING_H
|