2008-10-09 19:13:25 +00:00
|
|
|
/* dialog_copper_zones.h */
|
|
|
|
|
|
|
|
#ifndef DIALOG_COPPER_ZONES
|
|
|
|
#define DIALOG_COPPER_ZONES
|
|
|
|
|
|
|
|
#include "dialog_copper_zones_frame.h"
|
|
|
|
|
|
|
|
/* here is the derivated class from dialog_copper_zone_frame created by wxFormBuilder
|
|
|
|
*/
|
|
|
|
class dialog_copper_zone: public dialog_copper_zone_frame
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
WinEDA_PcbFrame* m_Parent;
|
2008-10-23 10:26:06 +00:00
|
|
|
ZONE_SETTING * m_Zone_Setting;
|
2008-10-09 19:13:25 +00:00
|
|
|
long m_NetSorting;
|
|
|
|
int m_LayerId[LAYER_COUNT]; // Handle the real layer number from layer name position in m_LayerSelectionCtrl
|
|
|
|
|
|
|
|
public:
|
2008-10-23 10:26:06 +00:00
|
|
|
dialog_copper_zone( WinEDA_PcbFrame* parent, ZONE_SETTING * zone_setting);
|
2008-10-09 19:13:25 +00:00
|
|
|
void OnInitDialog( wxInitDialogEvent& event );
|
|
|
|
void OnButtonOkClick( wxCommandEvent& event );
|
|
|
|
void OnButtonCancelClick( wxCommandEvent& event );
|
2008-10-15 17:14:51 +00:00
|
|
|
bool AcceptOptions(bool aPromptForErrors, bool aUseExportableSetupOnly = false);
|
2008-10-09 19:13:25 +00:00
|
|
|
void OnNetSortingOptionSelected( wxCommandEvent& event );
|
2008-10-15 17:14:51 +00:00
|
|
|
void ExportSetupToOtherCopperZones( wxCommandEvent& event );
|
2008-10-17 06:17:48 +00:00
|
|
|
void OnPadsInZoneClick( wxCommandEvent& event );
|
2008-10-09 19:13:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // #ifndef DIALOG_COPPER_ZONES
|