26#ifndef ZONES_CONTAINER_H
27#define ZONES_CONTAINER_H
30#include <unordered_map>
Information pertinent to a Pcbnew printed circuit board.
std::shared_ptr< ZONE_SETTINGS > GetZoneSettings(ZONE *zone)
std::vector< ZONE * > m_clonedZoneList
std::vector< ZONE * > & GetOriginalZoneList()
Used for restoring the zones in the board after refilling.
std::vector< std::shared_ptr< ZONE_PRIORITY_CONTAINER > > m_zonesPriorityContainer
void FlushZoneSettingsChange()
Flush the zone settings change to the cloned ones.
std::vector< std::shared_ptr< ZONE_PRIORITY_CONTAINER > > GetZonesPriorityContainers() const
bool FlushPriorityChange()
Flush the priority change to the cloned ones.
std::unordered_map< ZONE *, std::shared_ptr< ZONE > > m_zonesColoneMap
std::vector< ZONE * > m_originalZoneList
void OnUserConfirmChange() override
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
~ZONES_CONTAINER() override
Classes need post progress after user click OK.
Workaround to keep the original priorities if user didn't change any.
Handle a list of polygons defining a copper zone.
Class ZONE_SETTINGS used to handle zones parameters in dialogs.