KiCad PCB EDA Suite
Loading...
Searching...
No Matches
grid_settings.h File Reference
#include <eda_units.h>
#include <wx/string.h>
#include <nlohmann/json_fwd.hpp>

Go to the source code of this file.

Classes

struct  GRID
 Common grid settings, available to every frame. More...
 
struct  GRID_SETTINGS
 

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.