pixelle-commit Mailing List for pixelle (Page 3)
Brought to you by:
dbrosius
You can subscribe to this list here.
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(129) |
Jul
(39) |
Aug
|
Sep
|
Oct
|
Nov
(63) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2009 |
Jan
(1) |
Feb
(24) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(41) |
Aug
(1) |
Sep
(7) |
Oct
|
Nov
|
Dec
(5) |
| 2010 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
(2) |
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <dbr...@us...> - 2009-07-18 03:59:09
|
Revision: 272
http://pixelle.svn.sourceforge.net/pixelle/?rev=272&view=rev
Author: dbrosius
Date: 2009-07-18 03:59:06 +0000 (Sat, 18 Jul 2009)
Log Message:
-----------
stub in a shortcuts menu
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java
trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java
trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties
trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java 2009-07-18 03:35:07 UTC (rev 271)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java 2009-07-18 03:59:06 UTC (rev 272)
@@ -101,7 +101,8 @@
public static final String SOURCES_NAME = "label.inputname";
public static final String OUTPUT_PROPERTIES = "label.output_properties";
public static final String PICK_SOURCE_LABEL = "label.pick_source";
-
+ public static final String SHORTCUTS = "label.shortcuts";
+
private static ResourceBundle rb = ResourceBundle.getBundle("com/mebigfatguy/pixelle/resources/pixelle");
private PixelleBundle()
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java 2009-07-18 03:35:07 UTC (rev 271)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java 2009-07-18 03:59:06 UTC (rev 272)
@@ -24,13 +24,19 @@
import java.awt.Point;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
+import java.awt.event.MouseAdapter;
+import java.awt.event.MouseEvent;
+import javax.swing.BorderFactory;
import javax.swing.Box;
import javax.swing.BoxLayout;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JEditorPane;
+import javax.swing.JLabel;
+import javax.swing.JMenu;
import javax.swing.JPanel;
+import javax.swing.JPopupMenu;
import javax.swing.JScrollPane;
import com.mebigfatguy.pixelle.PixelleBundle;
@@ -48,6 +54,8 @@
private JButton ok;
private JButton cancel;
private String origValue;
+ private JLabel shortcutTrigger;
+ private JPopupMenu shortcuts;
private boolean isOK = false;
public AlgorithmEditor(PixelleComponent component, Point pt, Dimension dim, String value) {
@@ -81,8 +89,18 @@
cancel = new JButton(PixelleBundle.getString(PixelleBundle.CANCEL));
GuiUtils.sizeUniformly(Sizing.Both, ok, cancel);
+ shortcutTrigger = new JLabel(PixelleBundle.getString(PixelleBundle.SHORTCUTS));
+ shortcutTrigger.setBorder(BorderFactory.createEtchedBorder());
+ shortcutTrigger.setEnabled(true);
+ shortcutTrigger.setOpaque(true);
+
+ shortcuts = buildShortCutsMenu();
+
JPanel p = new JPanel();
p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS));
+ p.add(Box.createHorizontalStrut(20));
+ p.add(shortcutTrigger);
+ p.add(Box.createHorizontalStrut(10));
p.add(Box.createHorizontalGlue());
p.add(ok);
p.add(Box.createHorizontalStrut(10));
@@ -107,9 +125,36 @@
dispose();
}
});
+
+ shortcutTrigger.addMouseListener(new MouseAdapter() {
+ public void mousePressed(MouseEvent e) {
+ maybeShowPopup(e);
+ }
+
+ public void mouseReleased(MouseEvent e) {
+ maybeShowPopup(e);
+ }
+
+ private void maybeShowPopup(MouseEvent e) {
+ if (e.isPopupTrigger()) {
+ shortcuts.show(e.getComponent(), e.getX(), e.getY());
+ }
+ }
+
+
+ });
}
public String getText() {
return algo.getText();
}
+
+ private JPopupMenu buildShortCutsMenu()
+ {
+ JPopupMenu menu = new JPopupMenu(PixelleBundle.getString(PixelleBundle.SHORTCUTS));
+
+ menu.add(new JMenu("Positions"));
+
+ return menu;
+ }
}
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties 2009-07-18 03:35:07 UTC (rev 271)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties 2009-07-18 03:59:06 UTC (rev 272)
@@ -109,4 +109,5 @@
label.inputname = Input Source Name
label.output_properties = Output Properties
-label.pick_source = Select the input source window to use in the transformation
\ No newline at end of file
+label.pick_source = Select the input source window to use in the transformation
+label.shortcuts = ShortCuts
\ No newline at end of file
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties 2009-07-18 03:35:07 UTC (rev 271)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties 2009-07-18 03:59:06 UTC (rev 272)
@@ -109,4 +109,5 @@
label.inputname = Input Source Name
label.output_properties = Output-Eigenschaften
-label.pick_source = W\xE4hlen Sie die Eingangsquelle Fenster zur Verwendung in der Transformation
\ No newline at end of file
+label.pick_source = W\xE4hlen Sie die Eingangsquelle Fenster zur Verwendung in der Transformation
+label.shortcuts = Schnellzugriffe
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-07-18 03:35:09
|
Revision: 271
http://pixelle.svn.sourceforge.net/pixelle/?rev=271&view=rev
Author: dbrosius
Date: 2009-07-18 03:35:07 +0000 (Sat, 18 Jul 2009)
Log Message:
-----------
switch to use focus listener
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java 2009-07-17 05:57:56 UTC (rev 270)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java 2009-07-18 03:35:07 UTC (rev 271)
@@ -25,8 +25,8 @@
import java.awt.Point;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
-import java.awt.event.KeyAdapter;
-import java.awt.event.KeyEvent;
+import java.awt.event.FocusAdapter;
+import java.awt.event.FocusEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.EnumMap;
@@ -416,12 +416,12 @@
for (final PixelleComponent comp : PixelleComponent.gsValues()) {
final JTextField tf = gsEditor.get(comp);
- tf.addKeyListener(new KeyExpansionListener(tf, comp));
+ tf.addFocusListener(new FocusExpansionListener(tf, comp));
}
for (final PixelleComponent comp : PixelleComponent.rgbValues()) {
final JTextField tf = rgbEditor.get(comp);
- tf.addKeyListener(new KeyExpansionListener(tf, comp));
+ tf.addFocusListener(new FocusExpansionListener(tf, comp));
}
save.addActionListener(new ActionListener() {
@@ -472,18 +472,18 @@
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
}
- static class KeyExpansionListener extends KeyAdapter
+ static class FocusExpansionListener extends FocusAdapter
{
private JTextField textField;
private PixelleComponent component;
- public KeyExpansionListener(JTextField tf, PixelleComponent comp) {
+ public FocusExpansionListener(JTextField tf, PixelleComponent comp) {
textField = tf;
component = comp;
}
@Override
- public void keyPressed(KeyEvent e) {
+ public void focusGained(FocusEvent e) {
Point pt = textField.getLocation();
SwingUtilities.convertPointToScreen(pt, textField.getParent());
Dimension dim = textField.getSize();
@@ -491,6 +491,8 @@
editor.setModal(true);
editor.setVisible(true);
textField.setText(editor.getValue());
+ textField.setEnabled(false);
+ textField.setEnabled(true);
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-07-17 05:58:08
|
Revision: 270
http://pixelle.svn.sourceforge.net/pixelle/?rev=270&view=rev
Author: dbrosius
Date: 2009-07-17 05:57:56 +0000 (Fri, 17 Jul 2009)
Log Message:
-----------
ok, add a fudge
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java 2009-07-17 05:55:14 UTC (rev 269)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java 2009-07-17 05:57:56 UTC (rev 270)
@@ -56,7 +56,7 @@
initListeners();
setTitle(component.toString());
- pt.y -= dim.height;
+ pt.y -= dim.height + 5; // 5 is clearly a fudge
setLocation(pt);
dim.height *= 8;
setSize(dim);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-07-17 05:55:15
|
Revision: 269
http://pixelle.svn.sourceforge.net/pixelle/?rev=269&view=rev
Author: dbrosius
Date: 2009-07-17 05:55:14 +0000 (Fri, 17 Jul 2009)
Log Message:
-----------
USBR
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/eval/PixelleEvalIndexed.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/eval/PixelleEvalIndexed.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/eval/PixelleEvalIndexed.java 2009-07-17 05:53:28 UTC (rev 268)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/eval/PixelleEvalIndexed.java 2009-07-17 05:55:14 UTC (rev 269)
@@ -70,7 +70,6 @@
private int getPixelIndex(int x, int y) {
int px = buffer.getElem((y * width / pixelsPerByte) + (x / pixelsPerByte));
int shift = x & (pixelsPerByte-1);
- px = (px >> shift) & bitsPerPixelMask[bitsPerPixel];
- return px;
+ return (px >> shift) & bitsPerPixelMask[bitsPerPixel];
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-07-17 05:53:33
|
Revision: 268
http://pixelle.svn.sourceforge.net/pixelle/?rev=268&view=rev
Author: dbrosius
Date: 2009-07-17 05:53:28 +0000 (Fri, 17 Jul 2009)
Log Message:
-----------
inner classes s/b static if possible
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java 2009-07-17 05:52:10 UTC (rev 267)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java 2009-07-17 05:53:28 UTC (rev 268)
@@ -472,7 +472,7 @@
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
}
- class KeyExpansionListener extends KeyAdapter
+ static class KeyExpansionListener extends KeyAdapter
{
private JTextField textField;
private PixelleComponent component;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-07-17 05:52:11
|
Revision: 267
http://pixelle.svn.sourceforge.net/pixelle/?rev=267&view=rev
Author: dbrosius
Date: 2009-07-17 05:52:10 +0000 (Fri, 17 Jul 2009)
Log Message:
-----------
508
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java 2009-07-17 05:48:12 UTC (rev 266)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java 2009-07-17 05:52:10 UTC (rev 267)
@@ -266,6 +266,7 @@
optionsPanel.add(Box.createHorizontalStrut(10));
selectedRGBAlgorithm = new JTextField(PixelleBundle.getString(PixelleBundle.UNTITLED));
selectedRGBAlgorithm.setEditable(false);
+ l.setLabelFor(selectedRGBAlgorithm);
optionsPanel.add(selectedRGBAlgorithm);
optionsPanel.add(Box.createHorizontalStrut(10));
savedRGBAlgorithms = AlgorithmArchiver.getArchiver().getAlgorithmDisplayPopup(ImageType.RGB, new ActionListener() {
@@ -336,6 +337,7 @@
selectedGSAlgorithm = new JTextField(PixelleBundle.getString(PixelleBundle.UNTITLED));
selectedGSAlgorithm.setEditable(false);
optionsPanel.add(selectedGSAlgorithm);
+ l.setLabelFor(selectedGSAlgorithm);
optionsPanel.add(Box.createHorizontalStrut(10));
savedGSAlgorithms = AlgorithmArchiver.getArchiver().getAlgorithmDisplayPopup(ImageType.Grayscale, new ActionListener() {
public void actionPerformed(ActionEvent ae) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-07-17 05:48:41
|
Revision: 266
http://pixelle.svn.sourceforge.net/pixelle/?rev=266&view=rev
Author: dbrosius
Date: 2009-07-17 05:48:12 +0000 (Fri, 17 Jul 2009)
Log Message:
-----------
oi
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java 2009-07-17 05:42:12 UTC (rev 265)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java 2009-07-17 05:48:12 UTC (rev 266)
@@ -30,7 +30,6 @@
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.EnumMap;
-import java.util.EnumSet;
import java.util.Map;
import java.util.Set;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-07-17 05:42:15
|
Revision: 265
http://pixelle.svn.sourceforge.net/pixelle/?rev=265&view=rev
Author: dbrosius
Date: 2009-07-17 05:42:12 +0000 (Fri, 17 Jul 2009)
Log Message:
-----------
use popup editors to give more room
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java
trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java
trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java
trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties
trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java 2009-07-17 05:00:52 UTC (rev 264)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java 2009-07-17 05:42:12 UTC (rev 265)
@@ -75,6 +75,7 @@
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 BLACK_ALGORITHM = "title.black";
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";
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java 2009-07-17 05:00:52 UTC (rev 264)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java 2009-07-17 05:42:12 UTC (rev 265)
@@ -22,6 +22,8 @@
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Point;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
import javax.swing.Box;
import javax.swing.BoxLayout;
@@ -45,19 +47,27 @@
private JEditorPane algo;
private JButton ok;
private JButton cancel;
+ private String origValue;
+ private boolean isOK = false;
- public AlgorithmEditor(PixelleComponent component, Point pt, Dimension dim) {
-
+ public AlgorithmEditor(PixelleComponent component, Point pt, Dimension dim, String value) {
+ origValue = value;
initComponents();
initListeners();
setTitle(component.toString());
+ pt.y -= dim.height;
setLocation(pt);
+ dim.height *= 8;
setSize(dim);
+ algo.setText(value);
+ }
+
+ public String getValue() {
+ if (isOK)
+ return algo.getText();
-
-
-
+ return origValue;
}
private void initComponents() {
@@ -83,8 +93,22 @@
}
private void initListeners() {
+ setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
+ ok.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent ae) {
+ isOK = true;
+ dispose();
+ }
+ });
+
+ cancel.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent ae) {
+ dispose();
+ }
+ });
}
+
public String getText() {
return algo.getText();
}
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java 2009-07-17 05:00:52 UTC (rev 264)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java 2009-07-17 05:42:12 UTC (rev 265)
@@ -25,9 +25,12 @@
import java.awt.Point;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
+import java.awt.event.KeyAdapter;
+import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.EnumMap;
+import java.util.EnumSet;
import java.util.Map;
import java.util.Set;
@@ -50,6 +53,7 @@
import javax.swing.JTable;
import javax.swing.JTextField;
import javax.swing.ListSelectionModel;
+import javax.swing.SwingUtilities;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableColumn;
import javax.swing.table.TableColumnModel;
@@ -409,6 +413,16 @@
}
});
+ for (final PixelleComponent comp : PixelleComponent.gsValues()) {
+ final JTextField tf = gsEditor.get(comp);
+ tf.addKeyListener(new KeyExpansionListener(tf, comp));
+ }
+
+ for (final PixelleComponent comp : PixelleComponent.rgbValues()) {
+ final JTextField tf = rgbEditor.get(comp);
+ tf.addKeyListener(new KeyExpansionListener(tf, comp));
+ }
+
save.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent ae) {
ImageType imageType = getImageType();
@@ -457,8 +471,31 @@
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
}
+ class KeyExpansionListener extends KeyAdapter
+ {
+ private JTextField textField;
+ private PixelleComponent component;
+
+ public KeyExpansionListener(JTextField tf, PixelleComponent comp) {
+ textField = tf;
+ component = comp;
+ }
+
+ @Override
+ public void keyPressed(KeyEvent e) {
+ Point pt = textField.getLocation();
+ SwingUtilities.convertPointToScreen(pt, textField.getParent());
+ Dimension dim = textField.getSize();
+ AlgorithmEditor editor = new AlgorithmEditor(component, pt, dim, textField.getText());
+ editor.setModal(true);
+ editor.setVisible(true);
+ textField.setText(editor.getValue());
+ }
+ }
+
class SourcePanel extends JPanel
{
+ private static final long serialVersionUID = -8696503930565383721L;
private static final String PLUS_ICON = "/com/mebigfatguy/pixelle/resources/plus.png";
private static final String MINUS_ICON = "/com/mebigfatguy/pixelle/resources/minus.png";
JTable sourceTable;
@@ -489,6 +526,8 @@
sourceModel.addColumn(PixelleBundle.getString(PixelleBundle.SOURCES_NAME));
sourceModel.addRow(new Object[] { Integer.valueOf(0), frame });
sourceTable = new JTable(sourceModel) {
+ private static final long serialVersionUID = 2415580946606915612L;
+
@Override
public boolean isCellEditable(int row, int column) {
return false;
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties 2009-07-17 05:00:52 UTC (rev 264)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties 2009-07-17 05:42:12 UTC (rev 265)
@@ -74,6 +74,7 @@
title.red = Red Algorithm
title.green = Green Algorithm
title.blue = Blue Algorithm
+title.black = Black Algorithm
title.transparency = Transparency Algorithm
title.selection = Selection Algorithm
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties 2009-07-17 05:00:52 UTC (rev 264)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties 2009-07-17 05:42:12 UTC (rev 265)
@@ -71,6 +71,13 @@
label.transparency = (Transparenz)
label.selection = (Auswahl)
+title.red = Rot Algorithmus
+title.green = Gr\xFCn Algorithmus
+title.blue = Blau Algorithmus
+title.black = Schwarz Algorithmus
+title.transparency = Transparenz Algorithmus
+title.selection = Auswahl Algorithmus
+
title.pixel_options = Pixel-Optionen
title.index_out_of_bounds_pixels = F\xFCr Index-out-of-bounds Pixel Nutzung\:
label.color = Farbe
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-07-17 05:01:02
|
Revision: 264
http://pixelle.svn.sourceforge.net/pixelle/?rev=264&view=rev
Author: dbrosius
Date: 2009-07-17 05:00:52 +0000 (Fri, 17 Jul 2009)
Log Message:
-----------
use PixelleComponent now
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java 2009-07-17 05:00:10 UTC (rev 263)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java 2009-07-17 05:00:52 UTC (rev 264)
@@ -31,8 +31,8 @@
import javax.swing.JPanel;
import javax.swing.JScrollPane;
-import com.mebigfatguy.pixelle.AlgorithmType;
import com.mebigfatguy.pixelle.PixelleBundle;
+import com.mebigfatguy.pixelle.PixelleComponent;
import com.mebigfatguy.pixelle.utils.GuiUtils;
import com.mebigfatguy.pixelle.utils.GuiUtils.Sizing;
@@ -46,12 +46,12 @@
private JButton ok;
private JButton cancel;
- public AlgorithmEditor(AlgorithmType algorithm, Point pt, Dimension dim) {
+ public AlgorithmEditor(PixelleComponent component, Point pt, Dimension dim) {
initComponents();
initListeners();
- setTitle(algorithm.toString());
+ setTitle(component.toString());
setLocation(pt);
setSize(dim);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-07-17 05:00:13
|
Revision: 263
http://pixelle.svn.sourceforge.net/pixelle/?rev=263&view=rev
Author: dbrosius
Date: 2009-07-17 05:00:10 +0000 (Fri, 17 Jul 2009)
Log Message:
-----------
add toString based on title.
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleComponent.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleComponent.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleComponent.java 2009-07-17 04:57:24 UTC (rev 262)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleComponent.java 2009-07-17 05:00:10 UTC (rev 263)
@@ -60,4 +60,9 @@
components.add(PixelleComponent.SELECTION);
return components;
}
+
+ @Override
+ public String toString() {
+ return PixelleBundle.getString("title." + name().toLowerCase());
+ }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-07-17 04:57:25
|
Revision: 262
http://pixelle.svn.sourceforge.net/pixelle/?rev=262&view=rev
Author: dbrosius
Date: 2009-07-17 04:57:24 +0000 (Fri, 17 Jul 2009)
Log Message:
-----------
pixellecomponent does the same thing as algorithmtype so remove
Removed Paths:
-------------
trunk/pixelle/src/com/mebigfatguy/pixelle/AlgorithmType.java
Deleted: trunk/pixelle/src/com/mebigfatguy/pixelle/AlgorithmType.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/AlgorithmType.java 2009-07-17 04:56:53 UTC (rev 261)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/AlgorithmType.java 2009-07-17 04:57:24 UTC (rev 262)
@@ -1,35 +0,0 @@
-/*
- * 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());
- }
-
-}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-07-17 04:56:56
|
Revision: 261
http://pixelle.svn.sourceforge.net/pixelle/?rev=261&view=rev
Author: dbrosius
Date: 2009-07-17 04:56:53 +0000 (Fri, 17 Jul 2009)
Log Message:
-----------
put black back
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java
trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java 2009-07-17 04:53:43 UTC (rev 260)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleBundle.java 2009-07-17 04:56:53 UTC (rev 261)
@@ -69,6 +69,7 @@
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 RED_ALGORITHM = "title.red";
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties 2009-07-17 04:53:43 UTC (rev 260)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle.properties 2009-07-17 04:56:53 UTC (rev 261)
@@ -67,6 +67,7 @@
label.red = (Red)
label.green = (Green)
label.blue = (Blue)
+label.black = (Black)
label.transparency = (Transparency)
label.selection = (Selection)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-07-17 04:53:46
|
Revision: 260
http://pixelle.svn.sourceforge.net/pixelle/?rev=260&view=rev
Author: dbrosius
Date: 2009-07-17 04:53:43 +0000 (Fri, 17 Jul 2009)
Log Message:
-----------
Modified Paths:
--------------
trunk/pixelle/pixelle.store
Modified: trunk/pixelle/pixelle.store
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-07-17 04:53:28
|
Revision: 259
http://pixelle.svn.sourceforge.net/pixelle/?rev=259&view=rev
Author: dbrosius
Date: 2009-07-17 04:53:24 +0000 (Fri, 17 Jul 2009)
Log Message:
-----------
an algorithm popup editor
Added Paths:
-----------
trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java 2009-07-17 04:53:24 UTC (rev 259)
@@ -0,0 +1,91 @@
+/*
+ * 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.dialogs;
+
+import java.awt.BorderLayout;
+import java.awt.Container;
+import java.awt.Dimension;
+import java.awt.Point;
+
+import javax.swing.Box;
+import javax.swing.BoxLayout;
+import javax.swing.JButton;
+import javax.swing.JDialog;
+import javax.swing.JEditorPane;
+import javax.swing.JPanel;
+import javax.swing.JScrollPane;
+
+import com.mebigfatguy.pixelle.AlgorithmType;
+import com.mebigfatguy.pixelle.PixelleBundle;
+import com.mebigfatguy.pixelle.utils.GuiUtils;
+import com.mebigfatguy.pixelle.utils.GuiUtils.Sizing;
+
+/**
+ * an expanded popup dialog for editing algorithms
+ */
+public class AlgorithmEditor extends JDialog {
+ private static final long serialVersionUID = 7704059483753204128L;
+
+ private JEditorPane algo;
+ private JButton ok;
+ private JButton cancel;
+
+ public AlgorithmEditor(AlgorithmType algorithm, Point pt, Dimension dim) {
+
+ initComponents();
+ initListeners();
+
+ setTitle(algorithm.toString());
+ setLocation(pt);
+ setSize(dim);
+
+
+
+
+ }
+
+ private void initComponents() {
+ Container cp = getContentPane();
+ cp.setLayout(new BorderLayout(4, 4));
+
+ algo = new JEditorPane();
+ cp.add(new JScrollPane(algo), BorderLayout.CENTER);
+
+ ok = new JButton(PixelleBundle.getString(PixelleBundle.OK));
+ cancel = new JButton(PixelleBundle.getString(PixelleBundle.CANCEL));
+ GuiUtils.sizeUniformly(Sizing.Both, ok, cancel);
+
+ JPanel p = new JPanel();
+ p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS));
+ p.add(Box.createHorizontalGlue());
+ p.add(ok);
+ p.add(Box.createHorizontalStrut(10));
+ p.add(cancel);
+ p.add(Box.createHorizontalStrut(20));
+
+ cp.add(p, BorderLayout.SOUTH);
+ }
+
+ private void initListeners() {
+
+ }
+ public String getText() {
+ return algo.getText();
+ }
+}
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/AlgorithmEditor.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
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.
|
|
From: <dbr...@us...> - 2009-07-04 22:11:43
|
Revision: 257
http://pixelle.svn.sourceforge.net/pixelle/?rev=257&view=rev
Author: dbrosius
Date: 2009-07-04 22:11:37 +0000 (Sat, 04 Jul 2009)
Log Message:
-----------
german translation
Added Paths:
-----------
trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties
Added: trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties (rev 0)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties 2009-07-04 22:11:37 UTC (rev 257)
@@ -0,0 +1,105 @@
+# * 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
+
+ok = OK
+cancel = Abbrechen
+reset = Reset
+
+pixelle.title = Pixelle - {0}
+pixelle.untitled = Untitled
+
+menu.file.title = Datei
+menu.file.new = Neu
+menu.file.open = \xD6ffnen
+menu.file.close = Schlie\xDFen
+menu.file.save = Sichern
+menu.file.saveas = Speichern unter
+menu.file.pagesetup = Seite einrichten
+menu.file.print = Drucken
+menu.file.quit = Beenden
+
+menu.view.title = Anzeigen
+menu.view.one_eighth = 12.5%
+menu.view.one_fourth = 25%
+menu.view.one_half = 50%
+menu.view.full_size = 100%
+menu.view.double = 200%
+menu.view.four_times = 400%
+menu.view.eight_times = 800%
+menu.view.fit_to_window = Fit to Window
+
+menu.transform.title = Transform
+menu.transform.options = Optionen
+menu.transform.newwindow = Transform neue Fenster
+menu.transform.transform = Transform
+
+menu.goodies.title = Goodies
+menu.goodies.inspector = Pixel-Inspektor
+
+label.graphic_files = Grafik-Dateien
+
+formula.red = p[x,y].r
+formula.green = p[x,y].g
+formula.blue = p[x,y].b
+formula.black = p[x,y].k
+formula.transparency = p[x,y].t
+formula.selection = p[x,y].s
+
+label.group = Gruppe
+title.algorithms = Pixel-Algorithmen
+label.algorithm = Algorithm
+save.algorithm = Sichern
+delete.algorithm = L\xF6schen
+label.red = (Rot)
+label.green = (Gr\xFCn)
+label.blue = (Blau)
+label.black = (Schwarz)
+label.transparency = (Transparenz)
+label.selection = (Auswahl)
+
+title.pixel_options = Pixel-Optionen
+title.index_out_of_bounds_pixels = F\xFCr Index-out-of-bounds Pixel Nutzung\:
+label.color = Farbe
+label.border_color = N\xE4chste Grenze Farbe
+label.wrapped_color = Ummantelte Farbe
+title.pick_color = W\xE4hlen Sie eine Farbe f\xFCr die Grenzen der Indizes
+
+title.color_out_of_bounds_pixels = F\xFCr Farb-out-of-bounds Pixel Nutzung\:
+label.clip_color = Color Clipping
+label.roll_color = Color Rolling
+label.wave_color = Color Waving
+
+label.save_overwrite = Die Datei "(0)" existiert bereits, m\xF6chten Sie es \xFCberschreiben?
+
+label.x = x
+label.y = y
+label.color = Farbe
+
+tooltip.inspector = Klicken Sie auf, die im Rahmen der Fenster auf, der Inspektor Wert, und klicken Sie erneut die Freigabe
+
+label.rgb = RGB
+label.grayscale = Graustufen
+
+label.width = Breite
+label.height = H\xF6he
+
+label.sources = Transformation Eingabequellen
+label.inputnumber = Index
+label.inputname = Input Source Name
+
+label.output_properties = Output-Eigenschaften
+label.pick_source = W\xE4hlen Sie die Eingangsquelle Fenster zur Verwendung in der Transformation
\ No newline at end of file
Property changes on: trunk/pixelle/src/com/mebigfatguy/pixelle/resources/pixelle_de.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-02-20 04:55:50
|
Revision: 256
http://pixelle.svn.sourceforge.net/pixelle/?rev=256&view=rev
Author: dbrosius
Date: 2009-02-20 04:55:43 +0000 (Fri, 20 Feb 2009)
Log Message:
-----------
handle negative source inputs (do abs)
Modified Paths:
--------------
trunk/pixelle/etc/Pixelle.g
Modified: trunk/pixelle/etc/Pixelle.g
===================================================================
--- trunk/pixelle/etc/Pixelle.g 2009-02-19 04:15:22 UTC (rev 255)
+++ trunk/pixelle/etc/Pixelle.g 2009-02-20 04:55:43 UTC (rev 256)
@@ -309,8 +309,11 @@
{
if ($selector.text == null)
mv.visitInsn(Opcodes.ICONST_0);
- else
+ else
+ {
mv.visitInsn(Opcodes.D2I);
+ mv.visitMethodInsn(Opcodes.INVOKESTATIC, "java/lang/Math", "abs", "(I)I");
+ }
mv.visitVarInsn(Opcodes.ILOAD, 4);
mv.visitInsn(Opcodes.IREM);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-02-19 04:15:25
|
Revision: 255
http://pixelle.svn.sourceforge.net/pixelle/?rev=255&view=rev
Author: dbrosius
Date: 2009-02-19 04:15:22 +0000 (Thu, 19 Feb 2009)
Log Message:
-----------
if user removes all the source images, add back in the default image
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java 2009-02-18 07:27:28 UTC (rev 254)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java 2009-02-19 04:15:22 UTC (rev 255)
@@ -157,7 +157,11 @@
}
public PixelleImage[] getSourceImages() {
- return sourcePanel.getSourceImages();
+ PixelleImage[] images = sourcePanel.getSourceImages();
+ if (images.length == 0)
+ images = new PixelleImage[] { frame.getImage() };
+
+ return images;
}
private void initComponents() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-02-18 07:27:34
|
Revision: 254
http://pixelle.svn.sourceforge.net/pixelle/?rev=254&view=rev
Author: dbrosius
Date: 2009-02-18 07:27:28 +0000 (Wed, 18 Feb 2009)
Log Message:
-----------
Tag v1.0.0
Added Paths:
-----------
tags/v1_0_0/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-02-18 07:26:42
|
Revision: 253
http://pixelle.svn.sourceforge.net/pixelle/?rev=253&view=rev
Author: dbrosius
Date: 2009-02-18 07:26:39 +0000 (Wed, 18 Feb 2009)
Log Message:
-----------
Removed Paths:
-------------
tags/v1_0_0/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-02-18 07:24:26
|
Revision: 252
http://pixelle.svn.sourceforge.net/pixelle/?rev=252&view=rev
Author: dbrosius
Date: 2009-02-18 07:24:23 +0000 (Wed, 18 Feb 2009)
Log Message:
-----------
rowcount you dummy
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java 2009-02-18 07:10:33 UTC (rev 251)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/dialogs/PixelleExpressionDialog.java 2009-02-18 07:24:23 UTC (rev 252)
@@ -468,7 +468,7 @@
}
public PixelleImage[] getSourceImages() {
- int imageCount = sourceModel.getColumnCount();
+ int imageCount = sourceModel.getRowCount();
PixelleImage[] selectedImages = new PixelleImage[imageCount];
for (int i = 0; i < imageCount; i++) {
selectedImages[i] = ((PixelleFrame)sourceModel.getValueAt(i, 1)).getImage();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-02-18 07:10:36
|
Revision: 251
http://pixelle.svn.sourceforge.net/pixelle/?rev=251&view=rev
Author: dbrosius
Date: 2009-02-18 07:10:33 +0000 (Wed, 18 Feb 2009)
Log Message:
-----------
up the memory
Modified Paths:
--------------
trunk/pixelle/etc/pixelle.jnlp
Modified: trunk/pixelle/etc/pixelle.jnlp
===================================================================
--- trunk/pixelle/etc/pixelle.jnlp 2009-02-18 06:58:48 UTC (rev 250)
+++ trunk/pixelle/etc/pixelle.jnlp 2009-02-18 07:10:33 UTC (rev 251)
@@ -15,7 +15,7 @@
<all-permissions/>
</security>
<resources>
- <j2se version="1.5+" initial-heap-size="300m" max-heap-size="800m"/>
+ <j2se version="1.5+" initial-heap-size="500m" max-heap-size="1200m"/>
<jar href="pixelle-$VERSION.jar"/>
<jar href="antlr-2.7.7.jar"/>
<jar href="antlr-3.1b1.jar"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-02-18 06:58:50
|
Revision: 250
http://pixelle.svn.sourceforge.net/pixelle/?rev=250&view=rev
Author: dbrosius
Date: 2009-02-18 06:58:48 +0000 (Wed, 18 Feb 2009)
Log Message:
-----------
update algo dialog pic
Modified Paths:
--------------
trunk/pixelle/htdocs/algodlg.png
Modified: trunk/pixelle/htdocs/algodlg.png
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-02-18 06:56:09
|
Revision: 249
http://pixelle.svn.sourceforge.net/pixelle/?rev=249&view=rev
Author: dbrosius
Date: 2009-02-18 06:56:00 +0000 (Wed, 18 Feb 2009)
Log Message:
-----------
update web page
Modified Paths:
--------------
trunk/pixelle/htdocs/index.html
Modified: trunk/pixelle/htdocs/index.html
===================================================================
--- trunk/pixelle/htdocs/index.html 2009-02-18 06:45:58 UTC (rev 248)
+++ trunk/pixelle/htdocs/index.html 2009-02-18 06:56:00 UTC (rev 249)
@@ -18,7 +18,7 @@
<p>Thanks for your interest in Pixelle.</p>
- <p>This project has just been started, check back soon for more information.</p>
+ <p>Version 1.0.0 has just been released! Please report bugs or suggestions on the project pages.</p>
<p>The web start link should work, give it a try.</p>
@@ -122,8 +122,15 @@
<p>As of November 21, transformations can be done to grayscale. Prototypical example is color separations. Also
The output size can be specified in the transform dialog</p>
- <p>Still to be done is recognition of more image types, working with multiple
- input sources, more options handling such as fractional pixels,
+ <p><pre>As of February 18, multiple input sources can be processed. So
+
+ p[x,y].r = <b>p(x/10)[x,y].r</b>
+
+ Copies 10 pixel bands from a series of images into the destination
+ Note that if the value in the parenthesis is larger then the number of images,
+ the value is moded to fall into the appropriate range.</pre></p>
+
+ <p>Still to be done is recognition of more image types, more options handling such as fractional pixels,
a bunch of bugs, and a bunch of stuff I have yet to think about.</p>
</div>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2009-02-18 06:46:00
|
Revision: 248
http://pixelle.svn.sourceforge.net/pixelle/?rev=248&view=rev
Author: dbrosius
Date: 2009-02-18 06:45:58 +0000 (Wed, 18 Feb 2009)
Log Message:
-----------
Tag version 1.0.0
Added Paths:
-----------
tags/v1_0_0/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|