diff --git a/hurricane/src/hviewer/hurricane/viewer/CellWidget.h b/hurricane/src/hviewer/hurricane/viewer/CellWidget.h index ece12979..54775535 100644 --- a/hurricane/src/hviewer/hurricane/viewer/CellWidget.h +++ b/hurricane/src/hviewer/hurricane/viewer/CellWidget.h @@ -141,6 +141,7 @@ namespace Hurricane { inline Command* getActiveCommand () const; inline void resetActiveCommand (); inline void setCursorStep ( DbU::Unit ); + inline void setRealSnapGridStep ( DbU::Unit step ); inline bool realMode () const; inline bool symbolicMode () const; inline bool showBoundaries () const; @@ -1052,6 +1053,10 @@ namespace Hurricane { { _state->setCursorStep(step); } + inline void CellWidget::setRealSnapGridStep ( DbU::Unit step ) + { DbU::setRealSnapGridStep(step); } + + inline shared_ptr& CellWidget::getState () { _state->setTopLeft ( getTopLeft() );