svn commit: r16246 - trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/PathItemPlacement.java

Dave Thompson <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: dthompson
Date: 2008-12-04 12:14:33-0800
New Revision: 16246

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/PathItemPlacement.java

Log:
Issue 5517: Increased intensity of path item line and shaded box to make them more obvious.  Also removed some redundant code.

Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/PathItemPlacement.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/PathItemPlacement.java?view=diff&pathrev=16246&r1=16245&r2=16246
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/PathItemPlacement.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/PathItemPlacement.java	2008-12-04 12:14:33-0800
@@ -589,14 +589,12 @@
      * @see org.tigris.gef.base.PathConv#paint(java.awt.Graphics)
      */
     public void paint(Graphics g) {
-        final float[] dashes = {1.0f, 4.0f};
-        final float phase = 5f;
         final Point p1 = getAnchorPosition();
         Point p2 = getPoint();
         Rectangle r = itemFig.getBounds();
         // Load the standard colour, just add an alpha channel.
         Color c = Globals.getPrefs().handleColorFor(itemFig);
-        c = new Color(c.getRed(), c.getGreen(), c.getBlue(), 30);
+        c = new Color(c.getRed(), c.getGreen(), c.getBlue(), 100);
         g.setColor(c);
         r.grow(2, 2);
         g.fillRoundRect(r.x, r.y, r.width, r.height, 8, 8);

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=979799

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.