diff options
Diffstat (limited to 'flowgraphnode.cpp')
| -rw-r--r-- | flowgraphnode.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/flowgraphnode.cpp b/flowgraphnode.cpp index 8a7270d2..e1e2351a 100644 --- a/flowgraphnode.cpp +++ b/flowgraphnode.cpp @@ -66,6 +66,18 @@ void FlowGraphNode::SetBasicBlock(BasicBlock* block) } +void FlowGraphNode::SetX(int x) +{ + BNFlowGraphNodeSetX(m_object, x); +} + + +void FlowGraphNode::SetY(int y) +{ + BNFlowGraphNodeSetY(m_object, y); +} + + int FlowGraphNode::GetX() const { return BNGetFlowGraphNodeX(m_object); @@ -225,3 +237,9 @@ bool FlowGraphNode::IsValidForGraph(FlowGraph* graph) const { return BNIsNodeValidForFlowGraph(graph->GetObject(), m_object); } + + +void FlowGraphNode::SetVisibilityRegion(int x, int y, int w, int h) +{ + BNFlowGraphNodeSetVisibilityRegion(m_object, x, y, w, h); +} |
