From eacc908861ae5c993042503c7865a0bdce4daff0 Mon Sep 17 00:00:00 2001 From: Damien Dupuis Date: Wed, 21 Oct 2009 11:06:28 +0000 Subject: [PATCH] Adding CellWidget::State::getCursorStep(). I needed it to debug, may be useful. --- hurricane/src/hviewer/hurricane/viewer/CellWidget.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hurricane/src/hviewer/hurricane/viewer/CellWidget.h b/hurricane/src/hviewer/hurricane/viewer/CellWidget.h index c2e9d80c..ece12979 100644 --- a/hurricane/src/hviewer/hurricane/viewer/CellWidget.h +++ b/hurricane/src/hviewer/hurricane/viewer/CellWidget.h @@ -533,6 +533,7 @@ namespace Hurricane { inline void setCell ( Cell* ); inline void setCellWidget ( CellWidget* ); inline void setCursorStep ( DbU::Unit ); + inline DbU::Unit getCursorStep () const; inline void setRealMode (); inline void setSymbolicMode (); inline void setShowBoundaries ( bool ); @@ -904,6 +905,9 @@ namespace Hurricane { inline void CellWidget::State::setCursorStep ( DbU::Unit step ) { _cursorStep = step; } + inline DbU::Unit CellWidget::State::getCursorStep () const + { return _cursorStep; } + inline void CellWidget::State::setRealMode () {