Horizon
|
Classes | |
class | Settings |
Public Member Functions | |
ToolPlaceText (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 |
const ToolSettings * | get_settings_const () const override |
void | apply_settings () override |
std::set< InToolActionID > | get_actions () const override |
ToolPlaceText (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 |
const ToolSettings * | get_settings_const () const override |
void | apply_settings () override |
std::set< InToolActionID > | get_actions () const override |
![]() | |
ToolHelperMove (class IDocument *c, ToolID tid) | |
ToolHelperMove (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 |
ToolSettingsProxy | get_settings_proxy () |
ToolBase (class IDocument *c, ToolID tid) | |
void | set_imp_interface (class ImpInterface *i) |
void | set_transient () |
virtual ToolID | get_tool_id_for_settings () const |
ToolSettingsProxy | get_settings_proxy () |
Protected Member Functions | |
ToolSettings * | get_settings () override |
ToolSettings * | get_settings () override |
![]() | |
void | move_init (const Coordi &c) |
void | move_do (const Coordi &delta) |
void | move_do_cursor (const Coordi &c) |
void | move_mirror_or_rotate (const Coordi ¢er, bool rotate) |
Coordi | get_delta () const |
void | move_init (const Coordi &c) |
void | move_do (const Coordi &delta) |
void | move_do_cursor (const Coordi &c) |
void | move_mirror_or_rotate (const Coordi ¢er, bool rotate) |
Coordi | get_delta () 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 |
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 |
Additional Inherited Members | |
![]() | |
static Orientation | transform_orientation (Orientation orientation, bool rotate, bool reverse=false) |
static Orientation | transform_orientation (Orientation orientation, bool rotate, bool reverse=false) |
![]() | |
std::set< SelectableRef > | selection |
![]() | |
enum | RestrictMode { X, Y, ARB, X, Y, ARB } |
enum | RestrictMode { X, Y, ARB, X, Y, ARB } |
![]() | |
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.
|
overridevirtual |
Reimplemented from horizon::ToolBase.
|
overridevirtual |
Reimplemented from horizon::ToolBase.