some timeline work

This commit is contained in:
itsmattkc
2019-08-13 18:14:36 +10:00
parent 02ea535c8a
commit 03a0c64e15
6 changed files with 54 additions and 6 deletions
+5
View File
@@ -53,6 +53,11 @@ public:
*/
void AddNodeWithDependencies(Node* node);
/**
* @brief Removes a Node from the graph and destroys it
*/
void RemoveNode(Node* node);
/**
* @brief Retrieve a complete list of the nodes belonging to this graph
*/
+25
View File
@@ -55,6 +55,11 @@ private:
*/
void ConnectBlockInternal(Block* block);
/**
* @brief Disconnects t
*/
void RemoveBlockInternal();
/**
* @brief Adds a Block to the parent graph so it can be connected to other Nodes
*
@@ -107,6 +112,26 @@ private slots:
* the Sequence, a GapBlock is inserted to compensate.
*/
void PlaceBlock(Block* block, rational start);
/**
* @brief Removes a Block and places a Gap in its place
*/
void RemoveBlock(Block* block);
/**
* @brief Removes a Block pushing all subsequent Blocks earlier to take up the space
*/
void RippleRemoveBlock(Block* block);
/**
* @brief Removes the Block at the given index pushing all subsequent Blocks earlier to take up the space
*/
void RippleRemoveBlockAtIndex(int index);
/**
* @brief Removes the last Block of the Sequence at the given index
*/
void RippleRemoveLast();
};
#endif // TIMELINEOUTPUT_H