summaryrefslogtreecommitdiff
path: root/flowgraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'flowgraph.cpp')
-rw-r--r--flowgraph.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/flowgraph.cpp b/flowgraph.cpp
index 1bbf7fc3..257764c9 100644
--- a/flowgraph.cpp
+++ b/flowgraph.cpp
@@ -275,12 +275,24 @@ int FlowGraph::GetWidth() const
}
+void FlowGraph::SetWidth(int width)
+{
+ BNFlowGraphSetWidth(m_object, width);
+}
+
+
int FlowGraph::GetHeight() const
{
return BNGetFlowGraphHeight(m_object);
}
+void FlowGraph::SetHeight(int height)
+{
+ BNFlowGraphSetHeight(m_object, height);
+}
+
+
vector<Ref<FlowGraphNode>> FlowGraph::GetNodesInRegion(int left, int top, int right, int bottom)
{
size_t count;