* ./hurricane/src/hviewer :

- Bug: In CellWidget, the drawRulers was copying an enlarged redrawArea into
        the Selection Plane causing the selection to deseapear gradually when
        slowly shifting.
This commit is contained in:
Jean-Paul Chaput 2009-05-06 13:11:03 +00:00
parent 609772dcc3
commit e0c9f0ba3f
4 changed files with 3 additions and 5 deletions

View File

@ -60,8 +60,6 @@ typedef multimap<Entity*,Entity*> SlaveEntityMap;
class Cell : public Entity {
// ***********************
# if !defined(__DOXYGEN_PROCESSOR__)
// Types
// *****
@ -212,8 +210,6 @@ class Cell : public Entity {
public: void _insertSlice ( ExtensionSlice* );
public: void _removeSlice ( ExtensionSlice* );
#endif
// Constructors
// ************

View File

@ -266,7 +266,7 @@ namespace Hurricane {
connect ( _controllerAction , SIGNAL(triggered()) , this , SLOT(showController()) );
connect ( _cellWidget , SIGNAL(mousePositionChanged(const Point&))
, _mousePosition , SLOT(setPosition(const Point&)) );
, _mousePosition , SLOT (setPosition(const Point&)) );
connect ( _cellWidget , SIGNAL(selectionModeChanged())
, this , SLOT (changeSelectionMode ()) );

View File

@ -1603,6 +1603,7 @@ namespace Hurricane {
redrawArea.adjust ( -50, -50, 50, 50 );
Box redrawBox = displayToDbuBox ( redrawArea );
redrawArea.adjust ( 50, 50, -50, -50 );
RulerSet::iterator iruler = _state->getRulers().begin();
RulerSet::iterator end = _state->getRulers().end();

View File

@ -1223,6 +1223,7 @@ namespace Hurricane {
inline void CellWidget::setRubberShape ( RubberShape shape )
{
_state->setRubberShape ( shape );
_redrawManager.refresh ();
emit queryFilterChanged ();
}