Develop and Download Open Source Software

Browse Subversion Repository

Diff of /SvgEditor.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 54 by isao-hara, Wed Jul 28 08:17:03 2010 UTC revision 55 by isao-hara, Wed Jul 28 08:24:57 2010 UTC
# Line 1038  function propSVGLine(type, stroke, color Line 1038  function propSVGLine(type, stroke, color
1038    res += "<area shape=\"rect\" coords=\"0,25,30,50\"  onClick=\"removeLeftArrow();\">";    res += "<area shape=\"rect\" coords=\"0,25,30,50\"  onClick=\"removeLeftArrow();\">";
1039    res += "</map>";    res += "</map>";
1040    
1041      res += "<img id=\"strokeW\" src=\"images/strokeW.png\" usemap=\"#strokemenu\" />\n";
1042      res += "<map name=\"strokemenu\">";
1043      res += "<area shape=\"rect\" coords=\"0,25,20,200\"  onClick=\"upStrokeW();\">";
1044      res += "<area shape=\"rect\" coords=\"50,0,70,175\" onClick=\"downStrokeW();\">";
1045      res += "</map>";
1046    
1047    res += "<img id=\"arrow_r\" src=\"images/arrow_r.png\" usemap=\"#arrow_r\" />\n";    res += "<img id=\"arrow_r\" src=\"images/arrow_r.png\" usemap=\"#arrow_r\" />\n";
1048    res += "<map name=\"arrow_r\">";    res += "<map name=\"arrow_r\">";
1049    res += "<area shape=\"rect\" coords=\"0,0,30,25\"  onClick=\"setRightArrow();\">";    res += "<area shape=\"rect\" coords=\"0,0,30,25\"  onClick=\"setRightArrow();\">";
1050    res += "<area shape=\"rect\" coords=\"0,25,30,50\"  onClick=\"removeRightArrow();\">";    res += "<area shape=\"rect\" coords=\"0,25,30,50\"  onClick=\"removeRightArrow();\">";
1051    res += "</map>";    res += "</map>";
1052    
1053    
1054    res += "<img id=\"path_type\" src=\"images/path_type.png\" usemap=\"#path_type\" />\n";    res += "<img id=\"path_type\" src=\"images/path_type.png\" usemap=\"#path_type\" />\n";
1055    res += "<map name=\"path_type\">";    res += "<map name=\"path_type\">";
1056    res += "<area shape=\"rect\" coords=\"0,0,30,50\"  onClick=\"togglePathType();\">";    res += "<area shape=\"rect\" coords=\"0,0,30,50\"  onClick=\"togglePathType();\">";
1057    res += "</map>";    res += "</map>";
   
   res += "<img id=\"strokeW\" src=\"images/strokeW.png\" usemap=\"#strokemenu\" />\n";  
   res += "<map name=\"strokemenu\">";  
   res += "<area shape=\"rect\" coords=\"0,25,20,200\"  onClick=\"upStrokeW();\">";  
   res += "<area shape=\"rect\" coords=\"50,0,70,175\" onClick=\"downStrokeW();\">";  
   res += "</map>";  
   
1058    document.getElementById('toolFill').style.backgroundColor=fill;    document.getElementById('toolFill').style.backgroundColor=fill;
1059    document.getElementById('toolStroke').style.backgroundColor=color;    document.getElementById('toolStroke').style.backgroundColor=color;
1060    

Legend:
Removed from v.54  
changed lines
  Added in v.55

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26