KiCad PCB EDA Suite
dialog_copper_zones.cpp File Reference
#include <fctsys.h>
#include <kiface_i.h>
#include <confirm.h>
#include <pcb_edit_frame.h>
#include <zones.h>
#include <bitmaps.h>
#include <widgets/unit_binder.h>
#include <class_zone.h>
#include <class_board.h>
#include <dialog_copper_zones_base.h>

Go to the source code of this file.

Classes

class  DIALOG_COPPER_ZONE
 

Functions

int InvokeCopperZonesEditor (PCB_BASE_FRAME *aCaller, ZONE_SETTINGS *aSettings)
 Function InvokeCopperZonesEditor invokes up a modal dialog window for copper zone editing. More...
 

Function Documentation

int InvokeCopperZonesEditor ( PCB_BASE_FRAME aCaller,
ZONE_SETTINGS aSettings 
)

Function InvokeCopperZonesEditor invokes up a modal dialog window for copper zone editing.

Parameters
aCalleris the PCB_BASE_FRAME calling parent window for the modal dialog, and it gives access to the BOARD through PCB_BASE_FRAME::GetBoard().
aSettingspoints to the ZONE_SETTINGS to edit.
Returns
int - tells if user aborted, changed only one zone, or all of them.

Definition at line 91 of file dialog_copper_zones.cpp.

Referenced by PCB_EDIT_FRAME::Begin_Zone(), ZONE_CREATE_HELPER::createNewZone(), PCB_EDIT_FRAME::duplicateZone(), PCB_EDIT_FRAME::Edit_Zone_Params(), and PCB_EDITOR_CONTROL::ZoneDuplicate().

92 {
93  DIALOG_COPPER_ZONE dlg( aCaller, aSettings );
94 
95  return dlg.ShowModal();
96 }