Horizon
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
horizon::ToolHelperMove Class Reference
Inheritance diagram for horizon::ToolHelperMove:
horizon::ToolBase horizon::ToolAddPart horizon::ToolMapSymbol horizon::ToolMove horizon::ToolPaste

Public Member Functions

 ToolHelperMove (class Core *c, ToolID tid)
 
- Public Member Functions inherited from horizon::ToolBase
 ToolBase (class Core *c, ToolID tid)
 
void set_imp_interface (class ImpInterface *i)
 
void set_transient ()
 
virtual ToolResponse begin (const ToolArgs &args)=0
 Gets called right after the constructor has finished. More...
 
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 ()
 
virtual bool handles_esc ()
 

Static Public Member Functions

static Orientation transform_orienation (Orientation orientation, bool rotate, bool reverse=false)
 

Protected Member Functions

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 &center, bool rotate)
 

Additional Inherited Members

- Protected Attributes inherited from horizon::ToolBase
Cores core
 
class ImpInterfaceimp = nullptr
 
ToolID tool_id = ToolID::NONE
 
bool is_transient = false
 

The documentation for this class was generated from the following files: