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

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

Commit in gui4gl/src/org/codejive/gui4gl/widgets on MAIN
Image.java+55added 1.1
image widget patch by gertjan

gui4gl/src/org/codejive/gui4gl/widgets
Image.java added at 1.1
diff -N Image.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Image.java	27 Jan 2004 13:29:19 -0000	1.1
@@ -0,0 +1,55 @@
+/*
+ * [gui4gl] OpenGL game-oriented GUI library
+ * 
+ * Copyright (C) 2003, 2004 Tako Schotanus, Gertjan Assies
+ * 
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by the
+ * Free Software Foundation; either version 2.1 of the License, or (at your
+ * option) any later version.
+ * 
+ * This library is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * for more details.
+ * 
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * 
+ * Created on Jan 26, 2004
+ */
+package org.codejive.gui4gl.widgets;
+
+/**
+ * @author gertjan
+ * @version $Revision$
+ */
+public class Image extends Widget {
+	private int m_lTextureID;
+	
+	
+	public Image(int _lTextureID) {
+		this(null, _lTextureID);
+	}
+
+	public Image(String _sName, int _lTextureID) {
+		super(_sName);
+		m_lTextureID = _lTextureID;
+	}
+	
+	public int getTextureID() {
+		return m_lTextureID;
+	}
+	
+	public void setTextureID(int _lTextureID) {
+		m_lTextureID = _lTextureID;
+	}
+	
+}
+/*
+ * $Log$
+ * Revision 1.1  2004/01/27 13:29:19  steven
+ * image widget patch by gertjan
+ *
+ */
CVSspam 0.2.8

Other related posts: