30using namespace std::placeholders;
Helper class to handle information needed to display 3D board.
EDA_3D_VIEWER_SETTINGS * m_Cfg
SELECTION_CONDITION GridSize(GRID3D_TYPE aGridSize)
Creates a functor that tests the current grid size.
static bool gridSizeFunction(const SELECTION &aSelection, BOARD_ADAPTER *aAdapter, GRID3D_TYPE aGridSize)
Helper function used by GridDize().
BOARD_ADAPTER * m_adapter
The board adapter to read the 3D viewer state from.
std::function< bool(const SELECTION &)> SELECTION_CONDITION
Functor type that checks a specific condition for selected items.