Horizon
|
To signal back to the core what the Tool did, a Tool returns a ToolResponse. More...
#include <core.hpp>
Static Public Member Functions | |
static ToolResponse | end () |
Use this if you're done. More... | |
static ToolResponse | fast () |
static ToolResponse | change_layer (int l) |
Use this for changing the work layer from a Tool. | |
static ToolResponse | next (ToolID t, std::unique_ptr< ToolData > data=nullptr) |
If you want another Tool to be launched you've finished, use this one. | |
Public Attributes | |
ToolID | next_tool = ToolID::NONE |
std::unique_ptr< ToolData > | data = nullptr |
bool | end_tool = false |
int | layer = 10000 |
bool | fast_draw = false |
To signal back to the core what the Tool did, a Tool returns a ToolResponse.
|
inlinestatic |
Use this if you're done.
The Core will then delete the active tool and initiate a rebuild.