[gui4gl-commits] [CVS gui4gl] image widget patch by gertjan

  • From: cvsd@xxxxxxxxxxxxxxxxxxxx
  • To: gui4gl-commits@xxxxxxxxxxxxx
  • Date: Tue, 27 Jan 2004 14:29:52 +0100

Commit in gui4gl/src/org/codejive/gui4gl/themes on MAIN
RenderHelper.java+11-81.8 -> 1.9
image widget patch by gertjan

gui4gl/src/org/codejive/gui4gl/themes
RenderHelper.java 1.8 -> 1.9
diff -u -r1.8 -r1.9
--- RenderHelper.java	14 Dec 2003 03:13:57 -0000	1.8
+++ RenderHelper.java	27 Jan 2004 13:29:51 -0000	1.9
@@ -39,13 +39,13 @@
 	}
 	
 	public static void drawRectangle(GL _gl, int _left, int _top, int _width, int _height) {
-		_gl.glTexCoord2f(0.0f, 0.0f);
-		_gl.glVertex2f(_left, _top);
 		_gl.glTexCoord2f(0.0f, 1.0f);
+		_gl.glVertex2f(_left, _top);
+		_gl.glTexCoord2f(0.0f, 0.0f);
 		_gl.glVertex2f(_left, _top + _height);
-		_gl.glTexCoord2f(1.0f, 1.0f);
-		_gl.glVertex2f(_left + _width, _top + _height);
 		_gl.glTexCoord2f(1.0f, 0.0f);
+		_gl.glVertex2f(_left + _width, _top + _height);
+		_gl.glTexCoord2f(1.0f, 1.0f);
 		_gl.glVertex2f(_left + _width, _top);
 	}
 
@@ -85,11 +85,14 @@
 
 /*
  * $Log$
+ * Revision 1.9  2004/01/27 13:29:51  steven
+ * image widget patch by gertjan
+ *
  * Revision 1.8  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.7  2003/11/25 16:27:59  tako
CVSspam 0.2.8

Other related posts: