KiCad PCB EDA Suite
Loading...
Searching...
No Matches
grid_settings.cpp File Reference
#include <settings/grid_settings.h>
#include <json_common.h>
#include <wx/translation.h>
#include <core/json_serializers.h>
#include <units_provider.h>

Go to the source code of this file.

Functions

bool operator!= (const GRID &lhs, const GRID &rhs)
 
bool operator< (const GRID &lhs, const GRID &rhs)
 
void to_json (nlohmann::json &j, const GRID &g)
 
void from_json (const nlohmann::json &j, GRID &g)
 

Function Documentation

◆ from_json()

void from_json ( const nlohmann::json & j,
GRID & g )

Definition at line 88 of file grid_settings.cpp.

References GRID::name, GRID::x, and GRID::y.

◆ operator!=()

bool operator!= ( const GRID & lhs,
const GRID & rhs )

Definition at line 66 of file grid_settings.cpp.

◆ operator<()

bool operator< ( const GRID & lhs,
const GRID & rhs )

Definition at line 72 of file grid_settings.cpp.

References GRID::name.

◆ to_json()

void to_json ( nlohmann::json & j,
const GRID & g )

Definition at line 78 of file grid_settings.cpp.

References GRID::name, GRID::x, and GRID::y.