Horizon
Loading...
Searching...
No Matches
src
core
tools
tool_settings_rectangle_mode.hpp
1
#pragma once
2
#include "core/tool.hpp"
3
4
namespace
horizon {
5
class
ToolSettingsRectangleMode
:
public
ToolSettings
{
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
horizon::ToolSettingsRectangleMode
Definition
tool_settings_rectangle_mode.hpp:5
horizon::ToolSettings
Definition
tool_pub.hpp:82
nlohmann::basic_json
a class to store JSON values
Definition
json.hpp:177
Generated by
1.9.8