Horizon
|
Public Member Functions | |
ToolDrawLine (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 |
std::set< InToolActionID > | get_actions () const override |
void | apply_settings () override |
ToolDrawLine (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 |
std::set< InToolActionID > | get_actions () const override |
void | apply_settings () override |
![]() | |
ToolHelperLineWidthSetting (IDocument *c, ToolID tid) | |
const ToolSettings * | get_settings_const () const override |
ToolID | get_tool_id_for_settings () const override |
ToolHelperLineWidthSetting (IDocument *c, ToolID tid) | |
const ToolSettings * | get_settings_const () const override |
ToolID | get_tool_id_for_settings () const override |
![]() | |
ToolBase (class IDocument *c, ToolID tid) | |
void | set_imp_interface (class ImpInterface *i) |
void | set_transient () |
ToolSettingsProxy | get_settings_proxy () |
virtual bool | is_specific () |
ToolBase (class IDocument *c, ToolID tid) | |
void | set_imp_interface (class ImpInterface *i) |
void | set_transient () |
ToolSettingsProxy | get_settings_proxy () |
virtual bool | is_specific () |
Additional Inherited Members | |
![]() | |
std::set< SelectableRef > | selection |
![]() | |
enum | RestrictMode { X, Y, ARB, X, Y, ARB } |
enum | RestrictMode { X, Y, ARB, X, Y, ARB } |
![]() | |
ToolSettings * | get_settings () override |
void | ask_line_width () |
ToolSettings * | get_settings () override |
void | ask_line_width () |
![]() | |
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 |
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 |
![]() | |
Settings | settings |
![]() | |
Documents | doc |
class ImpInterface * | imp = nullptr |
ToolID | tool_id |
bool | is_transient = false |
![]() | |
RestrictMode | restrict_mode = RestrictMode::ARB |
|
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 |
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.
|
overridevirtual |
Reimplemented from horizon::ToolBase.