[Patchanim-commit] SF.net SVN: patchanim: [213] trunk/patchanim/src/com/mebigfatguy/patchanim
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-02-18 17:43:05
|
Revision: 213
http://patchanim.svn.sourceforge.net/patchanim/?rev=213&view=rev
Author: dbrosius
Date: 2008-02-18 09:43:09 -0800 (Mon, 18 Feb 2008)
Log Message:
-----------
make oob names more consistent with animation type constants as they are similar
Modified Paths:
--------------
trunk/patchanim/src/com/mebigfatguy/patchanim/OutOfBoundsColor.java
trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchControlPanel.java
trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimDoc.xsd
trunk/patchanim/src/com/mebigfatguy/patchanim/main/PatchAnimBundle.java
trunk/patchanim/src/com/mebigfatguy/patchanim/resources.properties
trunk/patchanim/src/com/mebigfatguy/patchanim/surface/PatchGenerator.java
Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/OutOfBoundsColor.java
===================================================================
--- trunk/patchanim/src/com/mebigfatguy/patchanim/OutOfBoundsColor.java 2008-02-18 07:58:56 UTC (rev 212)
+++ trunk/patchanim/src/com/mebigfatguy/patchanim/OutOfBoundsColor.java 2008-02-18 17:43:09 UTC (rev 213)
@@ -33,7 +33,7 @@
public enum OutOfBoundsColor {
Clip,
Cycle,
- Roll;
+ Wave;
/**
* returns the localized value of the enum
Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchControlPanel.java
===================================================================
--- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchControlPanel.java 2008-02-18 07:58:56 UTC (rev 212)
+++ trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JPatchControlPanel.java 2008-02-18 17:43:09 UTC (rev 213)
@@ -114,7 +114,7 @@
outOfBoundsLabel = new JLabel(rb.getString(PatchAnimBundle.OUTOFBOUNDSCOLOR));
outOfBoundsColorCB = new JComboBox(new Object[] { OutOfBoundsColor.Clip,
OutOfBoundsColor.Cycle,
- OutOfBoundsColor.Roll });
+ OutOfBoundsColor.Wave });
outOfBoundsColorCB.setToolTipText(rb.getString(PatchAnimBundle.OUTOFBOUNDSCOLOR_TT));
outOfBoundsLabel.setLabelFor(outOfBoundsColorCB);
JPanel p = Utils.createFormPanel(outOfBoundsLabel, outOfBoundsColorCB);
Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimDoc.xsd
===================================================================
--- trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimDoc.xsd 2008-02-18 07:58:56 UTC (rev 212)
+++ trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimDoc.xsd 2008-02-18 17:43:09 UTC (rev 213)
@@ -45,7 +45,7 @@
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Clip"/>
<xsd:enumeration value="Cycle"/>
- <xsd:enumeration value="Roll"/>
+ <xsd:enumeration value="Wave"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ColorClass">
Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/main/PatchAnimBundle.java
===================================================================
--- trunk/patchanim/src/com/mebigfatguy/patchanim/main/PatchAnimBundle.java 2008-02-18 07:58:56 UTC (rev 212)
+++ trunk/patchanim/src/com/mebigfatguy/patchanim/main/PatchAnimBundle.java 2008-02-18 17:43:09 UTC (rev 213)
@@ -55,13 +55,14 @@
public static final String HEIGHT_TT = "patchanim.tooltip.height";
public static final String ANIMATION = "patchanim.animation";
public static final String ANIMATION_TT = "patchanim.tooltip.animation";
- public static final String NONE = "patchanim.none";
- public static final String CYCLE = "patchanim.cycle";
- public static final String WAVE = "patchanim.wave";
+ public static final String TYPENONE = "patchanim.type.none";
+ public static final String TYPECYCLE = "patchanim.type.cycle";
+ public static final String TYPEWAVE = "patchanim.type.wave";
public static final String OUTOFBOUNDSCOLOR = "patchanim.outofboundscolor";
public static final String OUTOFBOUNDSCOLOR_TT = "patchanim.tooltip.outofboundscolor";
- public static final String CLIP = "patchanim.clip";
- public static final String ROLL = "patchanim.roll";
+ public static final String OOBCLIP = "patchanim.oob.clip";
+ public static final String OOBROLL = "patchanim.oob.cycle";
+ public static final String OOBWAVE = "patchanim.oob.wave";
public static final String TWEENFRAMES = "patchanim.tween";
public static final String TWEENFRAMES_TT = "patchanim.tooltip.tween";
public static final String TEST = "patchanim.test";
Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/resources.properties
===================================================================
--- trunk/patchanim/src/com/mebigfatguy/patchanim/resources.properties 2008-02-18 07:58:56 UTC (rev 212)
+++ trunk/patchanim/src/com/mebigfatguy/patchanim/resources.properties 2008-02-18 17:43:09 UTC (rev 213)
@@ -48,13 +48,14 @@
patchanim.tooltip.height = The height of the exported animation
patchanim.animation = Animation Repeat
patchanim.tooltip.animation = The type of repetition that the animation uses
-patchanim.none = None
-patchanim.cycle = Cycle
-patchanim.wave = Wave
+patchanim.type.none = None
+patchanim.type.cycle = Cycle
+patchanim.type.wave = Wave
patchanim.outofboundscolor = Out Of Bounds Color
patchanim.tooltip.outofboundscolor = How colors that are out of the range of 0 - 255 are handled
-patchanim.clip = Clip
-patchanim.roll = Roll
+patchanim.oob.clip = Clip
+patchanim.oob.Cycle = Cycle
+patchanim.oob.Wave = Wave
patchanim.tween = In-between frames
patchanim.tooltip.tween = How many frames are generated as transitions from one patch to the next
patchanim.test = Test
Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/surface/PatchGenerator.java
===================================================================
--- trunk/patchanim/src/com/mebigfatguy/patchanim/surface/PatchGenerator.java 2008-02-18 07:58:56 UTC (rev 212)
+++ trunk/patchanim/src/com/mebigfatguy/patchanim/surface/PatchGenerator.java 2008-02-18 17:43:09 UTC (rev 213)
@@ -144,7 +144,7 @@
value = value & 0x00FF;
break;
- case Roll:
+ case Wave:
int period = value / 256;
if ((period & 0x01) != 0) {
if (value > 0)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|