|
| 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::map< ToolID, ToolSettings * > | get_all_settings () |
|
virtual std::set< InToolActionID > | get_actions () const |
|
virtual ToolResponse | begin (const ToolArgs &args)=0 |
| Gets called right after the constructor has finished.
|
|
virtual ToolResponse | update (const ToolArgs &args)=0 |
| Gets called whenever the user generated some sort of input.
|
|
virtual bool | can_begin () |
|
virtual bool | is_specific () |
|
|
static Orientation | transform_orientation (Orientation orientation, bool rotate, bool reverse=false) |
|
|
void | move_init (const Coordi &c) |
|
void | move_do (const Coordi &delta) |
|
Coordi | move_do_cursor (const Coordi &c) |
|
void | move_mirror_or_rotate (const Coordi ¢er, bool rotate) |
|
Coordi | get_delta () const |
|
virtual ToolSettings * | get_settings () |
|
void | cycle_restrict_mode () |
|
void | cycle_restrict_mode_xy () |
|
void | toogle_45_degrees_mode () |
|
std::string | restrict_mode_to_string () const |
|
Coordi | get_coord_restrict (const Coordi &old, const Coordi &cur) const |
|
|
std::set< SelectableRef > | selection |
|
enum class | RestrictMode { X
, Y
, ARB
, DEG45
} |
|
Documents | doc |
|
class ImpInterface * | imp = nullptr |
|
const ToolID | tool_id |
|
bool | is_transient = false |
|
RestrictMode | restrict_mode = RestrictMode::ARB |
|
The documentation for this class was generated from the following files: