Skip to content

Commit e1951bc

Browse files
committed
gui: add shape clear callback for bpin placement
Signed-off-by: Peter Gadfort <[email protected]>
1 parent c16cb70 commit e1951bc

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/gui/src/search.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ void Search::inDbBPinDestroy(odb::dbBPin* pin)
7676
clearShapes();
7777
}
7878

79+
void Search::inDbBPinPlacementStatusBefore(odb::dbBPin* pin,
80+
const odb::dbPlacementStatus& status)
81+
{
82+
clearShapes();
83+
}
84+
7985
void Search::inDbFillCreate(odb::dbFill* fill)
8086
{
8187
clearFills();

src/gui/src/search.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ class Search : public QObject, public odb::dbBlockCallBackObj
229229
void inDbBPinAddBox(odb::dbBox* box) override;
230230
void inDbBPinRemoveBox(odb::dbBox* box) override;
231231
void inDbBPinDestroy(odb::dbBPin* pin) override;
232+
void inDbBPinPlacementStatusBefore(
233+
odb::dbBPin* pin,
234+
const odb::dbPlacementStatus& status) override;
232235
void inDbFillCreate(odb::dbFill* fill) override;
233236
void inDbWireCreate(odb::dbWire* wire) override;
234237
void inDbWireDestroy(odb::dbWire* wire) override;

0 commit comments

Comments
 (0)