Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Manager interactor class. More...
#include <ilviews/manager/mklinein.h>
Public Member Functions | |
IlvMakeReliefLineInteractor (IlvManager *manager, IlvView *view) | |
Constructor. | |
virtual void | doIt (IlvPoint &from, IlvPoint &to) |
Finalizes the interaction by creating an IlvReliefLine object. |
Manager interactor class.
Library: ilvmgr
Use this class to create IlvReliefLine
objects in a view controlled by a manager. The virtual member function handleEvent
monitors mouse events. To draw a line, the user:
Clicks the left mouse button to set the start point.
Drags the other end of the line by moving the mouse with the button held down.
Releases the mouse button to indicate the end point.
The member function drawGhost
displays the intermediate states of the line being defined.
IlvReliefLine
. IlvMakeReliefLineInteractor::IlvMakeReliefLineInteractor | ( | IlvManager * | manager, | |
IlvView * | view | |||
) |
Constructor.
Initializes a new instance of the IlvMakeReliefLineInteractor
class.
manager | The manager. | |
view | The manager view. |
Finalizes the interaction by creating an IlvReliefLine
object.
Creates an IlvReliefLine
in the manager, using the two points provided during the interaction.
from | The first point. | |
to | The second point. |
Reimplemented from IlvMakeLineInteractor.
© 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.