![]() |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Manager interactor class. More...
#include <ilviews/manager/mkrelfin.h>
Public Member Functions | |
| IlvMakeReliefRectangleInteractor (IlvManager *manager, IlvView *view, IlUShort button=IlvLeftButton, IlBoolean snap=IlTrue) | |
| Constructor. More... | |
| IlvMakeReliefRectangleInteractor (IlUShort button=IlvLeftButton, IlBoolean snap=IlTrue) | |
| Constructor. More... | |
| virtual void | doIt (IlvRect &rect) |
Finalizes the interaction by creating an IlvReliefRectangle object. More... | |
| virtual void | drawGhost () |
| Visual feedback during the interaction. More... | |
| IlUShort | getThickness () const |
| Returns the relief thickness. More... | |
| void | setThickness (IlUShort t) |
Sets the thickness used to create the IlvReliefRectangle object. More... | |
Public Member Functions inherited from IlvDragRectangleInteractor | |
| IlvDragRectangleInteractor (IlvManager *manager, IlvView *view, IlUShort button=IlvLeftButton, IlBoolean snap=IlTrue) | |
| Constructor. More... | |
| virtual void | abort () |
| Abort the interaction. More... | |
| virtual void | doPoint (const IlvPoint &p) |
| Called when the selected rectangle is reduced to a point. More... | |
| IlvRect & | getRectangle () |
| Returns the selected rectangle. More... | |
| virtual void | handleEvent (IlvEvent &event) |
| Handles keyboard and mouse events. More... | |
| virtual void | init () |
| Initialization, when the interactor is attached to a view. More... | |
Public Member Functions inherited from IlvManagerViewInteractor | |
| IlvManagerViewInteractor (IlvManager *manager, IlvView *view) | |
| Constructor. More... | |
| virtual void | ensureVisible (const IlvPoint &point) |
| Ensures the visibility of a given location. More... | |
| IlvDisplay * | getDisplay () const |
| Returns the display of the manager view. More... | |
| IlvManager * | getManager () const |
| Returns the manager. More... | |
| IlvTransformer * | getTransformer () const |
| Returns the transformer used with the manager view. More... | |
| IlvView * | getView () const |
| Returns the manager view. More... | |
| virtual void | handleExpose (IlvRegion *clip=0) |
| Called when the manager view receives an expose event. More... | |
Manager interactor class.
Library: ilvmgr
Use this class to allow the user to create an IlvReliefRectangle object.
| IlvMakeReliefRectangleInteractor::IlvMakeReliefRectangleInteractor | ( | IlvManager * | manager, |
| IlvView * | view, | ||
| IlUShort | button = IlvLeftButton, |
||
| IlBoolean | snap = IlTrue |
||
| ) |
Constructor.
Initializes a new instance of the IlvMakeReliefRectangleInteractor 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. |
| IlvMakeReliefRectangleInteractor::IlvMakeReliefRectangleInteractor | ( | IlUShort | button = IlvLeftButton, |
| IlBoolean | snap = IlTrue |
||
| ) |
Constructor.
Initializes a new instance of the IlvMakeReliefRectangleInteractor 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 |
Finalizes the interaction by creating an IlvReliefRectangle object.
Creates a new IlvReliefRectangle object in the manager from the rectangle provided during the interaction.
| rect | The rectangle. |
Reimplemented from IlvDragRectangleInteractor.
|
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.
| IlUShort IlvMakeReliefRectangleInteractor::getThickness | ( | ) | const |
Returns the relief thickness.
IlvReliefRectangle object. | void IlvMakeReliefRectangleInteractor::setThickness | ( | IlUShort | t | ) |
Sets the thickness used to create the IlvReliefRectangle object.
| t | The new thickness value. |
© Copyright 2015, 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.