2 #include "core/tool.hpp"
3 #include "tool_helper_line_width_setting.hpp"
9 using ToolHelperLineWidthSetting::ToolHelperLineWidthSetting;
13 void apply_settings()
override;
14 std::set<InToolActionID> get_actions()
const override
16 using I = InToolActionID;
18 I::LMB, I::CANCEL, I::RMB, I::RECTANGLE_MODE, I::ENTER_WIDTH,
23 std::set<class Line *> lines;
24 enum class Mode { CENTER, CORNER };
26 Mode mode = Mode::CENTER;
31 std::array<class Junction *, 4> junctions;
33 void update_junctions();