Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 11045 | Rev 11253 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11045 Rev 11244
Línea 2671... Línea 2671...
2671
				 	}
2671
				 	}
Línea 2672... Línea 2672...
2672
				 		
2672
				 		
2673
			 	}
2673
			 	}
Línea 2674... Línea 2674...
2674
			 	if(t2){
2674
			 	if(t2){
2675
 
2675
 
2676
					cal1=mouse.y-y;
2676
                    cal1=mouse.y-y;
2677
			 		cal2=cal1/recorte;
2677
                    cal2=cal1/recorte;
2678
					cal3=x+(yf-cal1)/recorte;cal2;
2678
                    cal3=x+(yf-cal1)/recorte;cal2;
2679
					if(cal2>50){
2679
                    if(cal2>50){
2680
						if(cal3>=0&&mouse.y<=alto){
2680
                        if(cal3>=0&&mouse.y<=alto){
2681
							x=cal3;
2681
                            x=cal3;
2682
							yf=cal1;	
2682
                            yf=cal1;	
2683
				 			xf=cal2;
2683
                            xf=cal2;
2684
						}else if(cal3<0&&mouse.y>alto){
2684
                        }else if(cal3>0&&mouse.y>alto){
2685
							yf=alto-y;
2685
                            yf=alto-y;
2686
							x=x+(xf-yf/recorte);
2686
                            x=x+(xf-yf/recorte);
2687
							xf=yf/recorte
2687
                            xf=yf/recorte
2688
						}else if(cal3<0&&mouse.y<=alto){
2688
                        }else if(cal3<0&&mouse.y<=alto){
2689
							xf=xf+x;
2689
                            xf=xf+x;
2690
							yf=xf*recorte;
2690
                            yf=xf*recorte;
2691
							x=0;	
2691
                            x=0;	
2692
						}
2692
                        }
2693
				 	}	
2693
                    }	
2694
					 
2694
                    
2695
			 	}
2695
                }
2696
			 	if(t1){
2696
                if(t1){
2697
					cal0=y-mouse.y;
2697
                    cal0=y-mouse.y;
2698
					cal1=yf+cal0;
2698
                    cal1=yf+cal0;
2699
			 		cal2=cal1/recorte;
2699
                    cal2=cal1/recorte;
2700
					cal3=x-cal0/recorte;
2700
                    cal3=x-cal0/recorte;
2701
					if(cal2>50){
2701
                    if(cal2>50){
2702
						if(cal3>=0&&mouse.y>=0){
2702
                        if(cal3>=0&&mouse.y>=0){
2703
							yf=cal1;
2703
                            yf=cal1;
2704
					 		xf=cal2;
2704
                            xf=cal2;
2705
					 		x=cal3;
2705
                            x=cal3;
2706
					 		y=mouse.y;
2706
                            y=mouse.y;
2707
						}else if(mouse.y<0||cal3<0&&mouse.y<0){
2707
                        }else if(cal3>0&&mouse.y<0){
2708
							yf=yf+y;
2708
                            yf=yf+y;
2709
							x=x+(xf-yf/recorte);
2709
                            x=x+(xf-yf/recorte);
2710
							xf=yf/recorte
2710
                            xf=yf/recorte
2711
							y=0;
2711
                            y=0;
2712
						}else if(cal3<0&&mouse.y>=0){
2712
                        }else if(cal3<0&&mouse.y>=0){
2713
							xf=xf+x;
2713
                            xf=xf+x;
2714
							y=y+(yf-xf*recorte);
2714
                            y=y+(yf-xf*recorte);
2715
							yf=xf*recorte;
2715
                            yf=xf*recorte;
2716
							x=0;	
2716
                            x=0;	
2717
						}
2717
                        }
2718
				 	}	
2718
                    }	
2719
					
2719
 
2720
				}
2720
                }
Línea 2721... Línea 2721...
2721
				}else{
2721
				}else{
2722
				if(t4){
2722
				if(t4){