From d65550e3a82364d6c5048ac4628143dcd2168ea7 Mon Sep 17 00:00:00 2001 From: Phillip Date: Wed, 23 Feb 2011 08:19:21 +0000 Subject: Added Color Button to qualifying shapes (planar polygon param window did NOT receive color button). Added new constructor to MenuItem to prevent or allow color button (bool value, false to turn off button), use two parameter constructor or true in three param to turn on color button. Removed color chooser after clicking enter button on both particle emitter and particle as this function is now handled by the color button. --- src/tesseract/newmenu/NewPlanarPolygonMenuItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tesseract/newmenu/NewPlanarPolygonMenuItem.java') diff --git a/src/tesseract/newmenu/NewPlanarPolygonMenuItem.java b/src/tesseract/newmenu/NewPlanarPolygonMenuItem.java index c2ea659..bb26c7c 100644 --- a/src/tesseract/newmenu/NewPlanarPolygonMenuItem.java +++ b/src/tesseract/newmenu/NewPlanarPolygonMenuItem.java @@ -33,7 +33,7 @@ public class NewPlanarPolygonMenuItem extends MenuItem { * @param theWorld to add objects to. */ public NewPlanarPolygonMenuItem(final World theWorld) { - super(theWorld, "Planar Polygon"); + super(theWorld, "Planar Polygon", false); buildParams(); -- cgit v1.2.3