[gui4gl-commits] [CVS gui4gl] text color is only set when a label is used

  • From: cvsd@xxxxxxxxxxxxxxxxxxxx
  • To: gui4gl-commits@xxxxxxxxxxxxx
  • Date: Tue, 16 Dec 2003 10:15:10 +0100

Commit in gui4gl/src/org/codejive/gui4gl/themes/blues on MAIN
ValueBarRenderer.java+8-51.10 -> 1.11
text color is only set when a label is used

gui4gl/src/org/codejive/gui4gl/themes/blues
ValueBarRenderer.java 1.10 -> 1.11
diff -u -r1.10 -r1.11
--- ValueBarRenderer.java	14 Dec 2003 03:13:57 -0000	1.10
+++ ValueBarRenderer.java	16 Dec 2003 09:15:09 -0000	1.11
@@ -152,9 +152,9 @@
 		
 		gl.glEnd();
 		
-		gl.glColor3fv(m_textFontColor.toArray3f());
 		
 		if(bar.isShowValue()) {
+			gl.glColor3fv(m_textFontColor.toArray3f());
 			gl.glRasterPos2i(textXPos, textYPos);
 			m_textFont.renderText(_context, sValueAsString);
 		}
@@ -190,11 +190,14 @@
 }
 /*
  * $Log$
+ * Revision 1.11  2003/12/16 09:15:09  steven
+ * text color is only set when a label is used
+ *
  * Revision 1.10  2003/12/14 03:13:57  tako
- * Widgets used in CompoundWidgets can now have their properties set

- * specifically within the CompoundWidgets hierarchy. Each widget within

- * a CompoundWidget can have a (unique) name which can be used in the

- * Theme properties like <widgetname>.<propertyname>. If the hierarchy

+ * Widgets used in CompoundWidgets can now have their properties set
+ * specifically within the CompoundWidgets hierarchy. Each widget within
+ * a CompoundWidget can have a (unique) name which can be used in the
+ * Theme properties like <widgetname>.<propertyname>. If the hierarchy
  * is more than one level deep the names are separated by dots as well.
  *
  * Revision 1.9  2003/12/14 00:28:10  steven
CVSspam 0.2.8

Other related posts:

  • » [gui4gl-commits] [CVS gui4gl] text color is only set when a label is used