traverso-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Traverso-commit] traverso/src/sheetcanvas Cursors.cpp SheetView.cpp


From: Nicola Doebelin
Subject: [Traverso-commit] traverso/src/sheetcanvas Cursors.cpp SheetView.cpp
Date: Fri, 06 Mar 2009 18:03:55 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Nicola Doebelin <n_doebelin>    09/03/06 18:03:55

Modified files:
        src/sheetcanvas: Cursors.cpp SheetView.cpp 

Log message:
        * fixes drawing bug of the playhead on OS X also for Qt versions 4.5

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/sheetcanvas/Cursors.cpp?cvsroot=traverso&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/traverso/src/sheetcanvas/SheetView.cpp?cvsroot=traverso&r1=1.13&r2=1.14

Patches:
Index: Cursors.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/sheetcanvas/Cursors.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- Cursors.cpp 6 Mar 2009 17:32:03 -0000       1.9
+++ Cursors.cpp 6 Mar 2009 18:03:54 -0000       1.10
@@ -87,7 +87,7 @@
                color = themer()->get_color("Playhead:inactive");
        }
        
-       painter->fillRect(0, 0, (int)m_boundingRect.width(), 
(int)m_boundingRect.height(), color);
+       painter->fillRect(1, 0, (int)m_boundingRect.width() - 2, 
(int)m_boundingRect.height(), color);
 }
 
 void PlayHead::play_start()

Index: SheetView.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/sheetcanvas/SheetView.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- SheetView.cpp       6 Mar 2009 10:07:01 -0000       1.13
+++ SheetView.cpp       6 Mar 2009 18:03:54 -0000       1.14
@@ -263,7 +263,7 @@
        m_vScrollBar->setSingleStep(m_clipsViewPort->height() / 10);
        m_vScrollBar->setPageStep(m_clipsViewPort->height());
        
-       m_playCursor->set_bounding_rect(QRectF(0, 0, 2, m_vScrollBar->maximum() 
+ m_clipsViewPort->height()));
+       m_playCursor->set_bounding_rect(QRectF(0, 0, 4, m_vScrollBar->maximum() 
+ m_clipsViewPort->height()));
        m_playCursor->update_position();
        m_workCursor->set_bounding_rect(QRectF(0, 0, 1, m_vScrollBar->maximum() 
+ m_clipsViewPort->height()));
        m_workCursor->update_position();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]