35using namespace std::placeholders;
42 SetIcon( BITMAPS::zoom_selection );
67 Append( ii++, wxString::Format(
_(
"Zoom: %.2f" ), factor ), wxEmptyString, wxITEM_CHECK );
73 for(
size_t jj = 0; jj < zoomList.size(); ++jj )
76 double rel_error = std::fabs( zoomList[jj] -
zoom ) /
zoom;
static TOOL_ACTION zoomPreset
virtual APP_SETTINGS_BASE * config() const
Returns the settings object used in SaveSettings(), and is overloaded in KICAD_MANAGER_FRAME.
The base class for create windows for drawing purpose.
virtual EDA_DRAW_PANEL_GAL * GetCanvas() const
Return a pointer to GAL-based canvas of given EDA draw frame.
KIGFX::GAL * GetGAL() const
Return a pointer to the GAL instance used in the panel.
double GetZoomFactor() const
@ ID_POPUP_ZOOM_LEVEL_START
std::vector< double > zoom_factors