KiCad PCB EDA Suite
|
#include <unit_selector.h>
Public Member Functions | |
UNIT_SELECTOR_LEN_CABLE (wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0) | |
double | GetUnitScale () override |
Function GetUnitScale. | |
wxString | GetUnitName () |
Definition at line 147 of file unit_selector.h.
UNIT_SELECTOR_LEN_CABLE::UNIT_SELECTOR_LEN_CABLE | ( | wxWindow * | parent, |
wxWindowID | id, | ||
const wxPoint & | pos, | ||
const wxSize & | size, | ||
const wxArrayString & | choices, | ||
long | style = 0 |
||
) |
Definition at line 205 of file unit_selector.cpp.
References _.
|
inlineinherited |
Definition at line 51 of file unit_selector.h.
Referenced by PANEL_TRACK_WIDTH::TWDisplayValues().
|
overridevirtual |
Function GetUnitScale.
Implements UNIT_SELECTOR.
Definition at line 222 of file unit_selector.cpp.
References GetCurrentSelection(), UNIT_CM, UNIT_FEET, UNIT_INCH, UNIT_KM, and UNIT_M.
Referenced by PANEL_CABLE_SIZE::OnLengthChange(), PANEL_WAVELENGTH::OnWavelengthMediumChange(), PANEL_WAVELENGTH::OnWavelengthVacuumChange(), PANEL_CABLE_SIZE::printAll(), and PANEL_WAVELENGTH::update().