2#include "core/tool.hpp"
3#include "tool_helper_line_width_setting.hpp"
4#include "tool_settings_rectangle_mode.hpp"
10 using ToolHelperLineWidthSetting::ToolHelperLineWidthSetting;
14 void apply_settings()
override;
15 std::set<InToolActionID> get_actions()
const override
17 using I = InToolActionID;
19 I::LMB, I::CANCEL, I::RMB, I::RECTANGLE_MODE, I::ENTER_WIDTH,
23 std::map<ToolID, ToolSettings *> get_all_settings()
override;
26 std::set<class Line *> lines;
28 using Mode = ToolSettingsRectangleMode::Mode;
34 std::array<class Junction *, 4> junctions;
36 void update_junctions();