Rogue Wave Views |
Rogue Wave Views Documentation Home |
Interface used to create selection objects. More...
#include <ilviews/intrface/select.h>
Public Member Functions | |
virtual IlvDrawSelection * | makeSelection (IlvDisplay *display, IlvGraphic *obj) const =0 |
Returns the selection object for a given graphic object. More... | |
Interface used to create selection objects.
Library: views
This abstract class provides an interface to create the selection object that must be associated with a graphic object. The selection object is used to highlight and manipulate the selected object.
Each subclass must provide an implementation for the IlvSelectionInterface::makeSelection()
method. Each graphic class can then be associated with a specific IlvSelectionInterface
subclass using the DeclareInterface()
and IlvRegisterInterface()
macros.
First, add the following in the class declaration:
Then, add the following in the implementation file, outside the body of a function:
IlvGraphic
.
|
pure virtual |
Returns the selection object for a given graphic object.
display | The IlvDisplay used to draw the selection object. |
obj | The graphic object being considered. |
© 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.