2#include "core/tool.hpp"
3#include "tool_helper_restrict.hpp"
8 using ToolBase::ToolBase;
12 std::set<InToolActionID> get_actions()
const override
14 using I = InToolActionID;
16 I::LMB, I::CANCEL, I::RMB, I::RESTRICT, I::DIMENSION_MODE, I::ENTER_DATUM, I::ENTER_SIZE,
22 json serialize()
const override;
23 void load_from_json(
const json &j)
override;
24 uint64_t label_size = 1.5_mm;
32 void apply_settings()
override;
38 enum class State { P0, P1, LABEL };
39 State state = State::P0;
Definition dimension.hpp:9
a class to store JSON values
Definition json.hpp:177