* ./hurricane/src/hviewer :
- Bug: corrected memory leak in RedrawManager, events weren't freed. - Bug: various attributes reordering in constructors.
This commit is contained in:
parent
cb3d9cb835
commit
c3f4af9cbf
|
@ -114,7 +114,7 @@ namespace Hurricane {
|
|||
inline string _PName ( const string& s ) { return "Hurricane::" + s; }
|
||||
|
||||
template<class Type>
|
||||
inline Type abs ( const Type& value ) { return (value<0) ? -value : value; }
|
||||
inline Type abs ( const Type& value ) { return (value<0) ? -value : value; }
|
||||
|
||||
string demangle ( const char* symbol );
|
||||
inline string demangle ( const type_info& info ) { return demangle(info.name()); }
|
||||
|
|
|
@ -329,6 +329,7 @@ namespace Hurricane {
|
|||
_interrupted = false;
|
||||
}
|
||||
#else
|
||||
delete _events.front ();
|
||||
_events.pop_front ();
|
||||
#endif
|
||||
}
|
||||
|
@ -929,8 +930,8 @@ namespace Hurricane {
|
|||
, _cellChanged (true)
|
||||
, _selectionHasChanged (false)
|
||||
, _delaySelectionChanged(0)
|
||||
, _enableRedrawInterrupt(false)
|
||||
, _cellModificated (true)
|
||||
, _enableRedrawInterrupt(false)
|
||||
, _selectors ()
|
||||
, _commands ()
|
||||
, _redrawRectCount (0)
|
||||
|
|
|
@ -778,13 +778,14 @@ namespace Hurricane {
|
|||
|
||||
inline CellWidget::State::State ( Cell* cell )
|
||||
: _cell (cell)
|
||||
, _cellWidget (NULL)
|
||||
, _selection ()
|
||||
, _showBoundaries (true)
|
||||
, _showSelection (false)
|
||||
, _queryFilter (~Query::DoTerminalCells)
|
||||
, _startLevel (0)
|
||||
, _stopLevel (99)
|
||||
, _rubberShape (CellWidget::Steiner)
|
||||
, _showBoundaries (true)
|
||||
, _showSelection (false)
|
||||
, _cumulativeSelection(false)
|
||||
, _scaleHistory ()
|
||||
, _ihistory (0)
|
||||
|
|
Loading…
Reference in New Issue