30 const wxPoint& pos,
const wxSize& size,
31 const wxArrayString& choices,
long style ) :
38 Append(
_(
"inch" ) );
62 const wxPoint& pos,
const wxSize& size,
63 const wxArrayString& choices,
long style )
66 Append( wxT(
"mm" ) );
67 Append( wxT(
"µm" ) );
68 Append( wxT(
"cm" ) );
69 Append( wxT(
"mil" ) );
70 Append( wxT(
"inch" ) );
71 Append( wxT(
"oz/ft²" ) );
96 const wxPoint& pos,
const wxSize& size,
97 const wxArrayString& choices,
long style ):
100 Append(
_(
"GHz" ) );
101 Append(
_(
"MHz" ) );
102 Append(
_(
"kHz" ) );
125 const wxPoint& pos,
const wxSize& size,
126 const wxArrayString& choices,
long style ) :
129 Append(
_(
"rad" ) );
130 Append(
_(
"deg" ) );
150 const wxPoint& pos,
const wxSize& size,
151 const wxArrayString& choices,
long style )
154 Append( wxT(
"Ω" ) );
155 Append( wxT(
"kΩ" ) );
176 const wxPoint& pos,
const wxSize& size,
177 const wxArrayString& choices,
long style )
180 Append( wxT(
"Ω/m" ) );
181 Append( wxT(
"Ω/km" ) );
182 Append( wxT(
"Ω/ft" ) );
183 Append( wxT(
"Ω/1000ft" ) );
206 const wxPoint& pos,
const wxSize& size,
207 const wxArrayString& choices,
long style ) :
213 Append(
_(
"inch" ) );
214 Append(
_(
"feet" ) );
227 case 1:
return UNIT_M;
break;
251 const wxSize& size,
const wxArrayString& choices,
275 const wxSize& size,
const wxArrayString& choices,
284 const wxSize& size,
const wxArrayString& choices,
288 Append(
_(
"m/s" ) );
289 Append(
_(
"ft/s" ) );
290 Append(
_(
"km/h" ) );
291 Append(
_(
"mi/h" ) );
312 const wxSize& size,
const wxArrayString& choices,
UNIT_SELECTOR_ANGLE(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
Function GetUnitScale.
UNIT_SELECTOR_FREQUENCY(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
Function GetUnitScale.
double GetUnitScale() override
Function GetUnitScale.
UNIT_SELECTOR_LEN_CABLE(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
UNIT_SELECTOR_LEN(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
Function GetUnitScale.
UNIT_SELECTOR_LINEAR_RESISTANCE(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
Function GetUnitScale.
double GetUnitScale() override
Function GetUnitScale.
UNIT_SELECTOR_POWER(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
UNIT_SELECTOR_RESISTOR(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
Function GetUnitScale.
double GetUnitScale() override
Function GetUnitScale.
UNIT_SELECTOR_SPEED(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
UNIT_SELECTOR_THICKNESS(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
Function GetUnitScale.
UNIT_SELECTOR_TIME(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
Function GetUnitScale.
double GetUnitScale() override
Function GetUnitScale.
UNIT_SELECTOR_VOLTAGE(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
std::deque< BOARD_ITEM * > GetCurrentSelection()
Get the list of selected objects.
#define UNIT_MILES_PER_HOUR
#define UNIT_METER_PER_SECOND
#define UNIT_OHM_PER_METER
#define UNIT_KILOMETER_PER_HOUR
#define UNIT_FEET_PER_SECOND
#define UNIT_OHM_PER_FEET
#define UNIT_OHM_PER_1000FEET
#define UNIT_OHM_PER_KILOMETER