[Patchanim-commit] SF.net SVN: patchanim: [68] trunk/patchanim
Brought to you by:
dbrosius
From: <dbr...@us...> - 2008-01-30 02:58:29
|
Revision: 68 http://patchanim.svn.sourceforge.net/patchanim/?rev=68&view=rev Author: dbrosius Date: 2008-01-29 18:55:22 -0800 (Tue, 29 Jan 2008) Log Message: ----------- minor cleanups Modified Paths: -------------- trunk/patchanim/htdocs/index.html trunk/patchanim/src/com/mebigfatguy/patchanim/gui/ExportFrame.java trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimFrame.java trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimPanel.java Modified: trunk/patchanim/htdocs/index.html =================================================================== --- trunk/patchanim/htdocs/index.html 2008-01-30 02:35:25 UTC (rev 67) +++ trunk/patchanim/htdocs/index.html 2008-01-30 02:55:22 UTC (rev 68) @@ -45,11 +45,11 @@ very easy to generate in-between images from two separate blend descriptions.</p> - <p><b>Jan 29, 2008 - This tool is not finished at this time, although the patch animations work</b><br/> + <p><b>Jan 30, 2008 - This tool is not finished at this time, although the patch animations work</b><br/> Still to be done: <ul> - <li>Export to GIF, MPEG, etc</li> - <li>redraw glitches</li> + <li>export to mpeg</li> + <li>redraw glitches - better</li> <li>Performance Improvements</li> <li>Patch Library</li> <li>Color Swatch for editing values</li> Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/ExportFrame.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/ExportFrame.java 2008-01-30 02:35:25 UTC (rev 67) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/gui/ExportFrame.java 2008-01-30 02:55:22 UTC (rev 68) @@ -1,3 +1,21 @@ +/* + * patchanim - A bezier surface patch color blend gif builder + * Copyright (C) 2008 Dave Brosius + * + * 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 + */ package com.mebigfatguy.patchanim.gui; import java.awt.BorderLayout; @@ -2,3 +20,2 @@ import java.awt.Container; -import java.awt.Dimension; import java.util.ResourceBundle; @@ -31,7 +48,6 @@ cp.add(bar, BorderLayout.CENTER); pack(); setTitle(rb.getString(PatchAnimBundle.EXPORTINGFILE)); - Dimension d = getPreferredSize(); } public void imageExported(final ExportEvent ee) { Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimFrame.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimFrame.java 2008-01-30 02:35:25 UTC (rev 67) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimFrame.java 2008-01-30 02:55:22 UTC (rev 68) @@ -334,7 +334,6 @@ } private File getExportLocation(final ExportType type) { - final ResourceBundle rb = PatchAnimBundle.getBundle(); JFileChooser chooser = new JFileChooser(); chooser.setFileSelectionMode(JFileChooser.FILES_ONLY); File defLocation; @@ -346,6 +345,7 @@ if (!type.isMultipleFiles()) { chooser.setFileFilter(new FileFilter() { + private final ResourceBundle rb = PatchAnimBundle.getBundle(); @Override public boolean accept(File f) { Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimPanel.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimPanel.java 2008-01-30 02:35:25 UTC (rev 67) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchAnimPanel.java 2008-01-30 02:55:22 UTC (rev 68) @@ -31,7 +31,6 @@ private static final long serialVersionUID = 7719900566976553103L; private JPatchControlPanel ctrl; - private JPatchSamplePanel sample; public JPatchAnimPanel() { initComponents(); @@ -43,7 +42,7 @@ p.setLayout(new BorderLayout(4, 4)); ctrl = new JPatchControlPanel(); p.add(ctrl, BorderLayout.WEST); - sample = new JPatchSamplePanel(PatchColor.Combined); + JPatchSamplePanel sample = new JPatchSamplePanel(PatchColor.Combined); JPanel q = new JPanel(); q.setLayout(new BoxLayout(q, BoxLayout.X_AXIS)); q.add(Box.createHorizontalGlue()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |