Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Manager interactor class. More...
#include <ilviews/manager/utilint.h>
Public Member Functions | |
IlvMakeBitmapInteractor (IlvManager *manager, IlvView *view, IlBoolean zoomable=IlFalse) | |
Constructor. | |
virtual void | doIt (IlvRect &) |
Finalizes the interaction by creating an icon object. |
Manager interactor class.
Library: ilvmgr
Use this class to create icons or zoomable icons. These are the same as those created by the class IlvIcon
for the icons, and IlvZoomableIcon
for the zoomable icons.
IlvBitmap
, IlvIcon
, IlvManager
, IlvZoomableIcon
. IlvMakeBitmapInteractor::IlvMakeBitmapInteractor | ( | IlvManager * | manager, | |
IlvView * | view, | |||
IlBoolean | zoomable = IlFalse | |||
) |
Constructor.
Initializes a new instance of the IlvMakeBitmapInteractor
class. It also specifies whether the created icon will be zoomable (zoomable = IlTrue
).
manager | The manager. | |
view | The manager view. | |
zoomable | Specifies whether the icon object to create is zoomable. |
virtual void IlvMakeBitmapInteractor::doIt | ( | IlvRect & | ) | [virtual] |
Finalizes the interaction by creating an icon object.
Creates a new icon of the size of rect in the manager. Depending on the value of the zoomable parameter given in the constructor, the method creates an instance of IlvIcon
(IlTrue
) or an instance of IlvZoomableIcon
(IlFalse
). The bitmap data is copied from the view area defined by the rect parameter.
rect | The rectangular area in the view. |
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.