Rogue Wave Views
Manager Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvMakeReliefDiamondInteractor Class Reference

Manager interactor class. More...

#include <ilviews/manager/mkrelfin.h>

Inheritance diagram for IlvMakeReliefDiamondInteractor:
IlvDragRectangleInteractor IlvManagerViewInteractor IlvValueInterface

Public Member Functions

 IlvMakeReliefDiamondInteractor (IlvManager *manager, IlvView *view, IlUShort button=IlvLeftButton, IlBoolean snap=IlTrue)
 Constructor. More...
 
 IlvMakeReliefDiamondInteractor (IlUShort button=IlvLeftButton, IlBoolean snap=IlTrue)
 Constructor. More...
 
virtual void doIt (IlvRect &rect)
 Finalizes the interaction by creating an IlvReliefDiamond object. More...
 
IlUShort getThickness () const
 Returns the relief thickness. More...
 
void setThickness (IlUShort t)
 Sets the thickness used to create the IlvReliefDiamond 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...
 
virtual void drawGhost ()
 Visual feedback during the interaction. More...
 
IlvRectgetRectangle ()
 Returns the selected rectangle. More...
 
virtual IlBoolean 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)
 Initializes a new IlvManagerViewInteractor. More...
 
virtual void ensureVisible (const IlvPoint &point)
 Ensures the visibility of a given location. More...
 
IlvDisplaygetDisplay () const
 Returns the display of the manager view. More...
 
IlvManagergetManager () const
 Returns the manager. More...
 
IlvTransformergetTransformer () const
 Returns the transformer used with the manager view. More...
 
IlvViewgetView () const
 Returns the manager view. More...
 
virtual void handleExpose (IlvRegion *clip=0)
 Called when the manager view receives an expose event. More...
 

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() [1/2]

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

Constructor.

Initializes a new instance of the IlvMakeReliefDiamondInteractor class.

Parameters
managerThe manager.
viewThe manager view.
buttonSpecifies the pointing device button used for dragging the rectangle.
snapIf set to IlTrue, the rectangle snaps to the manager grid points. Otherwise it does not.

§ IlvMakeReliefDiamondInteractor() [2/2]

IlvMakeReliefDiamondInteractor::IlvMakeReliefDiamondInteractor ( IlUShort  button = IlvLeftButton,
IlBoolean  snap = IlTrue 
)

Constructor.

Initializes a new instance of the IlvMakeReliefDiamondInteractor class.

Member Function Documentation

§ doIt()

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
rectThe rectangle.

Reimplemented from IlvDragRectangleInteractor.

§ getThickness()

IlUShort IlvMakeReliefDiamondInteractor::getThickness ( ) const

Returns the relief thickness.

Returns
The thickness used to create the IlvReliefDiamond object.

§ setThickness()

void IlvMakeReliefDiamondInteractor::setThickness ( IlUShort  t)

Sets the thickness used to create the IlvReliefDiamond object.

Parameters
tThe new thickness value.

© Copyright 2017, 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.