30#include <unordered_map>
Information pertinent to a Pcbnew printed circuit board.
Workaround to keep the original priorities if user didn't change any.
std::vector< ZONE * > & GetOriginalZoneList()
Used for restoring the zones in the board after refilling.
std::shared_ptr< ZONE_SETTINGS > GetZoneSettings(ZONE *zone)
std::vector< ZONE * > m_originalZoneList
std::vector< std::shared_ptr< MANAGED_ZONE > > m_managedZones
std::vector< std::shared_ptr< MANAGED_ZONE > > GetManagedZones() const
ZONE_SETTINGS_BAG(BOARD *aBoard)
void OnUserConfirmChange()
ZONE_SETTINGS_BAG()=default
std::unordered_map< ZONE *, std::shared_ptr< ZONE > > m_zonesCloneMap
bool FlushPriorityChange()
Flush the priority change to the cloned ones.
std::vector< ZONE * > m_clonedZoneList
std::vector< ZONE * > & GetClonedZoneList()
Adapter for the zone filler ,zones are actually managed the smart ptr.
std::unordered_map< ZONE *, std::shared_ptr< ZONE_SETTINGS > > m_zoneSettings
void FlushZoneSettingsChange()
Flush the zone settings change to the cloned ones.
ZONE_SETTINGS handles zones parameters.
Handle a list of polygons defining a copper zone.
Class ZONE_SETTINGS used to handle zones parameters in dialogs.