![]() |
KiCad PCB EDA Suite
|
Code for handling schematic texts (texts, labels, hlabels and global labels). More...
#include <sch_symbol.h>
#include <sch_edit_frame.h>
#include <plotter.h>
#include <widgets/msgpanel.h>
#include <gal/stroke_font.h>
#include <bitmaps.h>
#include <kicad_string.h>
#include <sch_text.h>
#include <schematic.h>
#include <settings/color_settings.h>
#include <sch_painter.h>
#include <default_values.h>
#include <wx/debug.h>
#include <dialogs/html_messagebox.h>
#include <project/project_file.h>
#include <project/net_settings.h>
#include <core/mirror.h>
#include <dialog_helpers.h>
#include <trigo.h>
#include "sch_text_help_md.h"
Go to the source code of this file.
Functions | |
bool | IncrementLabelMember (wxString &name, int aIncrement) |
wxString | getElectricalTypeLabel (PINSHEETLABEL_SHAPE aType) |
Variables | |
static int | TemplateIN_HN [] = { 6, 0, 0, -1, -1, -2, -1, -2, 1, -1, 1, 0, 0 } |
static int | TemplateIN_HI [] = { 6, 0, 0, 1, 1, 2, 1, 2, -1, 1, -1, 0, 0 } |
static int | TemplateIN_UP [] = { 6, 0, 0, 1, -1, 1, -2, -1, -2, -1, -1, 0, 0 } |
static int | TemplateIN_BOTTOM [] = { 6, 0, 0, 1, 1, 1, 2, -1, 2, -1, 1, 0, 0 } |
static int | TemplateOUT_HN [] = { 6, -2, 0, -1, 1, 0, 1, 0, -1, -1, -1, -2, 0 } |
static int | TemplateOUT_HI [] = { 6, 2, 0, 1, -1, 0, -1, 0, 1, 1, 1, 2, 0 } |
static int | TemplateOUT_UP [] = { 6, 0, -2, 1, -1, 1, 0, -1, 0, -1, -1, 0, -2 } |
static int | TemplateOUT_BOTTOM [] = { 6, 0, 2, 1, 1, 1, 0, -1, 0, -1, 1, 0, 2 } |
static int | TemplateUNSPC_HN [] = { 5, 0, -1, -2, -1, -2, 1, 0, 1, 0, -1 } |
static int | TemplateUNSPC_HI [] = { 5, 0, -1, 2, -1, 2, 1, 0, 1, 0, -1 } |
static int | TemplateUNSPC_UP [] = { 5, 1, 0, 1, -2, -1, -2, -1, 0, 1, 0 } |
static int | TemplateUNSPC_BOTTOM [] = { 5, 1, 0, 1, 2, -1, 2, -1, 0, 1, 0 } |
static int | TemplateBIDI_HN [] = { 5, 0, 0, -1, -1, -2, 0, -1, 1, 0, 0 } |
static int | TemplateBIDI_HI [] = { 5, 0, 0, 1, -1, 2, 0, 1, 1, 0, 0 } |
static int | TemplateBIDI_UP [] = { 5, 0, 0, -1, -1, 0, -2, 1, -1, 0, 0 } |
static int | TemplateBIDI_BOTTOM [] = { 5, 0, 0, -1, 1, 0, 2, 1, 1, 0, 0 } |
static int | Template3STATE_HN [] = { 5, 0, 0, -1, -1, -2, 0, -1, 1, 0, 0 } |
static int | Template3STATE_HI [] = { 5, 0, 0, 1, -1, 2, 0, 1, 1, 0, 0 } |
static int | Template3STATE_UP [] = { 5, 0, 0, -1, -1, 0, -2, 1, -1, 0, 0 } |
static int | Template3STATE_BOTTOM [] = { 5, 0, 0, -1, 1, 0, 2, 1, 1, 0, 0 } |
static int * | TemplateShape [5][4] |
Code for handling schematic texts (texts, labels, hlabels and global labels).
Definition in file sch_text.cpp.
wxString getElectricalTypeLabel | ( | PINSHEETLABEL_SHAPE | aType | ) |
Definition at line 484 of file sch_text.cpp.
References _, PS_BIDI, PS_INPUT, PS_OUTPUT, PS_TRISTATE, and PS_UNSPECIFIED.
Referenced by SCH_TEXT::GetMsgPanelInfo(), and SCH_TEXT::GetShownText().
bool IncrementLabelMember | ( | wxString & | name, |
int | aIncrement | ||
) |
Definition at line 54 of file sch_text.cpp.
References name.
Referenced by SCH_TEXT::IncrementLabel(), and SYMBOL_EDITOR_PIN_TOOL::RepeatPin().
|
static |
Definition at line 121 of file sch_text.cpp.
|
static |
Definition at line 119 of file sch_text.cpp.
|
static |
Definition at line 118 of file sch_text.cpp.
|
static |
Definition at line 120 of file sch_text.cpp.
|
static |
Definition at line 116 of file sch_text.cpp.
|
static |
Definition at line 114 of file sch_text.cpp.
|
static |
Definition at line 113 of file sch_text.cpp.
|
static |
Definition at line 115 of file sch_text.cpp.
|
static |
Definition at line 101 of file sch_text.cpp.
|
static |
Definition at line 99 of file sch_text.cpp.
|
static |
Definition at line 98 of file sch_text.cpp.
|
static |
Definition at line 100 of file sch_text.cpp.
|
static |
Definition at line 106 of file sch_text.cpp.
|
static |
Definition at line 104 of file sch_text.cpp.
|
static |
Definition at line 103 of file sch_text.cpp.
|
static |
Definition at line 105 of file sch_text.cpp.
|
static |
Definition at line 123 of file sch_text.cpp.
Referenced by SCH_HIERLABEL::CreateGraphicShape().
|
static |
Definition at line 111 of file sch_text.cpp.
|
static |
Definition at line 109 of file sch_text.cpp.
|
static |
Definition at line 108 of file sch_text.cpp.
|
static |
Definition at line 110 of file sch_text.cpp.