qsos-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qsos-commits] qsos/apps/phpviewer radar.php


From: Raphaël Semeteys
Subject: [Qsos-commits] qsos/apps/phpviewer radar.php
Date: Fri, 24 Nov 2006 15:12:21 +0000

CVSROOT:        /sources/qsos
Module name:    qsos
Changes by:     Raphaël Semeteys <rsemeteys>   06/11/24 15:12:20

Modified files:
        apps/phpviewer : radar.php 

Log message:
        Color changes and shapes fillilng

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qsos/apps/phpviewer/radar.php?cvsroot=qsos&r1=1.4&r2=1.5

Patches:
Index: radar.php
===================================================================
RCS file: /sources/qsos/qsos/apps/phpviewer/radar.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- radar.php   19 Nov 2006 14:58:32 -0000      1.4
+++ radar.php   24 Nov 2006 15:12:20 -0000      1.5
@@ -60,7 +60,7 @@
                $circle->setAttribute("cy", 0);
                $circle->setAttribute("r", $r);
                $circle->setAttribute("fill", "none");
-               $circle->setAttribute("stroke", "blue");
+               $circle->setAttribute("stroke", "lightgrey");
                $circle->setAttribute("stroke-width", "1");
                $g->appendChild($circle);
        }
@@ -74,7 +74,7 @@
                $line->setAttribute("y1", $y1);
                $line->setAttribute("x2", $x2);
                $line->setAttribute("y2", $y2);
-               $line->setAttribute("stroke", "green");
+               $line->setAttribute("stroke", "lightgrey");
                $line->setAttribute("stroke-width", "1");
                $g->appendChild($line);
        }
@@ -92,7 +92,7 @@
                $text->setAttribute("font-family", "Verdana");
                $text->setAttribute("font-size", $FONT_SIZE);
        
-               $text->setAttribute("fill", "blue");
+               $text->setAttribute("fill", "lightgrey");
                $text->appendChild($doc->createTextNode($mark));
                $g->appendChild($text);
        }
@@ -197,19 +197,15 @@
                }
                $myD .= "z";
                $path->setAttribute("d", $myD);
-               if ($num == 1) {
                        $path->setAttribute("fill", getColor($n));
-                       $path->setAttribute("opacity", "0.4");
-               } else {
-                       $path->setAttribute("fill", "none");
-               }
+               $path->setAttribute("fill-opacity", "0.2");
                $path->setAttribute("stroke-width", "3");
                $path->setAttribute("stroke", getColor($n));
        
                return $path;
        }
        
-       $colors = array('red', 'blue', 'grey', 'purple');
+       $colors = array('red', 'blue', 'green', 'purple');
        //Return drawing color depending on software position in the list
        function getColor($i) {
                global $colors;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]