|
Krita Source Code Documentation
|
Public Member Functions | |
| void | doRedoUpdates () |
| void | doUndoUpdates () |
| MoveNodeStruct (KisImageSP _image, KisNodeSP _node, KisNodeSP _parent, KisNodeSP _above) | |
| bool | tryMerge (const MoveNodeStruct &rhs) |
Public Attributes | |
| KisImageSP | image |
| KisNodeSP | newAbove |
| KisNodeSP | newParent |
| KisNodeSP | node |
| KisNodeSP | oldAbove |
| KisNodeSP | oldParent |
| bool | suppressNewParentRefresh |
| bool | suppressOldParentRefresh |
A special structure that stores information about a node that was moved. The purpose of the object is twofold:
1) When the reordering stroke is already started than the parent and sibling nodes may be not consistent anymore. So we store it separately. 2) This objects allows merging (compressing) multiple moves of a layer into a single action. This behavior is implemented in tryMerge() method.
Definition at line 40 of file kis_node_juggler_compressed.cpp.
|
inline |
Definition at line 41 of file kis_node_juggler_compressed.cpp.
|
inline |
Definition at line 74 of file kis_node_juggler_compressed.cpp.
References KisImage::bounds(), image, newParent, node, NoFilthy, oldParent, KisImage::refreshGraphAsync(), KisNode::setDirty(), and suppressOldParentRefresh.
|
inline |
Definition at line 84 of file kis_node_juggler_compressed.cpp.
References KisImage::bounds(), image, newParent, node, NoFilthy, oldParent, KisImage::refreshGraphAsync(), KisNode::setDirty(), and suppressNewParentRefresh.
|
inline |
| KisImageSP MoveNodeStruct::image |
Definition at line 94 of file kis_node_juggler_compressed.cpp.
| KisNodeSP MoveNodeStruct::newAbove |
Definition at line 97 of file kis_node_juggler_compressed.cpp.
| KisNodeSP MoveNodeStruct::newParent |
Definition at line 96 of file kis_node_juggler_compressed.cpp.
| KisNodeSP MoveNodeStruct::node |
Definition at line 95 of file kis_node_juggler_compressed.cpp.
| KisNodeSP MoveNodeStruct::oldAbove |
Definition at line 100 of file kis_node_juggler_compressed.cpp.
| KisNodeSP MoveNodeStruct::oldParent |
Definition at line 99 of file kis_node_juggler_compressed.cpp.
| bool MoveNodeStruct::suppressNewParentRefresh |
Definition at line 101 of file kis_node_juggler_compressed.cpp.
| bool MoveNodeStruct::suppressOldParentRefresh |
Definition at line 102 of file kis_node_juggler_compressed.cpp.