Tux Guitar

Suggestions

Subject Change color on "measure box" during playback



Author Message
M
Post: Dec 12th 2010 at 8:00 PM

Hi,

It would be nice to be able to change color on the rectangle which surrounds the current measure during playback. When it's black it looks a bit too much like the strings so my brain sometimes offset my fingers one string.

If someone wants the same feature I made a patch to the 1.2 source that change the color to red:

--- tuxguitar-src-1.2_bak/TuxGuitar/src/org/herac/tuxguitar/gui/editors/tab/TGMeasureImpl.java 2009$
+++ tuxguitar-src-1.2/TuxGuitar/src/org/herac/tuxguitar/gui/editors/tab/TGMeasureImpl.java 2010$
@@ -1069,6 +1069,7 @@
painter.setLineWidth(1);
painter.initPath();
painter.setAntialias(false);
+ painter.setForeground(layout.getResources().getColorRed());
painter.addRectangle(getPosX() + (5f * scale),y1,width - (10f * scale),(y2 -$
painter.closePath();
//painter.setLineStyle(SWT.LINE_SOLID);


Back to Top