![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Manager interactor class. More...
#include <ilviews/manager/mkround.h>
Public Member Functions | |
| IlvMakeRoundRectangleInteractor (IlUShort button=IlvLeftButton, IlBoolean snap=IlTrue) | |
| Constructor. | |
| IlvMakeRoundRectangleInteractor (IlvManager *manager, IlvView *view, IlUShort button=IlvLeftButton, IlBoolean snap=IlTrue) | |
| Constructor. | |
| virtual void | doIt (IlvRect &rect) |
Finalizes the interaction by creating an IlvRoundRectangle object. | |
| virtual void | drawGhost () |
| Visual feedback during the interaction. | |
Manager interactor class.
Library: ilvmgr
Use this class to allow the user to create an IlvRoundRectangle object.
IlvManager, IlvRoundRectangle, IlvMakeRectangleInteractor, IlvMakeReliefRectangleInteractor. | IlvMakeRoundRectangleInteractor::IlvMakeRoundRectangleInteractor | ( | IlvManager * | manager, | |
| IlvView * | view, | |||
| IlUShort | button = IlvLeftButton, |
|||
| IlBoolean | snap = IlTrue | |||
| ) |
Constructor.
Initializes a new instance of the IlvMakeRoundRectangleInteractor class.
| manager | The manager. | |
| view | The manager view. | |
| button | Specifies the pointing device button used for dragging the rectangle. | |
| snap | If set to IlTrue, the rectangle snaps to the manager grid points. Otherwise it does not. |
| IlvMakeRoundRectangleInteractor::IlvMakeRoundRectangleInteractor | ( | IlUShort | button = IlvLeftButton, |
|
| IlBoolean | snap = IlTrue | |||
| ) |
Constructor.
Initializes a new instance of the IlvMakeRoundRectangleInteractor class.
| button | Specifies the pointing device button used for dragging the rectangle. | |
| snap | If set to IlTrue, the rectangle snaps to the manager grid points. Otherwise it does not. |
| virtual void IlvMakeRoundRectangleInteractor::doIt | ( | IlvRect & | rect | ) | [virtual] |
Finalizes the interaction by creating an IlvRoundRectangle object.
Creates a new IlvRoundRectangle object in the manager from the rectangle provided during the interaction.
| rect | The rectangle. |
Reimplemented from IlvDragRectangleInteractor.
| virtual void IlvMakeRoundRectangleInteractor::drawGhost | ( | ) | [virtual] |
Visual feedback during the interaction.
Draws a rectangle using a special palette of the IlvManager object that draws in XOR mode.
Reimplemented from IlvDragRectangleInteractor.
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.