Changeset 24592 in osm for applications/editors


Ignore:
Timestamp:
2010-12-05T10:12:46+01:00 (14 years ago)
Author:
malcolmh
Message:

buttons

Location:
applications/editors/josm/plugins/smed/plugs/oseam/src
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed/plugs/oseam/src/images/ChanButton.svg

    r24577 r24592  
    88   xmlns:svg="http://www.w3.org/2000/svg"
    99   xmlns="http://www.w3.org/2000/svg"
     10   xmlns:xlink="http://www.w3.org/1999/xlink"
    1011   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    1112   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
     
    1617   inkscape:version="0.47 r22583"
    1718   sodipodi:docname="ChanButton.svg"
    18    inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ChanButton.png"
     19   inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ChanSelected_de.png"
    1920   inkscape:export-xdpi="90"
    2021   inkscape:export-ydpi="90">
    2122  <defs
    2223     id="defs4">
     24    <linearGradient
     25       id="linearGradient3638"
     26       inkscape:collect="always">
     27      <stop
     28         id="stop3640"
     29         offset="0"
     30         style="stop-color:#80a4c4;stop-opacity:1" />
     31      <stop
     32         style="stop-color:#ffffff;stop-opacity:1"
     33         offset="0.1803427"
     34         id="stop3642" />
     35      <stop
     36         id="stop3646"
     37         offset="0.49928904"
     38         style="stop-color:#ffffff;stop-opacity:1" />
     39      <stop
     40         id="stop3644"
     41         offset="1"
     42         style="stop-color:#80a4c4;stop-opacity:1" />
     43    </linearGradient>
     44    <linearGradient
     45       inkscape:collect="always"
     46       id="linearGradient3606">
     47      <stop
     48         style="stop-color:#80a4c4;stop-opacity:1"
     49         offset="0"
     50         id="stop3608" />
     51      <stop
     52         id="stop3614"
     53         offset="0.31745982"
     54         style="stop-color:#ffffff;stop-opacity:1" />
     55      <stop
     56         style="stop-color:#80a4c4;stop-opacity:1"
     57         offset="1"
     58         id="stop3610" />
     59    </linearGradient>
    2360    <inkscape:perspective
    2461       sodipodi:type="inkscape:persp3d"
     
    2865       inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
    2966       id="perspective10" />
     67    <linearGradient
     68       inkscape:collect="always"
     69       xlink:href="#linearGradient3606"
     70       id="linearGradient3612"
     71       x1="50.002548"
     72       y1="1012.4216"
     73       x2="50.002548"
     74       y2="1052.3596"
     75       gradientUnits="userSpaceOnUse" />
     76    <linearGradient
     77       inkscape:collect="always"
     78       xlink:href="#linearGradient3638"
     79       id="linearGradient3636"
     80       gradientUnits="userSpaceOnUse"
     81       x1="50.002548"
     82       y1="1012.4216"
     83       x2="50.002548"
     84       y2="1052.3596" />
    3085  </defs>
    3186  <sodipodi:namedview
     
    3691     inkscape:pageopacity="0.0"
    3792     inkscape:pageshadow="2"
    38      inkscape:zoom="11.879394"
    39      inkscape:cx="47.703965"
    40      inkscape:cy="24.637413"
     93     inkscape:zoom="8.4000001"
     94     inkscape:cx="38.780951"
     95     inkscape:cy="9.8235431"
    4196     inkscape:document-units="px"
    42      inkscape:current-layer="g2900"
     97     inkscape:current-layer="layer1"
    4398     showgrid="true"
    4499     inkscape:showpageshadow="false"
     
    76131     style="display:inline">
    77132    <rect
     133       y="1012.67"
     134       x="0.2509402"
     135       height="39.441231"
     136       width="99.50322"
     137       id="rect3618"
     138       style="fill:url(#linearGradient3612);fill-opacity:1;stroke:#000000;stroke-width:0.49680412;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline" />
     139    <rect
    78140       style="fill:#d40000;fill-opacity:1;stroke:#000000;stroke-width:0.78358072;stroke-opacity:1"
    79141       id="rect2818"
     
    101163       sodipodi:rx="10.684524"
    102164       sodipodi:ry="9.6428576"
    103        d="m 36.190476,11.369047 c 0,5.325603 -4.783624,9.642858 -10.684523,9.642858 -5.9009,0 -10.684524,-4.317255 -10.684524,-9.642858 0,-5.325603 4.783624,-9.6428574 10.684524,-9.6428574 5.900899,0 10.684523,4.3172544 10.684523,9.6428574 z"
     165       d="m 36.190476,11.369047 a 10.684524,9.6428576 0 1 1 -21.369047,0 10.684524,9.6428576 0 1 1 21.369047,0 z"
    104166       transform="matrix(0.7128465,0,0,0.78804359,6.7216642,1013.3063)"
    105167       inkscape:export-filename="/Users/mherring/boatsw/oseam/openseamap/josm/icons/Chan.png"
     
    112174     inkscape:groupmode="layer"
    113175     inkscape:label="Text EN"
    114      style="display:inline">
     176     style="display:none">
    115177    <text
    116178       inkscape:export-ydpi="90"
  • applications/editors/josm/plugins/smed/plugs/oseam/src/images/HazButton.svg

    r24577 r24592  
    88   xmlns:svg="http://www.w3.org/2000/svg"
    99   xmlns="http://www.w3.org/2000/svg"
     10   xmlns:xlink="http://www.w3.org/1999/xlink"
    1011   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    1112   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
     
    2223  <defs
    2324     id="defs4">
     25    <linearGradient
     26       inkscape:collect="always"
     27       id="linearGradient5445">
     28      <stop
     29         style="stop-color:#80a4c4;stop-opacity:1"
     30         offset="0"
     31         id="stop5447" />
     32      <stop
     33         id="stop5453"
     34         offset="0.31249949"
     35         style="stop-color:#ffffff;stop-opacity:0.68627451;" />
     36      <stop
     37         style="stop-color:#80a4c4;stop-opacity:1"
     38         offset="1"
     39         id="stop5449" />
     40    </linearGradient>
    2441    <inkscape:perspective
    2542       sodipodi:type="inkscape:persp3d"
     
    2946       inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
    3047       id="perspective10" />
     48    <linearGradient
     49       inkscape:collect="always"
     50       xlink:href="#linearGradient5445"
     51       id="linearGradient5451"
     52       x1="50.000004"
     53       y1="1012.3622"
     54       x2="50.000004"
     55       y2="1052.3623"
     56       gradientUnits="userSpaceOnUse" />
    3157  </defs>
    3258  <sodipodi:namedview
     
    3763     inkscape:pageopacity="0.0"
    3864     inkscape:pageshadow="2"
    39      inkscape:zoom="11.879394"
    40      inkscape:cx="51.249711"
     65     inkscape:zoom="8.4000001"
     66     inkscape:cx="35.592347"
    4167     inkscape:cy="26.914183"
    4268     inkscape:document-units="px"
    43      inkscape:current-layer="g3612"
     69     inkscape:current-layer="layer1"
    4470     showgrid="true"
    4571     inkscape:showpageshadow="false"
     
    76102     transform="translate(0,-1012.3622)"
    77103     style="display:inline">
     104    <rect
     105       style="fill:url(#linearGradient5451);fill-opacity:1;stroke:#000000;stroke-width:0.50033444000000005;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
     106       id="rect4923"
     107       width="99.499672"
     108       height="39.499664"
     109       x="0.25016722"
     110       y="1012.6124" />
    78111    <path
    79112       style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.89626366px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
  • applications/editors/josm/plugins/smed/plugs/oseam/src/images/LightsButton.svg

    r24577 r24592  
    88   xmlns:svg="http://www.w3.org/2000/svg"
    99   xmlns="http://www.w3.org/2000/svg"
     10   xmlns:xlink="http://www.w3.org/1999/xlink"
    1011   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    1112   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
     
    2122  <defs
    2223     id="defs4">
     24    <linearGradient
     25       inkscape:collect="always"
     26       id="linearGradient4892">
     27      <stop
     28         style="stop-color:#80a4c4;stop-opacity:1"
     29         offset="0"
     30         id="stop4894" />
     31      <stop
     32         id="stop4902"
     33         offset="0.31183401"
     34         style="stop-color:#ffffff;stop-opacity:1" />
     35      <stop
     36         style="stop-color:#80a4c4;stop-opacity:1"
     37         offset="1"
     38         id="stop4896" />
     39    </linearGradient>
    2340    <inkscape:perspective
    2441       sodipodi:type="inkscape:persp3d"
     
    11061123       inkscape:vp_x="0 : 160 : 1"
    11071124       sodipodi:type="inkscape:persp3d" />
     1125    <linearGradient
     1126       inkscape:collect="always"
     1127       xlink:href="#linearGradient4892"
     1128       id="linearGradient4900"
     1129       x1="50.000011"
     1130       y1="1012.3622"
     1131       x2="50.000011"
     1132       y2="1052.3622"
     1133       gradientUnits="userSpaceOnUse" />
    11081134  </defs>
    11091135  <sodipodi:namedview
     
    11151141     inkscape:pageshadow="2"
    11161142     inkscape:zoom="11.879394"
    1117      inkscape:cx="58.263162"
     1143     inkscape:cx="42.605798"
    11181144     inkscape:cy="14.533528"
    11191145     inkscape:document-units="px"
    1120      inkscape:current-layer="g3309"
     1146     inkscape:current-layer="layer1"
    11211147     showgrid="true"
    11221148     inkscape:showpageshadow="false"
     
    11431169        <dc:type
    11441170           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
    1145         <dc:title />
     1171        <dc:title></dc:title>
    11461172      </cc:Work>
    11471173    </rdf:RDF>
     
    11531179     transform="translate(0,-1012.3622)"
    11541180     style="display:inline">
     1181    <rect
     1182       style="fill:url(#linearGradient4900);fill-opacity:1;stroke:#000000;stroke-width:0.50065404000000002;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
     1183       id="rect4370"
     1184       width="99.499367"
     1185       height="39.499348"
     1186       x="0.25032702"
     1187       y="1012.6125"
     1188       inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/LightsButton.png"
     1189       inkscape:export-xdpi="90"
     1190       inkscape:export-ydpi="90" />
    11551191    <g
    11561192       transform="matrix(0.24,0,0,0.24,-10.987692,996.88709)"
  • applications/editors/josm/plugins/smed/plugs/oseam/src/images/SpecButton.svg

    r24577 r24592  
    88   xmlns:svg="http://www.w3.org/2000/svg"
    99   xmlns="http://www.w3.org/2000/svg"
     10   xmlns:xlink="http://www.w3.org/1999/xlink"
    1011   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    1112   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
     
    1819  <defs
    1920     id="defs4">
     21    <linearGradient
     22       inkscape:collect="always"
     23       id="linearGradient4179">
     24      <stop
     25         style="stop-color:#80a4c4;stop-opacity:1"
     26         offset="0"
     27         id="stop4181" />
     28      <stop
     29         id="stop4187"
     30         offset="0.31250244"
     31         style="stop-color:#ffffff;stop-opacity:0.68627451;" />
     32      <stop
     33         style="stop-color:#80a4c4;stop-opacity:1"
     34         offset="1"
     35         id="stop4183" />
     36    </linearGradient>
    2037    <inkscape:perspective
    2138       sodipodi:type="inkscape:persp3d"
     
    2542       inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
    2643       id="perspective10" />
     44    <linearGradient
     45       inkscape:collect="always"
     46       xlink:href="#linearGradient4179"
     47       id="linearGradient4185"
     48       x1="50.000004"
     49       y1="1012.3621"
     50       x2="50.000004"
     51       y2="1052.3621"
     52       gradientUnits="userSpaceOnUse" />
    2753  </defs>
    2854  <sodipodi:namedview
     
    3359     inkscape:pageopacity="0.0"
    3460     inkscape:pageshadow="2"
    35      inkscape:zoom="11.879394"
    36      inkscape:cx="52.768058"
    37      inkscape:cy="27.488438"
     61     inkscape:zoom="8.4000001"
     62     inkscape:cx="50.678515"
     63     inkscape:cy="7.2853872"
    3864     inkscape:document-units="px"
    39      inkscape:current-layer="g3709"
     65     inkscape:current-layer="layer1"
    4066     showgrid="true"
    4167     inkscape:showpageshadow="false"
     
    6288        <dc:type
    6389           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
    64         <dc:title />
     90        <dc:title></dc:title>
    6591      </cc:Work>
    6692    </rdf:RDF>
     
    7298     transform="translate(0,-1012.3622)"
    7399     style="display:inline">
     100    <rect
     101       style="fill:url(#linearGradient4185);fill-opacity:1;stroke:#000000;stroke-width:0.50330848;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline"
     102       id="rect3667"
     103       width="99.496696"
     104       height="39.496693"
     105       x="0.25165424"
     106       y="1012.6138"
     107       inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/SpecButton_de.png"
     108       inkscape:export-xdpi="90"
     109       inkscape:export-ydpi="90" />
    74110    <path
    75111       style="fill:#ffd400;fill-opacity:1;stroke:#000000;stroke-width:0.80000001px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
  • applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/dialogs/OSeaMAction.java

    r24583 r24592  
    8282                        ActionListener alType = new ActionListener() {
    8383                                public void actionPerformed(java.awt.event.ActionEvent e) {
     84                                        chanButton.setEnabled(!chanButton.isSelected());
     85                                        hazButton.setEnabled(!hazButton.isSelected());
     86                                        specButton.setEnabled(!specButton.isSelected());
     87                                        lightButton.setEnabled(!lightButton.isSelected());
    8488//System.out.println("pressed: " + chanButton.isSelected() + " " + hazButton.isSelected() + " " + specButton.isSelected() + " " + lightButton.isSelected());
    8589                                }
     
    98102                                        Messages.getString("ChanButton"))));
    99103                        chanButton.setBounds(new Rectangle(5, 0, 105, 40));
    100                         chanButton.setBorderPainted(true);
    101104                        chanButton.setToolTipText(Messages.getString("ChanTip"));
    102105                }
     
    109112                                        Messages.getString("HazButton"))));
    110113                        hazButton.setBounds(new Rectangle(5, 40, 105, 40));
    111                         hazButton.setBorderPainted(true);
    112114                        hazButton.setToolTipText(Messages.getString("HazTip"));
    113115                }
     
    120122                                        Messages.getString("SpecButton"))));
    121123                        specButton.setBounds(new Rectangle(5, 80, 105, 40));
    122                         specButton.setBorderPainted(true);
    123124                        specButton.setToolTipText(Messages.getString("SpecTip"));
    124125                }
     
    131132                                        Messages.getString("LightsButton"))));
    132133                        lightButton.setBounds(new Rectangle(5, 120, 105, 40));
    133                         lightButton.setBorderPainted(true);
    134134                        lightButton.setToolTipText(Messages.getString("LightsTip"));
    135135                }
Note: See TracChangeset for help on using the changeset viewer.