Inheritance diagram for ubit::UCtlAction:
Public Member Functions
|UCtlAction (float _xmag, float _ymag)|
|virtual void||setMag (float _xmag, float _ymag)|
|float||getXMag () const|
|float||getYMag () const|
Protected Member Functions
|virtual void||mdrag (UMouseEvent &e, UCtlmenu &)=0|
|called when the mouse is dragged (must be redefined by subclasses). |
|virtual void||operator() (UEvent &)|
|[impl] calls mdrag() with appropriate arguments (no need to redefine this method). |
|virtual void||addingTo (UChild *, UGroup *parent)|
|[impl] adds the UOn::mdrag event condition (no need to redefine this method). |
This class is intended to be subclassed by implementation classes that redefine the mdrag() method.
called when the mouse is dragged (must be redefined by subclasses).
This method is called repeatedly when one of the menu items has been selected and the mouse is being dragged. Note that e.isFirstDrag() returns true at the beginning of a drag sequence.