KiCad PCB EDA Suite
dialog_modedit_options.cpp File Reference
#include <fctsys.h>
#include <pcbnew.h>
#include <wxPcbStruct.h>
#include <class_board_design_settings.h>
#include <base_units.h>
#include <module_editor_frame.h>
#include <dialog_modedit_options_base.h>

Go to the source code of this file.

Classes

class  DIALOG_MODEDIT_OPTIONS
 

Functions

bool InvokeFPEditorPrefsDlg (FOOTPRINT_EDIT_FRAME *aCaller)
 Function InvokeSVGPrint shows the SVG print dialog. More...
 

Function Documentation

bool InvokeFPEditorPrefsDlg ( FOOTPRINT_EDIT_FRAME aCaller)

Function InvokeSVGPrint shows the SVG print dialog.

Parameters
aCalleris the FOOTPRINT_EDIT_FRAME which is invoking the dialog.
Returns
bool - true if user pressed OK (did not abort), else false.

Definition at line 68 of file dialog_modedit_options.cpp.

Referenced by FOOTPRINT_EDIT_FRAME::ProcessPreferences().

69 {
70  DIALOG_MODEDIT_OPTIONS dlg( aCaller );
71 
72  int ret = dlg.ShowModal();
73 
74  return ret == wxID_OK;
75 }