[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl GLView.java, 1.50, 1.51
Status: Pre-Alpha
Brought to you by:
henryml
|
From: rimestad <rim...@us...> - 2007-01-29 09:18:42
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11276/src/net/sourceforge/bprocessor/gl Modified Files: GLView.java Log Message: added missing default scalefactors Index: GLView.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/GLView.java,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** GLView.java 20 Jan 2007 21:24:56 -0000 1.50 --- GLView.java 29 Jan 2007 09:18:35 -0000 1.51 *************** *** 321,325 **** label = new JLabel("Scale factor:"); this.add(label); ! items = new String[]{"1:1", "1:2", "1:5", "1:10", "1:50", "1:100", "1:500", "1:1000"}; choices = new JComboBox(items); choices.setEditable(true); --- 321,325 ---- label = new JLabel("Scale factor:"); this.add(label); ! items = new String[]{"1:1", "1:2", "1:5", "1:10", "1:20", "1:50", "1:100", "1:200", "1:500", "1:1000"}; choices = new JComboBox(items); choices.setEditable(true); *************** *** 348,351 **** --- 348,353 ---- Project.getInstance().getCurrentCamera().setFactor(fac); Project.getInstance().changed(Project.getInstance().getCurrentCamera()); + } else { + GUI.getInstance().alert("Wrong scale format, have to be 1:[integer]"); } } |