37 using namespace std::placeholders;
49 Append( i++,
wxString::Format(
_(
"Zoom: %.2f" ), factor ), wxEmptyString, wxITEM_CHECK );
67 for(
size_t i = 0; i < zoomList.size(); ++i )
70 double rel_error = std::fabs( zoomList[i] - 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.
virtual EDA_DRAW_PANEL_GAL * GetCanvas() const
Return a pointer to GAL-based canvas of given EDA draw frame.
The base class for create windows for drawing purpose.
std::vector< double > zoom_factors
const BITMAP_OPAQUE zoom_selection_xpm[1]
KIGFX::GAL * GetGAL() const
Return a pointer to the GAL instance used in the panel.
double GetZoomFactor() const
Get the zoom factor.
void Format(OUTPUTFORMATTER *out, int aNestLevel, int aCtl, const CPTREE &aTree)
Output a PTREE into s-expression format via an OUTPUTFORMATTER derivative.