diff options
| author | Rusty Wagner <rusty@vector35.com> | 2015-03-21 22:37:06 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2015-03-21 22:37:06 -0400 |
| commit | d056d837d0da994a99b1d8d7a1c2325e6108e059 (patch) | |
| tree | f213156166af77828a8a6976d3fc55fc53695c7d /functiongraph.cpp | |
| parent | a8eb816d382a138c8ea4b535dcf104590424095f (diff) | |
Add maximum symbol name length in graph view
Diffstat (limited to 'functiongraph.cpp')
| -rw-r--r-- | functiongraph.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/functiongraph.cpp b/functiongraph.cpp index 1f676618..d6f9a85a 100644 --- a/functiongraph.cpp +++ b/functiongraph.cpp @@ -50,6 +50,18 @@ void FunctionGraph::SetBlockMargins(int horiz, int vert) } +size_t FunctionGraph::GetMaximumSymbolWidth() const +{ + return BNGetFunctionGraphMaximumSymbolWidth(m_graph); +} + + +void FunctionGraph::SetMaximumSymbolWidth(size_t width) +{ + BNSetFunctionGraphMaximumSymbolWidth(m_graph, width); +} + + void FunctionGraph::StartLayout() { BNStartFunctionGraphLayout(m_graph); |
