- setRealSnapGridStep on CellWidget useful to set snapGridStep to DbU::grid(1.0) when I want to debug layout (misalignment)
This commit is contained in:
Damien Dupuis 2009-10-26 12:15:47 +00:00
parent eacc908861
commit 0107042e04
1 changed files with 5 additions and 0 deletions

View File

@ -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::State>& CellWidget::getState ()
{
_state->setTopLeft ( getTopLeft() );