[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view View.java, 1.161, 1.162
Status: Pre-Alpha
Brought to you by:
henryml
|
From: Nikolaj B. <nbr...@us...> - 2006-11-16 23:19:33
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21296/src/net/sourceforge/bprocessor/gl/view Modified Files: View.java Log Message: Name is now almost gone from spaces, both functional and construction are giving classification when created. And fixed and improved some things with the classification. Index: View.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v retrieving revision 1.161 retrieving revision 1.162 diff -C2 -d -r1.161 -r1.162 *** View.java 13 Nov 2006 14:56:11 -0000 1.161 --- View.java 16 Nov 2006 23:19:32 -0000 1.162 *************** *** 985,989 **** if (it.hasNext()) { Space sp = (Space)it.next(); ! name = sp.getName(); int sepLength = glut.glutBitmapLength(GLUT.BITMAP_HELVETICA_10, " >> ");; int length = 0; --- 985,993 ---- if (it.hasNext()) { Space sp = (Space)it.next(); ! if (sp.getClassification() != null) { ! name = sp.getClassification().toString(); ! } else { ! name = sp.getName(); ! } int sepLength = glut.glutBitmapLength(GLUT.BITMAP_HELVETICA_10, " >> ");; int length = 0; *************** *** 996,1000 **** while (it.hasNext()) { sp = (Space)it.next(); ! name = name + " >> " + sp.getName(); length += sepLength; nameLength = glut.glutBitmapLength(GLUT.BITMAP_HELVETICA_10, sp.getName()); --- 1000,1008 ---- while (it.hasNext()) { sp = (Space)it.next(); ! if (sp.getClassification() != null) { ! name = name + " >> " + sp.getClassification().toString(); ! } else { ! name = name + " >> " + sp.getName(); ! } length += sepLength; nameLength = glut.glutBitmapLength(GLUT.BITMAP_HELVETICA_10, sp.getName()); |