|
ToolResponse | begin (const ToolArgs &args) override |
| Gets called right after the constructor has finished. More...
|
|
ToolResponse | update (const ToolArgs &args) override |
| Gets called whenever the user generated some sort of input.
|
|
bool | can_begin () override |
|
std::set< InToolActionID > | get_actions () const override |
|
| ToolBase (class IDocument *c, ToolID tid) |
|
| ToolBase (class IDocument *c, ToolID tid) |
|
void | set_imp_interface (class ImpInterface *i) |
|
void | set_transient () |
|
virtual ToolID | get_tool_id_for_settings () const |
|
virtual ToolSettings * | get_settings () |
|
virtual void | apply_settings () |
|
virtual bool | is_specific () |
|
|
virtual ToolResponse | commit () |
|
void | cycle_restrict_mode () |
|
void | cycle_restrict_mode_xy () |
|
std::string | restrict_mode_to_string () const |
|
Coordi | get_coord_restrict (const Coordi &old, const Coordi &cur) const |
|
|
Polygon * | temp = nullptr |
|
Documents | doc |
|
class ImpInterface * | imp = nullptr |
|
ToolID | tool_id |
|
bool | is_transient = false |
|
RestrictMode | restrict_mode = RestrictMode::ARB |
|
|
std::set< SelectableRef > | selection |
|
enum class | RestrictMode { X
, Y
, ARB
} |
|
◆ begin()
Gets called right after the constructor has finished.
Used to get the initial placement right and set things up. For non-interactive Tools (e.g. DELETE), this one may return ToolResponse::end()
Implements horizon::ToolBase.
◆ can_begin()
bool horizon::ToolDrawPolygon::can_begin |
( |
| ) |
|
|
overridevirtual |
- Returns
- true if this Tool can begin in sensible way
Reimplemented from horizon::ToolBase.
The documentation for this class was generated from the following files: