#include <cancom.h>


Public Member Functions | |
| a2dCommand_SetFlag (a2dCanvasObject *object, a2dCanvasObjectFlagsMask which, bool value) | |
| given flag of object set to value | |
| virtual a2dCommand * | CloneAndBind (a2dPropObject *object) |
| Copy and instantiate the command. | |
| bool | Do () |
| bool | Undo () |
| a2dCanvasCommandProcessor * | GetCanvasCmp () |
Static Public Attributes | |
| static const a2dCommandId | Id |
Protected Attributes | |
| a2dCanvasObjectPtr | m_canvasobject |
| a2dCanvasObjectFlagsMask | m_which |
| bool | m_bool |
Definition at line 1006 of file cancom.h.
| a2dCommand * a2dCommand_SetFlag::CloneAndBind | ( | a2dPropObject * | object | ) | [virtual] |
Copy and instantiate the command.
This is usefull for commands that are used as command templates in widgets. The widget owns a command template, that is not bound to an object. This function clones the command object and binds it to the given object.
\param object for which the command is to be generated.
Reimplemented from a2dCommand.
Definition at line 2603 of file cancom.cpp.