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

KICOMMON_API bool operator!= (const GRID &lhs, const GRID &rhs)
 
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)
 

Function Documentation

◆ from_json()

KICOMMON_API 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!=()

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

Definition at line 68 of file grid_settings.cpp.

◆ operator<()

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

Definition at line 74 of file grid_settings.cpp.

References GRID::name.

◆ to_json()

KICOMMON_API 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.