Rev 7746 | Rev 7748 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7746 | Rev 7747 | ||
---|---|---|---|
Line 1119... | Line 1119... | ||
1119 | if( strcmp(draw_type,"line") == 0 ){ |
1119 | if( strcmp(draw_type,"line") == 0 ){ |
1120 | if( js_function[DRAW_CIRCLES] != 1 ){ js_function[DRAW_CIRCLES] = 1;} |
1120 | if( js_function[DRAW_CIRCLES] != 1 ){ js_function[DRAW_CIRCLES] = 1;} |
1121 | if( js_function[DRAW_LINES] != 1 ){ js_function[DRAW_LINES] = 1;} |
1121 | if( js_function[DRAW_LINES] != 1 ){ js_function[DRAW_LINES] = 1;} |
1122 | if(reply_format < 1){reply_format = 11;} |
1122 | if(reply_format < 1){reply_format = 11;} |
1123 | add_js_lines(js_include_file,1,draw_type,line_width,stroke_color,stroke_opacity,use_dashed,dashtype[0],dashtype[1]); |
1123 | add_js_lines(js_include_file,1,draw_type,line_width,stroke_color,stroke_opacity,use_dashed,dashtype[0],dashtype[1]); |
- | 1124 | if( use_input_xy == 1 ){ |
|
- | 1125 | add_textarea_line(js_include_file,1); |
|
1124 |
|
1126 | add_input_x1y1x2y2(js_include_file,canvas_root_id); |
- | 1127 | } |
|
1125 | } |
1128 | } |
1126 | else |
1129 | else |
1127 | if( strcmp(draw_type,"lines") == 0 ){ |
1130 | if( strcmp(draw_type,"lines") == 0 ){ |
1128 | if( js_function[DRAW_CIRCLES] != 1 ){ js_function[DRAW_CIRCLES] = 1;} |
1131 | if( js_function[DRAW_CIRCLES] != 1 ){ js_function[DRAW_CIRCLES] = 1;} |
1129 | if( js_function[DRAW_LINES] != 1 ){ js_function[DRAW_LINES] = 1;} |
1132 | if( js_function[DRAW_LINES] != 1 ){ js_function[DRAW_LINES] = 1;} |
1130 | if(reply_format < 1){reply_format = 11;} |
1133 | if(reply_format < 1){reply_format = 11;} |
1131 | add_js_lines(js_include_file,2,draw_type,line_width,stroke_color,stroke_opacity,use_dashed,dashtype[0],dashtype[1]); |
1134 | add_js_lines(js_include_file,2,draw_type,line_width,stroke_color,stroke_opacity,use_dashed,dashtype[0],dashtype[1]); |
1132 | if( use_input_xy |
1135 | if( use_input_xy == 1 ){ |
1133 | add_textarea_line(js_include_file,2); |
1136 | add_textarea_line(js_include_file,2); |
1134 | if( use_input_xy == 2 ){ |
- | |
1135 | add_textarea_xy(js_include_file,canvas_root_id); |
- | |
1136 | } |
- | |
1137 | else |
- | |
1138 | { |
- | |
1139 |
|
1137 | add_input_x1y1x2y2(js_include_file,canvas_root_id); |
1140 | /* add_input_xy(js_include_file,canvas_root_id); */ |
- | |
1141 | } |
- | |
1142 | } |
1138 | } |
1143 | } |
1139 | } |
1144 | else |
1140 | else |
1145 | if( strcmp(draw_type,"rects") == 0){ |
1141 | if( strcmp(draw_type,"rects") == 0){ |
1146 | if( js_function[DRAW_RECTS] != 1 ){ js_function[DRAW_RECTS] = 1;} |
1142 | if( js_function[DRAW_RECTS] != 1 ){ js_function[DRAW_RECTS] = 1;} |