Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 11034 Rev 11038
Línea 827... Línea 827...
827
		color="#ffffff";
827
		color="#ffffff";
828
		texto_listo=false,siete=false;
828
		texto_listo=false,siete=false;
829
		uno=true;
829
		uno=true;
830
		size=48;
830
		size=48;
831
		cinco=true;
831
		cinco=true;
832
		blockCelda=true;
832
		blockCelda=false;
833
		if(fileToggle){
833
		if(fileToggle){
834
			pw=420; ph=320;
834
			pw=420; ph=320;
835
			recorte=ph/pw;
835
			recorte=ph/pw;
836
		}else{
836
		}else{
837
			pw=320; ph=480;
837
			pw=320; ph=480;
Línea 890... Línea 890...
890
		}else{
890
		}else{
891
			pw=320, ph=480;
891
			pw=320, ph=480;
892
			recorte=ph/pw
892
			recorte=ph/pw
893
		}
893
		}
894
		xf=pw,yf =ph;
894
		xf=pw,yf =ph;
895
		blockCelda=true;
895
		blockCelda=false;
896
		negritas=false, bold="";
896
		negritas=false, bold="";
897
		shadow = true, nueve=true;
897
		shadow = true, nueve=true;
898
		italic=false, ita="";
898
		italic=false, ita="";
899
		rectangulo=false, diez=false;
899
		rectangulo=false, diez=false;
900
     	fontfamily="Arial";
900
     	fontfamily="Arial";
Línea 1945... Línea 1945...
1945
			 			if((mouse.x+(xf/2))>ancho){
1945
			 			if((mouse.x+(xf/2))>ancho){
1946
			 				x=(ancho)-xf;
1946
			 				x=(ancho)-xf;
1947
			 			}
1947
			 			}
1948
			 		}	 			
1948
			 		}	 			
1949
			 	}
1949
			 	}
1950
				if(blockCelda){
1950
				 if(blockCelda){
1951
			 	if(t4){
1951
			 	if(t4){
1952
					cal1=mouse.y-y;
1952
					cal1=mouse.y-y;
1953
			 		cal2=cal1/recorte;
1953
			 		cal2=cal1/recorte;
1954
					cal3=x+cal2;
1954
					cal3=x+cal2;
1955
					if(cal2>50){
1955
					if(cal2>50){
Línea 1976... Línea 1976...
1976
							y=mouse.y;	
1976
							y=mouse.y;	
1977
						}else if(cal3<=ancho&&mouse.y<0){
1977
						}else if(cal3<=ancho&&mouse.y<0){
1978
							yf=yf+y;
1978
							yf=yf+y;
1979
							xf=yf/recorte
1979
							xf=yf/recorte
1980
							y=0;
1980
							y=0;
1981
						}else if(cal3>=ancho){
1981
						}else if(cal3>=ancho&&mouse.y>=0){
1982
							xf=ancho-x;
1982
							xf=ancho-x;
1983
							y=y+(yf-xf*recorte);
1983
							y=y+(yf-xf*recorte);
1984
							yf=xf*recorte;	
1984
							yf=xf*recorte;	
1985
						}
1985
						}
Línea 1995... Línea 1995...
1995
					if(cal2>50){
1995
					if(cal2>50){
1996
						if(cal3>=0&&mouse.y<=alto){
1996
						if(cal3>=0&&mouse.y<=alto){
1997
							x=cal3;
1997
							x=cal3;
1998
							yf=cal1;	
1998
							yf=cal1;	
1999
				 			xf=cal2;
1999
				 			xf=cal2;
2000
						}else if(mouse.y>alto||cal3<0&&mouse.y>alto){
2000
						}else if(cal3<0&&mouse.y>alto){
2001
							yf=alto-y;
2001
							yf=alto-y;
2002
							x=x+(xf-yf/recorte);
2002
							x=x+(xf-yf/recorte);
2003
							xf=yf/recorte
2003
							xf=yf/recorte
2004
						}else if(cal3<0){
2004
						}else if(cal3<0&&mouse.y<=alto){
2005
							xf=xf+x;
2005
							xf=xf+x;
2006
							yf=xf*recorte;
2006
							yf=xf*recorte;
2007
							x=0;	
2007
							x=0;	
2008
						}
2008
						}
2009
				 	}	
2009
				 	}	
Línea 2023... Línea 2023...
2023
						}else if(mouse.y<0||cal3<0&&mouse.y<0){
2023
						}else if(mouse.y<0||cal3<0&&mouse.y<0){
2024
							yf=yf+y;
2024
							yf=yf+y;
2025
							x=x+(xf-yf/recorte);
2025
							x=x+(xf-yf/recorte);
2026
							xf=yf/recorte
2026
							xf=yf/recorte
2027
							y=0;
2027
							y=0;
2028
						}else if(cal3<0){
2028
						}else if(cal3<0&&mouse.y>=0){
2029
							xf=xf+x;
2029
							xf=xf+x;
2030
							y=y+(yf-xf*recorte);
2030
							y=y+(yf-xf*recorte);
2031
							yf=xf*recorte;
2031
							yf=xf*recorte;
2032
							x=0;	
2032
							x=0;	
2033
						}
2033
						}