Horizon
src
core
tools
tool_smash_panel_outline.hpp
1
#pragma once
2
#include "core/tool.hpp"
3
4
namespace
horizon {
5
6
class
ToolSmashPanelOutline :
public
ToolBase {
7
public
:
8
ToolSmashPanelOutline(IDocument *c, ToolID tid);
9
ToolResponse
begin
(
const
ToolArgs
&args)
override
;
10
ToolResponse
update
(
const
ToolArgs
&args)
override
;
11
bool
can_begin
()
override
;
12
bool
is_specific
()
override
13
{
14
return
true
;
15
}
16
17
private
:
18
};
19
}
// namespace horizon
horizon::ToolSmashPanelOutline::is_specific
bool is_specific() override
Definition:
tool_smash_panel_outline.hpp:12
horizon::ToolSmashPanelOutline::can_begin
bool can_begin() override
horizon::ToolSmashPanelOutline::begin
ToolResponse begin(const ToolArgs &args) override
Gets called right after the constructor has finished.
horizon::ToolSmashPanelOutline::update
ToolResponse update(const ToolArgs &args) override
Gets called whenever the user generated some sort of input.
horizon::ToolResponse
To signal back to the core what the Tool did, a Tool returns a ToolResponse.
Definition:
tool.hpp:42
horizon::ToolArgs
This is what a Tool receives when the user did something.
Definition:
tool.hpp:23
Generated by
1.8.20