rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Manager Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvMakeReliefDiamondInteractor Class Reference

Manager interactor class. More...

#include <ilviews/manager/mkrelfin.h>

Inheritance diagram for IlvMakeReliefDiamondInteractor:
IlvDragRectangleInteractor IlvManagerViewInteractor

List of all members.

Public Member Functions

 IlvMakeReliefDiamondInteractor (IlUShort button=IlvLeftButton, IlBoolean snap=IlTrue)
 Constructor.
 IlvMakeReliefDiamondInteractor (IlvManager *manager, IlvView *view, IlUShort button=IlvLeftButton, IlBoolean snap=IlTrue)
 Constructor.
virtual void doIt (IlvRect &rect)
 Finalizes the interaction by creating an IlvReliefDiamond object.
IlUShort getThickness () const
 Returns the relief thickness.
void setThickness (IlUShort t)
 Sets the thickness used to create the IlvReliefDiamond object.

Detailed Description

Manager interactor class.

Library: ilvmgr

Use the global function IlvGetSymbol to get or create a symbol.

See also:
IlvManager, IlvRectangle, IlvMakeRectangleInteractor, IlvMakeReliefRectangleInteractor, IlvMakeRoundRectangleInteractor, IlvMakeEllipseInteractor, IlvMakeBitmapInteractor.

Constructor & Destructor Documentation

IlvMakeReliefDiamondInteractor::IlvMakeReliefDiamondInteractor ( IlvManager manager,
IlvView view,
IlUShort  button = IlvLeftButton,
IlBoolean  snap = IlTrue 
)

Constructor.

Initializes a new instance of the IlvMakeReliefDiamondInteractor class.

Parameters:
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.
IlvMakeReliefDiamondInteractor::IlvMakeReliefDiamondInteractor ( IlUShort  button = IlvLeftButton,
IlBoolean  snap = IlTrue 
)

Constructor.

Initializes a new instance of the IlvMakeReliefDiamondInteractor class.


Member Function Documentation

virtual void IlvMakeReliefDiamondInteractor::doIt ( IlvRect rect  )  [virtual]

Finalizes the interaction by creating an IlvReliefDiamond object.

Creates a new IlvReliefDiamond object in the manager from the rectangle provided during the interaction.

Parameters:
rect The rectangle.

Reimplemented from IlvDragRectangleInteractor.

IlUShort IlvMakeReliefDiamondInteractor::getThickness (  )  const

Returns the relief thickness.

Returns:
The thickness used to create the IlvReliefDiamond object.
void IlvMakeReliefDiamondInteractor::setThickness ( IlUShort  t  ) 

Sets the thickness used to create the IlvReliefDiamond object.

Parameters:
t The new thickness value.

© 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.