21#ifndef _GRID_SETTINGS_H
22#define _GRID_SETTINGS_H
26#include <nlohmann/json_fwd.hpp>
bool operator==(const wxAuiPaneInfo &aLhs, const wxAuiPaneInfo &aRhs)
KICOMMON_API bool operator<(const GRID &lhs, const GRID &rhs)
KICOMMON_API void to_json(nlohmann::json &j, const GRID &g)
KICOMMON_API void from_json(const nlohmann::json &j, GRID &g)
KICOMMON_API bool operator!=(const GRID &lhs, const GRID &rhs)
int override_connected_idx
bool force_component_snap
std::vector< GRID > grids
int override_graphics_idx
Common grid settings, available to every frame.
wxString UserUnitsMessageText(UNITS_PROVIDER *aProvider, bool aDisplayUnits=true) const
Returns a string representation of the grid in the user's units.
wxString MessageText(EDA_IU_SCALE aScale, EDA_UNITS aUnits, bool aDisplayUnits=true) const
Returns a string representation of the grid in specified units.
VECTOR2D ToDouble(EDA_IU_SCALE aScale) const
VECTOR2< double > VECTOR2D