KiCad PCB EDA Suite
dialog_edit_footprint_for_fp_editor.cpp File Reference
#include <fctsys.h>
#include <base_units.h>
#include <view/view.h>
#include <class_drawpanel.h>
#include <confirm.h>
#include <dialog_text_entry.h>
#include <pcbnew.h>
#include <kiface_i.h>
#include <3d_viewer.h>
#include <pcb_edit_frame.h>
#include <validators.h>
#include <board_design_settings.h>
#include <board_commit.h>
#include <bitmaps.h>
#include <widgets/wx_grid.h>
#include <widgets/text_ctrl_eval.h>
#include <class_module.h>
#include <footprint_edit_frame.h>
#include <dialog_edit_footprint_for_fp_editor.h>
#include "filename_resolver.h"
#include <pgm_base.h>
#include "3d_cache/dialogs/panel_prev_model.h"
#include "3d_cache/dialogs/3d_cache_dialogs.h"
#include <fp_lib_table.h>

Go to the source code of this file.

Macros

#define LibFootprintTextShownColumnsKey   wxT( "LibFootprintTextShownColumns" )
 

Functions

static bool footprintIsFromBoard (MODULE *aFootprint)
 

Macro Definition Documentation

#define LibFootprintTextShownColumnsKey   wxT( "LibFootprintTextShownColumns" )

Function Documentation

static bool footprintIsFromBoard ( MODULE aFootprint)
static

Definition at line 633 of file dialog_edit_footprint_for_fp_editor.cpp.

References MODULE::GetLink().

Referenced by DIALOG_FOOTPRINT_FP_EDITOR::OnFootprintNameText(), and DIALOG_FOOTPRINT_FP_EDITOR::OnGridCellChanging().

634 {
635  return aFootprint->GetLink() != 0;
636 }
timestamp_t GetLink() const
Definition: class_module.h:574