Horizon
tool_import_dxf.hpp
1 #pragma once
2 #include "core.hpp"
3 
4 namespace horizon {
5 
6 class ToolImportDXF : public ToolBase {
7 public:
8  ToolImportDXF(Core *c, ToolID tid);
9  ToolResponse begin(const ToolArgs &args);
10  ToolResponse update(const ToolArgs &args);
11  bool can_begin();
12 
13 private:
14 };
15 } // namespace horizon
ToolResponse update(const ToolArgs &args)
Gets called whenever the user generated some sort of input.
Definition: tool_import_dxf.cpp:50
This is what a Tool receives when the user did something.
Definition: core.hpp:108
bool can_begin()
Definition: tool_import_dxf.cpp:13
ToolResponse begin(const ToolArgs &args)
Gets called right after the constructor has finished.
Definition: tool_import_dxf.cpp:18
Definition: tool_import_dxf.hpp:6
Where Tools and and documents meet.
Definition: core.hpp:249
To signal back to the core what the Tool did, a Tool returns a ToolResponse.
Definition: core.hpp:126
Definition: block.cpp:7
Common interface for all Tools.
Definition: core.hpp:170