KiCad PCB EDA Suite
Loading...
Searching...
No Matches
grid_settings.cpp File Reference
#include <settings/grid_settings.h>
#include <nlohmann/json.hpp>
#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 90 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 68 of file grid_settings.cpp.

◆ operator<()

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

Definition at line 74 of file grid_settings.cpp.

References GRID::name.

◆ to_json()

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

Definition at line 80 of file grid_settings.cpp.

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