25#ifndef SCH_EDITOR_CONDITIONS_H_
26#define SCH_EDITOR_CONDITIONS_H_
The base frame for deriving all KiCad main window classes.
The base class for create windows for drawing purpose.
Class that groups generic conditions for editor states.
A shim class between EDA_DRAW_FRAME and several derived classes: SYMBOL_EDIT_FRAME,...
Group generic conditions for PCB editor states.
static bool lineModeFunc(const SELECTION &aSelection, SCH_BASE_FRAME *aFrame, LINE_MODE aMode)
< Helper function used by LineMode().
SCH_EDITOR_CONDITIONS(SCH_BASE_FRAME *aFrame)
SELECTION_CONDITION LineMode(LINE_MODE aMode)
Create a functor that tests if the frame is in the specified line drawing mode.
std::function< bool(const SELECTION &)> SELECTION_CONDITION
Functor type that checks a specific condition for selected items.