Develop and Download Open Source Software

Browse Subversion Repository

Diff of /NNDDv2/trunk/src/org/mineap/nndd/view/VideoInfoView.as

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 786 by mineap, Sat Apr 7 13:43:13 2012 UTC revision 796 by mineap, Sat Apr 28 11:09:31 2012 UTC
# Line 165  public var pubUserNameIconUrl:String = " Line 165  public var pubUserNameIconUrl:String = "
165  public var pubUserName:String = "";  public var pubUserName:String = "";
166  [Bindalbe]  [Bindalbe]
167  public var pubUserLinkButtonText:String = "";  public var pubUserLinkButtonText:String = "";
168    [Bindable]
169    public var currentWindowSize:String = "";
170    [Bindable]
171    public var format:String = "";
172    [Bindable]
173    public var videoSize:String = "";
174    
175  public function init(playerController:PlayerController, videoPlayer:VideoPlayer, logManager:LogManager):void{  public function init(playerController:PlayerController, videoPlayer:VideoPlayer, logManager:LogManager):void{
176          this.videoPlayer = videoPlayer;          this.videoPlayer = videoPlayer;
# Line 247  public function checkBoxNgUpChanged(even Line 253  public function checkBoxNgUpChanged(even
253          }          }
254  }  }
255    
256    public function checkBoxIsLengthwisePreferredChanged(event:Event):void
257    {
258            var checkBox:CheckBox = (event.currentTarget as CheckBox);
259            
260            if (checkBox.selected)
261            {
262                    ConfigManager.getInstance().setItem("isLengthwisePreferred", "true");
263            }
264            else
265            {
266                    ConfigManager.getInstance().setItem("isLengthwisePreferred", "false");
267            }
268            ConfigManager.getInstance().save();
269    }
270    
271  public function checkBoxSmoothingChanged(event:Event):void{  public function checkBoxSmoothingChanged(event:Event):void{
272          this.isSmoothing = checkBox_isSmoothing.selected;          this.isSmoothing = checkBox_isSmoothing.selected;
273          checkBox_isSmoothingOnlyNotPixelIdenticalDimensions.enabled = this.isSmoothing;          checkBox_isSmoothingOnlyNotPixelIdenticalDimensions.enabled = this.isSmoothing;
# Line 799  private function configCanvas2CreationCo Line 820  private function configCanvas2CreationCo
820          slider_showCommentTime.value = showCommentSec;          slider_showCommentTime.value = showCommentSec;
821          slider_commentAlpha.value = commentAlpha;          slider_commentAlpha.value = commentAlpha;
822                    
823                    var value:String = ConfigManager.getInstance().getItem("isLengthwisePreferred");
824            if (value != null)
825            {
826                    var isLengthwisePreferred:Boolean = ConfUtil.parseBoolean(value);
827                    checkBox_isLengthwisePreferred.selected = isLengthwisePreferred;
828            }
829  }  }
830    
831  private function configCanvas3CreationCompleteHandler(event:FlexEvent):void{  private function configCanvas3CreationCompleteHandler(event:FlexEvent):void{

Legend:
Removed from v.786  
changed lines
  Added in v.796

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26