2 #include "core/tool.hpp"
3 #include "canvas/selectables.hpp"
4 #include "util/placement.hpp"
5 #include "tool_helper_collect_nets.hpp"
6 #include "tool_helper_save_placements.hpp"
12 using ToolBase::ToolBase;
21 std::set<InToolActionID> get_actions()
const override
23 using I = InToolActionID;
25 I::LMB, I::CANCEL, I::RMB, I::ENTER_DATUM, I::TOGGLE_ANGLE_SNAP,
35 void expand_selection();
37 void apply_placements_rotation(
int angle);
38 void apply_placements_scale(
double sc);
39 enum class State { ORIGIN, ROTATE, REF, SCALE };
40 State state = State::ORIGIN;
41 class CanvasAnnotation *annotation =
nullptr;
43 void update_airwires(
bool fast);