Rogue Wave Views
Manager Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members
IlvReshapeObjectCommand Class Reference

Manager command class. More...

#include <ilviews/manager/commands.h>

Inheritance diagram for IlvReshapeObjectCommand:
IlvManagerCommand IlvCommand IlvAction

Additional Inherited Members

- Public Member Functions inherited from IlvManagerCommand
 IlvManagerCommand (IlvManager *manager)
 Constructor. More...
 
IlvManagergetManager () const
 Returns the manager. More...
 

Detailed Description

Manager command class.

Library: ilvmgr

The class IlvReshapeObjectCommand is a subclass of IlvManagerCommand that must be instantiated to record that objects have been reshaped, and make it possible to undo the operation. It is provided for compatibility purposes only.
To reshape objects while recording value changes, we suggest that you use the changeValue methods, which are more generic, on the object.

IlvValue v[4];
v[0] = IlvValue("x", newX);
v[1] = IlvValue("y", newY);
v[2] = IlvValue("width", newW);
v[1] = IlvValue("height", newH);
myObject->changeValues(v, 4);

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