Horizon
src
core
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
horizon::ToolImportDXF::update
ToolResponse update(const ToolArgs &args)
Gets called whenever the user generated some sort of input.
Definition:
tool_import_dxf.cpp:50
horizon::ToolArgs
This is what a Tool receives when the user did something.
Definition:
core.hpp:27
horizon::ToolImportDXF::can_begin
bool can_begin()
Definition:
tool_import_dxf.cpp:13
horizon::ToolImportDXF::begin
ToolResponse begin(const ToolArgs &args)
Gets called right after the constructor has finished.
Definition:
tool_import_dxf.cpp:18
horizon::ToolImportDXF
Definition:
tool_import_dxf.hpp:6
horizon::Core
Where Tools and and documents meet.
Definition:
core.hpp:232
horizon::ToolResponse
To signal back to the core what the Tool did, a Tool returns a ToolResponse.
Definition:
core.hpp:46
horizon
Definition:
block.cpp:9
horizon::ToolBase
Common interface for all Tools.
Definition:
core.hpp:133
Generated by
1.8.13