Subversion Repositories eFlore/Applications.cel

Rev

Rev 245 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 245 Rev 279
Line 155... Line 155...
155
					afficherMenu(xy) ;
155
					afficherMenu(xy) ;
156
				}
156
				}
Line 157... Line 157...
157
				
157
				
158
				// lors du double clic
158
				// lors du double clic
-
 
159
				if (Event.ONDBLCLICK == DOM.eventGetType(event)) {
-
 
160
					if(imgZoom.isVisible()) {
-
 
161
							imgZoom.hide();
159
				if (Event.ONDBLCLICK == DOM.eventGetType(event)) {
162
					} else {
-
 
163
						afficherPanneauAgrandi();
160
					afficherPanneauAgrandi();
164
					}
161
				}
165
				}
Line 162... Line 166...
162
			}
166
			}
Line 533... Line 537...
533
            float rapport = tailleXYf[0]/tailleXYf[1] ;
537
            float rapport = tailleXYf[0]/tailleXYf[1] ;
534
            XYresize[1] = tailleOr ;
538
            XYresize[1] = tailleOr ;
535
            XYresize[0] = tailleOr*rapport ;
539
            XYresize[0] = tailleOr*rapport ;
536
        }
540
        }
Line 537... Line 541...
537
        
541
        
Line 538... Line 542...
538
        int[] res = {Math.round(XYresize[0]),Math.round(XYresize[1])} ;
542
        int[] res = {(int)Math.round(XYresize[0]*0.85),(int)Math.round(XYresize[1]*0.85)} ;
539
        
543
        
Line 540... Line 544...
540
        return res;
544
        return res;