diff layer/TimeValueLayer.cpp @ 576:a4ba6c96b66d

* Make text labels in time instant layer more apparent (use drawVisibleText) * Fix bug that caused time-instants in segmentation mode to come up white when zoomed far out
author Chris Cannam
date Mon, 25 Oct 2010 21:52:38 +0200
parents 5bcfc5606528
children f4960f8ce798
line wrap: on
line diff
--- a/layer/TimeValueLayer.cpp	Sun Oct 24 17:38:03 2010 +0200
+++ b/layer/TimeValueLayer.cpp	Mon Oct 25 21:52:38 2010 +0200
@@ -1087,7 +1087,8 @@
 
 	if (p.label != "") {
             if (!haveNext || nx > x + 6 + paint.fontMetrics().width(p.label)) {
-                paint.drawText(x + 5, textY, p.label);
+                v->drawVisibleText(paint, x + 5, textY, p.label, View::OutlinedText);
+//                paint.drawText(x + 5, textY, p.label);
             }
 	}
     }