ADDS
- setRealSnapGridStep on CellWidget useful to set snapGridStep to DbU::grid(1.0) when I want to debug layout (misalignment)
This commit is contained in:
parent
eacc908861
commit
0107042e04
|
@ -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() );
|
||||
|
|
Loading…
Reference in New Issue