2#include "core/tool.hpp"
7 using ToolBase::ToolBase;
12 std::set<InToolActionID> get_actions()
const override
14 using I = InToolActionID;
22 I::AUTOPLACE_ALL_PINS,
23 I::AUTOPLACE_NEXT_PIN,
24 I::TOGGLE_NAME_ORIENTATION,
30 json serialize()
const override;
31 void load_from_json(
const json &j)
override;
32 Orientation orientation = Orientation::RIGHT;
43 std::vector<std::pair<const class Pin *, bool>> pins;
44 std::optional<UUID> map_pin_dialog();
45 unsigned int pin_index = 0;
49 void create_pin(
const UUID &uu);
50 bool can_autoplace()
const;
53 void update_annotation();
Definition annotation.hpp:7
This class encapsulates a UUID and allows it to be uses as a value type.
Definition uuid.hpp:16
a class to store JSON values
Definition json.hpp:177