[Pixelle-commit] SF.net SVN: pixelle:[258] trunk/pixelle/src/com/mebigfatguy/pixelle
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-07-17 04:44:40
|
Revision: 258
http://pixelle.svn.sourceforge.net/pixelle/?rev=258&view=rev
Author: dbrosius
Date: 2009-07-17 04:44:30 +0000 (Fri, 17 Jul 2009)
Log Message:
-----------
an enum to specify which Algorithm of the five (R, G, B, T, S) you are using.
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java
trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties
Added Paths:
-----------
trunk/pixelle/src/com/mebigfatguy/pixelle/AlgorithmType.java
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/AlgorithmType.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/AlgorithmType.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/AlgorithmType.java 2009-07-17 04:44:30 UTC (rev 258)
@@ -0,0 +1,35 @@
+/*
+ * pixelle - Graphics algorithmic editor
+ * Copyright (C) 2008-2009 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.pixelle;
+
+/**
+ * an enum for the various types of algorithms
+ */
+public enum AlgorithmType {
+ Red,
+ Green,
+ Blue,
+ Transparency,
+ Selection;
+
+ public String toString() {
+ return PixelleBundle.getString("title." + name().toLowerCase());
+ }
+
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/AlgorithmType.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java 2009-07-04 22:11:37 UTC (rev 257)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java 2009-07-17 04:44:30 UTC (rev 258)
@@ -69,10 +69,13 @@
public static final String RED_LABEL = "label.red";
public static final String GREEN_LABEL = "label.green";
public static final String BLUE_LABEL = "label.blue";
- public static final String BLACK_LABEL = "label.black";
public static final String TRANSPARENCY_LABEL = "label.transparency";
public static final String SELECTION_LABEL = "label.selection";
- public static final String PIXEL_OPTIONS = "title.pixel_options";
+ public static final String RED_ALGORITHM = "title.red";
+ public static final String GREEN_ALGORITHM = "title.green";
+ public static final String BLUE_ALGORITHM = "title.blue";
+ public static final String TRANSPARENCY_ALGORITHM = "title.transparency";
+ public static final String SELECTION_ALGORITHM = "title.selection"; public static final String PIXEL_OPTIONS = "title.pixel_options";
public static final String INDEX_OUT_OF_BOUNDS_PIXELS = "title.index_out_of_bounds_pixels";
public static final String STATIC_COLOR = "label.color";
public static final String BORDER_COLOR = "label.border_color";
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties 2009-07-04 22:11:37 UTC (rev 257)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties 2009-07-17 04:44:30 UTC (rev 258)
@@ -67,10 +67,15 @@
label.red = (Red)
label.green = (Green)
label.blue = (Blue)
-label.black = (Black)
label.transparency = (Transparency)
label.selection = (Selection)
+title.red = Red Algorithm
+title.green = Green Algorithm
+title.blue = Blue Algorithm
+title.transparency = Transparency Algorithm
+title.selection = Selection Algorithm
+
title.pixel_options = Pixel Options
title.index_out_of_bounds_pixels = For index-out-of-bounds pixels use\:
label.color = Color
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|