Horizon
tool_settings_rectangle_mode.hpp
1 #pragma once
2 #include "core/tool.hpp"
3 
4 namespace horizon {
6 public:
7  json serialize() const override;
8  void load_from_json(const json &j) override;
9  enum class Mode { CENTER, CORNER };
10  Mode mode = Mode::CENTER;
11  void cycle_mode();
12 };
13 } // namespace horizon
Definition: tool_settings_rectangle_mode.hpp:5
Definition: tool_pub.hpp:82
a class to store JSON values
Definition: json.hpp:177