Skip to content

Commit c73a6e7

Browse files
committed
gui: rename function for wiregraph handling
Signed-off-by: Peter Gadfort <peter.gadfort@gmail.com>
1 parent 7ebda0c commit c73a6e7

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/gui/src/dbDescriptors.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,9 +1114,9 @@ void DbNetDescriptor::findSourcesAndSinksInGraph(
11141114
sink_nodes.insert(sinks_nodes.begin(), sinks_nodes.end());
11151115
}
11161116

1117-
void DbNetDescriptor::drawPathSegment(odb::dbNet* net,
1118-
const odb::dbObject* sink,
1119-
Painter& painter) const
1117+
void DbNetDescriptor::drawPathSegmentWithGraph(odb::dbNet* net,
1118+
const odb::dbObject* sink,
1119+
Painter& painter) const
11201120
{
11211121
odb::dbWireGraph graph;
11221122
graph.decode(net->getWire());
@@ -1482,7 +1482,7 @@ void DbNetDescriptor::highlight(std::any object, Painter& painter) const
14821482
if (wire) {
14831483
draw_flywires = false;
14841484
if (sink_object != nullptr) {
1485-
drawPathSegment(net, sink_object, painter);
1485+
drawPathSegmentWithGraph(net, sink_object, painter);
14861486
}
14871487

14881488
odb::dbWireShapeItr it;

src/gui/src/dbDescriptors.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ class DbNetDescriptor : public BaseDbDescriptor<odb::dbNet>
182182

183183
std::set<odb::Line> convertGuidesToLines(odb::dbNet* net) const;
184184

185-
void drawPathSegment(odb::dbNet* net,
186-
const odb::dbObject* sink,
187-
Painter& painter) const;
185+
void drawPathSegmentWithGraph(odb::dbNet* net,
186+
const odb::dbObject* sink,
187+
Painter& painter) const;
188188
void findSourcesAndSinksInGraph(odb::dbNet* net,
189189
const odb::dbObject* sink,
190190
odb::dbWireGraph* graph,

0 commit comments

Comments
 (0)