Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 10541 Rev 10542
Línea 1642... Línea 1642...
1642
						yf=mouse.y<=alto?cal1:alto-y;				
1642
						yf=mouse.y<=alto?cal1:alto-y;				
1643
				 	}
1643
				 	}
1644
					if(cal2>50){
1644
					if(cal2>50){
1645
						xf=mouse.x<=ancho?cal2:ancho-x;
1645
						xf=mouse.x<=ancho?cal2:ancho-x;
1646
					}
1646
					}
1647
					
-
 
1648
					
-
 
1649
					/*if(mouse.y<(alto-(2/scale))&&mouse.x<=(ancho-(2/scale))){
-
 
1650
				 		
-
 
1651
							
-
 
1652
						
-
 
1653
			 		}else{
-
 
1654
			 			if(mouse.y>=(alto-10-(2/scale))){
-
 
1655
			 				yf=alto-y;
-
 
1656
			 			}
-
 
1657
			 			if(mouse.x>(ancho-(2/scale))){
-
 
1658
			 				xf=(ancho)-x;
-
 
1659
			 			}
-
 
1660
						 t4=false;	
-
 
1661
			 		}*/
-
 
1662
			 	}
1647
			 	}
1663
			 	if(t3){
1648
			 	if(t3){
-
 
1649
					cal1=yf-(mouse.y-y);
-
 
1650
					cal2=mouse.x-x;
-
 
1651
					if(cal1>50){
-
 
1652
						yf=mouse.y<=alto?cal1:alto-y;				
-
 
1653
						y=mouse.y;	
-
 
1654
				 	}
-
 
1655
					if(cal2>50){
-
 
1656
						xf=cal2;
-
 
1657
					}
-
 
1658
				
-
 
1659
					/*
1664
			 		if(mouse.y>(2/scale)&&mouse.x<=(ancho-(2/scale))){
1660
			 		if(mouse.y>(2/scale)&&mouse.x<=(ancho-(2/scale))){
Línea 1665... Línea -...
1665
				 		
-
 
1666
							if((yf-(mouse.y-y))>50){
-
 
1667
				 				yf=yf-(mouse.y-y);
-
 
1668
								y=mouse.y;	
-
 
1669
				 			}
-
 
1670
							if((mouse.x-x)>50){
-
 
1671
								xf=mouse.x-x;
1661
				 		
Línea 1672... Línea 1662...
1672
							}
1662
							
1673
				 		
1663
				 		
1674
 
1664
 
1675
			 		}/*else{
1665
			 		}else{
1676
						if(mouse.x>(ancho-(2/scale))){
1666
						if(mouse.x>(ancho-(2/scale))){
1677
							xf=ancho-x;
1667
							xf=ancho-x;
1678
						}
1668
						}
1679
						if(mouse.y<=(2/scale)){
1669
						if(mouse.y<=(2/scale)){
1680
							yf=yf-(mouse.y-y);
1670
							yf=yf-(mouse.y-y);
1681
							y=0;
1671
							y=0;
1682
						}
1672
						}
1683
			 			t3=false;		
1673
			 			t3=false;		
1684
			 		}*/
1674
			 		}
1685
			 	}
1675
			 	}*/
1686
				/* Izquierda abajo */
1676
				/* Izquierda abajo */
1687
			 	if(t2){
1677
			 	if(t2){