Cumulia Illustrator Rendering Engine v1.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
cil::MouseWheeledAction Class Referenceabstract

#include <action.h>

Inheritance diagram for cil::MouseWheeledAction:
cil::MouseAction cil::ZoomAction

Public Member Functions

 MouseWheeledAction (std::shared_ptr< MouseWheeledAction > successor=nullptr)
 
virtual ~MouseWheeledAction ()
 
virtual Type type () const
 
MouseWheeledActionmouseWheel (const ivec2 &coord, bool up)
 
virtual bool wheel (const ivec2 &coord, bool up)=0
 
- Public Member Functions inherited from cil::MouseAction
 MouseAction (std::shared_ptr< MouseAction > successor=nullptr)
 
virtual ~MouseAction ()
 
std::shared_ptr< MouseActionsuccessor () const
 
void setSuccessor (std::shared_ptr< MouseAction > successor)
 

Additional Inherited Members

- Public Types inherited from cil::MouseAction
enum class  Type {
  Hover , Click , Drag , Hold ,
  Wheel
}
 
- Public Attributes inherited from cil::MouseAction
std::string name
 
- Protected Attributes inherited from cil::MouseAction
std::shared_ptr< MouseActionm_successor
 

Constructor & Destructor Documentation

◆ MouseWheeledAction()

cil::MouseWheeledAction::MouseWheeledAction ( std::shared_ptr< MouseWheeledAction > successor = nullptr)

◆ ~MouseWheeledAction()

virtual cil::MouseWheeledAction::~MouseWheeledAction ( )
virtual

Member Function Documentation

◆ mouseWheel()

MouseWheeledAction * cil::MouseWheeledAction::mouseWheel ( const ivec2 & coord,
bool up )

◆ type()

virtual Type cil::MouseWheeledAction::type ( ) const
virtual

Implements cil::MouseAction.

◆ wheel()

virtual bool cil::MouseWheeledAction::wheel ( const ivec2 & coord,
bool up )
pure virtual

Implemented in cil::ZoomAction.