[piccolo2d-dev] Re: Issue 202 in piccolo2d: [web][typo] http://www.piccolo2d.org/learn/patterns.html
Updates: Status: Accepted Owner: heuermh Labels: Type-Defect Priority-Medium Effort-Medium OpSys-All Toolkit-All Component-Website Milestone-1.3.1 Comment #1 on issue 202 by heue...@gmail.com: [web][typo] http://www.piccolo2d.org/learn/patterns.html http://code.google.com/p/piccolo2d/issues/detail?id=202 (No comment was entered for this change.) -- Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
[piccolo2d-dev] [piccolo2d] r1110 committed - applying doc style patch from Issue 204
Revision: 1110 Author: heuermh Date: Wed Mar 2 08:06:33 2011 Log: applying doc style patch from Issue 204 http://code.google.com/p/piccolo2d/source/detail?r=1110 Modified: /piccolo2d.java/trunk/examples/src/main/java/org/piccolo2d/tutorial/InterfaceFrame.java === --- /piccolo2d.java/trunk/examples/src/main/java/org/piccolo2d/tutorial/InterfaceFrame.java Mon May 10 20:31:20 2010 +++ /piccolo2d.java/trunk/examples/src/main/java/org/piccolo2d/tutorial/InterfaceFrame.java Wed Mar 2 08:06:33 2011 @@ -62,11 +62,11 @@ // Create a node. final PNode aNode = new PNode(); -// A node will not be visible until its bounds and brush are set. +// A node will not be visible until its bounds and paint are set. aNode.setBounds(0, 0, 100, 80); aNode.setPaint(Color.RED); -// A node needs to be a descendent of the root to be displayed. +// A node needs to be a descendant of the root to be displayed. final PLayer layer = getCanvas().getLayer(); layer.addChild(aNode); @@ -77,11 +77,11 @@ aNode.addChild(anotherNode); // The base bounds of a node are easy to change. Changing the bounds -// of a node will not affect it's children. +// of a node will not affect its children. aNode.setBounds(-10, -10, 200, 110); // Each node has a transform that can be used to modify the position, -// scale or rotation of a node. Changing a node's transform, will +// scale or rotation of a node. Changing a node's transform will // transform all of its children as well. aNode.translate(100, 100); aNode.scale(1.5f); @@ -113,7 +113,7 @@ myCompositeFace.addChild(eye2); myCompositeFace.addChild(mouth); -// Don't want anyone grabbing out our eye's. +// Don't want anyone grabbing out our eyes. myCompositeFace.setChildrenPickable(false); // Position the face parts. @@ -125,7 +125,7 @@ b.inset(-5, -5); myCompositeFace.setBounds(b); -// Opps its to small, so scale it up. +// Opps it's too small, so scale it up. myCompositeFace.scale(1.5); layer.addChild(myCompositeFace); @@ -138,11 +138,8 @@ class ToggleShape extends PPath { -/** - * - */ private static final long serialVersionUID = 1L; -private boolean fIsPressed = false; +private boolean isPressed = false; public ToggleShape() { setPathToEllipse(0, 0, 100, 80); @@ -150,20 +147,20 @@ addInputEventListener(new PBasicInputEventHandler() { public void mousePressed(final PInputEvent event) { super.mousePressed(event); -fIsPressed = true; +isPressed = true; repaint(); } public void mouseReleased(final PInputEvent event) { super.mouseReleased(event); -fIsPressed = false; +isPressed = false; repaint(); } }); } protected void paint(final PPaintContext paintContext) { -if (fIsPressed) { +if (isPressed) { final Graphics2D g2 = paintContext.getGraphics(); g2.setPaint(getPaint()); g2.fill(getBoundsReference()); -- Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
[piccolo2d-dev] Re: Issue 204 in piccolo2d: [web][typo] http://www.piccolo2d.org/learn/interface.html
Updates: Status: Fixed Comment #3 on issue 204 by heue...@gmail.com: [web][typo] http://www.piccolo2d.org/learn/interface.html http://code.google.com/p/piccolo2d/issues/detail?id=204 (No comment was entered for this change.) -- Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
[piccolo2d-dev] Re: Issue 33 in piccolo2d: PSwing components not visible in testing frameworks
Updates: Status: Verified Comment #8 on issue 33 by heue...@gmail.com: PSwing components not visible in testing frameworks http://code.google.com/p/piccolo2d/issues/detail?id=33 (No comment was entered for this change.) -- Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
[piccolo2d-dev] Re: Issue 120 in piccolo2d: ant all fails to build all of piccolo
Updates: Status: Verified Comment #12 on issue 120 by heue...@gmail.com: ant all fails to build all of piccolo http://code.google.com/p/piccolo2d/issues/detail?id=120 (No comment was entered for this change.) -- Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
[piccolo2d-dev] Re: Issue 136 in piccolo2d: PNotificationCenter is a singleton but isn't declared as final
Updates: Status: Verified Comment #6 on issue 136 by heue...@gmail.com: PNotificationCenter is a singleton but isn't declared as final http://code.google.com/p/piccolo2d/issues/detail?id=136 (No comment was entered for this change.) -- Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
[piccolo2d-dev] Re: Issue 163 in piccolo2d: PSwing doesn't draw dynamic JComponent properly
Comment #35 on issue 163 by heue...@gmail.com: PSwing doesn't draw dynamic JComponent properly http://code.google.com/p/piccolo2d/issues/detail?id=163 Looks good to me, please apply to trunk. -- Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
[piccolo2d-dev] Re: Issue 33 in piccolo2d: PSwing components not visible in testing frameworks
Comment #9 on issue 33 by heue...@gmail.com: PSwing components not visible in testing frameworks http://code.google.com/p/piccolo2d/issues/detail?id=33 Sorry for the noise, this should remain WontFix. -- Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
[piccolo2d-dev] Re: Issue 181 in piccolo2d: PNode.toImage is not centered and can create cropped images for PNodes with non-integral (x,y) bounds
Comment #10 on issue 181 by heue...@gmail.com: PNode.toImage is not centered and can create cropped images for PNodes with non-integral (x,y) bounds http://code.google.com/p/piccolo2d/issues/detail?id=181 I'm +0. If we apply the fix, should it also be applied to PNode.print(Graphics, PageFormat, int) ? -- Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
[piccolo2d-dev] Re: Issue 117 in piccolo2d: Text rendering in PText and JLabel via PSwing appear not to respect antialiasing rendering hints
Comment #6 on issue 117 by heue...@gmail.com: Text rendering in PText and JLabel via PSwing appear not to respect antialiasing rendering hints http://code.google.com/p/piccolo2d/issues/detail?id=117 Attaching current version of text-rendering-benchmark runnable jar, built with Piccolo2D svn trunk. Attachments: text-rendering-benchmark.jar 310 KB -- Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en