Horizon
|
Public Member Functions | |
ToolChangeSymbol (IDocument *c, ToolID tid) | |
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 |
bool | is_specific () override |
![]() | |
ToolBase (class IDocument *c, ToolID tid) | |
![]() | |
ToolBase (class IDocument *c, ToolID tid) | |
void | set_imp_interface (class ImpInterface *i) |
void | set_transient () |
virtual void | apply_settings () |
virtual std::set< InToolActionID > | get_actions () const |
![]() | |
std::map< ToolID, ToolSettings * > | get_all_settings () override |
ToolBase (class IDocument *c, ToolID tid) | |
Additional Inherited Members | |
![]() | |
std::set< SelectableRef > | selection |
![]() | |
class SchematicSymbol * | get_symbol () |
![]() | |
virtual ToolSettings * | get_settings () |
![]() | |
class SchematicSymbol * | map_symbol (class Component *c, const class Gate *g, const UUID &sym_default=UUID()) |
const class Symbol * | get_symbol_for_unit (const UUID &unit_uu, bool *auto_selected=nullptr, const UUID &sym_default=UUID()) |
void | change_symbol (class SchematicSymbol *schsym) |
![]() | |
Documents | doc |
class ImpInterface * | imp = nullptr |
const ToolID | tool_id |
bool | is_transient = false |
|
overridevirtual |
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.
|
overridevirtual |
Reimplemented from horizon::ToolBase.
|
inlineoverridevirtual |
Reimplemented from horizon::ToolBase.