KiCad PCB EDA Suite
|
#include "symbol_editor_pin_tool.h"
#include <tools/ee_selection_tool.h>
#include <symbol_edit_frame.h>
#include <sch_commit.h>
#include <kidialog.h>
#include <ee_actions.h>
#include <dialogs/dialog_pin_properties.h>
#include <increment.h>
#include <settings/settings_manager.h>
#include <symbol_editor/symbol_editor_settings.h>
#include <pgm_base.h>
#include <wx/debug.h>
Go to the source code of this file.
Functions | |
static int | GetLastPinLength () |
static int | GetLastPinNameSize () |
static int | GetLastPinNumSize () |
Variables | |
static ELECTRICAL_PINTYPE | g_LastPinType = ELECTRICAL_PINTYPE::PT_INPUT |
static PIN_ORIENTATION | g_LastPinOrient = PIN_ORIENTATION::PIN_RIGHT |
static GRAPHIC_PINSHAPE | g_LastPinShape = GRAPHIC_PINSHAPE::LINE |
static bool | g_LastPinCommonBodyStyle = false |
static bool | g_LastPinCommonUnit = false |
static bool | g_LastPinVisible = true |
static int | g_LastPinLength = -1 |
static int | g_LastPinNameSize = -1 |
static int | g_LastPinNumSize = -1 |
|
static |
Definition at line 52 of file symbol_editor_pin_tool.cpp.
References g_LastPinLength, SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), SYMBOL_EDITOR_SETTINGS::m_Defaults, EDA_IU_SCALE::MilsToIU(), Pgm(), SYMBOL_EDITOR_SETTINGS::DEFAULTS::pin_length, and schIUScale.
Referenced by SYMBOL_EDITOR_PIN_TOOL::CreatePin().
|
static |
Definition at line 65 of file symbol_editor_pin_tool.cpp.
References g_LastPinNameSize, SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), SYMBOL_EDITOR_SETTINGS::m_Defaults, EDA_IU_SCALE::MilsToIU(), Pgm(), SYMBOL_EDITOR_SETTINGS::DEFAULTS::pin_name_size, and schIUScale.
Referenced by SYMBOL_EDITOR_PIN_TOOL::CreatePin().
|
static |
Definition at line 78 of file symbol_editor_pin_tool.cpp.
References g_LastPinNumSize, SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), SYMBOL_EDITOR_SETTINGS::m_Defaults, EDA_IU_SCALE::MilsToIU(), Pgm(), SYMBOL_EDITOR_SETTINGS::DEFAULTS::pin_num_size, and schIUScale.
Referenced by SYMBOL_EDITOR_PIN_TOOL::CreatePin().
|
static |
Definition at line 43 of file symbol_editor_pin_tool.cpp.
Referenced by SYMBOL_EDITOR_PIN_TOOL::CreatePin(), and SYMBOL_EDITOR_PIN_TOOL::EditPinProperties().
|
static |
Definition at line 44 of file symbol_editor_pin_tool.cpp.
Referenced by SYMBOL_EDITOR_PIN_TOOL::CreatePin(), and SYMBOL_EDITOR_PIN_TOOL::EditPinProperties().
|
static |
Definition at line 48 of file symbol_editor_pin_tool.cpp.
Referenced by SYMBOL_EDITOR_PIN_TOOL::EditPinProperties(), and GetLastPinLength().
|
static |
Definition at line 49 of file symbol_editor_pin_tool.cpp.
Referenced by SYMBOL_EDITOR_PIN_TOOL::EditPinProperties(), and GetLastPinNameSize().
|
static |
Definition at line 50 of file symbol_editor_pin_tool.cpp.
Referenced by SYMBOL_EDITOR_PIN_TOOL::EditPinProperties(), and GetLastPinNumSize().
|
static |
Definition at line 41 of file symbol_editor_pin_tool.cpp.
Referenced by SYMBOL_EDITOR_PIN_TOOL::CreatePin(), SYMBOL_EDITOR_PIN_TOOL::EditPinProperties(), and SYMBOL_EDITOR_PIN_TOOL::PlacePin().
|
static |
Definition at line 42 of file symbol_editor_pin_tool.cpp.
Referenced by SYMBOL_EDITOR_PIN_TOOL::CreatePin(), SYMBOL_EDITOR_PIN_TOOL::EditPinProperties(), and SYMBOL_EDITOR_PIN_TOOL::PlacePin().
|
static |
Definition at line 40 of file symbol_editor_pin_tool.cpp.
Referenced by SYMBOL_EDITOR_PIN_TOOL::CreatePin(), SYMBOL_EDITOR_PIN_TOOL::EditPinProperties(), and SYMBOL_EDITOR_PIN_TOOL::PlacePin().
|
static |
Definition at line 45 of file symbol_editor_pin_tool.cpp.
Referenced by SYMBOL_EDITOR_PIN_TOOL::CreatePin(), and SYMBOL_EDITOR_PIN_TOOL::EditPinProperties().