Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Manager command class. More...
#include <ilviews/manager/commands.h>
Public Member Functions | |
IlvChangeLayerCommand (IlvManager *m, int toLayer=0, IlUInt n=0, IlvGraphic *const *o=0, int *fromLayers=0, int *fromOrder=0) | |
Constructor. More... | |
Public Member Functions inherited from IlvManagerCommand | |
IlvManagerCommand (IlvManager *manager) | |
Constructor. More... | |
IlvManager * | getManager () const |
Returns the manager. More... | |
Manager command class.
Library: ilvmgr
The class IlvChangeLayerCommand
is a subclass of IlvManagerCommand
that must be instantiated to record the modifications made to object layers and make it possible to undo or redo these modifications.
IlvChangeLayerCommand::IlvChangeLayerCommand | ( | IlvManager * | m, |
int | toLayer = 0 , |
||
IlUInt | n = 0 , |
||
IlvGraphic *const * | o = 0 , |
||
int * | fromLayers = 0 , |
||
int * | fromOrder = 0 |
||
) |
Constructor.
m | The manager to which the command is added. |
toLayer | The layer to which the objects are moved. |
n | The number of objects to be moved. If this number is 0 , the selected objects will be moved. |
o | The objects to be moved (if different from 0). |
fromLayers | If different from 0, the command is considered to have been executed, and this array contains the values of the layers to which the objects belonged before the move. However, it is easier to leave this parameter to 0 and let the execute method of the command determine the state to be recorded before executing the command. |
fromOrder | If different from 0, the command is considered to have been executed, and this array contains the initial order of the moved objects in each layer. However, it is easier to leave this parameter to 0 and let the execute method of the command determine the state to be recorded before executing the command. |
© 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.