src/js/widgets/polemicWidget.js
branchpopcorn-port
changeset 203 9b76fc6564b1
parent 197 a793a8a0c9d2
child 207 2bc276f0c1ae
equal deleted inserted replaced
202:2e0205ee7ca9 203:9b76fc6564b1
   295 					}
   295 					}
   296 				}
   296 				}
   297 
   297 
   298 			}		
   298 			}		
   299 			// DRAW UI :: resize border and bgd			
   299 			// DRAW UI :: resize border and bgd			
   300 			this.paperBackground = this.paper.rect(0, this.yMax, this.width, this.heightmax).attr({fill:"#F8F8F8","stroke-width":0.1,opacity: 1});	
   300 			this.paperBackground = this.paper.rect(0, 0, this.width, this.heightmax).attr({fill:"#F8F8F8","stroke-width":0.1,opacity: 1});	
   301 			// var PaperBorder 	= this.paper.rect(0, this.yMax,this.width,1).attr({fill:"#fff",stroke: "none",opacity: 1});	
   301 			// var PaperBorder 	= this.paper.rect(0, this.yMax,this.width,1).attr({fill:"#fff",stroke: "none",opacity: 1});	
   302 	
   302       
   303       this.paperSlider 	= this.paper.rect(0, this.yMax, 0, this.heightmax).attr({fill:"#D4D5D5", stroke: "none", opacity: 1});
   303       this.paperSlider 	= this.paper.rect(0, 0, 0, this.heightmax).attr({fill:"#D4D5D5", stroke: "none", opacity: 1});
   304       
   304       
   305       // the small white line displayed over the slider.
   305       // the small white line displayed over the slider.
   306       this.sliderTip = this.paper.rect(0, this.yMax, 5, this.heightmax).attr({fill:"#FFFFFF", stroke: "none", opacity: 1});
   306       this.sliderTip = this.paper.rect(0, 0, 1, this.heightmax).attr({fill:"#fc00ff", stroke: "none", opacity: 1});
   307       
   307       
   308 			// decalage 
   308 			// decalage 
   309 			tweetSelection = this.paper.rect(-100,-100,5,5).attr({fill:"#fff",stroke: "none",opacity: 1});	
   309 			// tweetSelection = this.paper.rect(-100,-100,5,5).attr({fill:"#fff",stroke: "none",opacity: 1});	
   310 			
   310 			
   311       
   311       
   312 			this.paperSlider.toBack();
   312 			this.paperSlider.toBack();
   313 			this.paperBackground.toBack();
   313 			this.paperBackground.toBack();
   314       this.sliderTip.toFront();
   314       this.sliderTip.toFront();