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 484 by mineap, Sat Apr 2 12:13:46 2011 UTC revision 487 by mineap, Sat Apr 9 13:16:04 2011 UTC
# Line 79  public var isEnableWideMode:Boolean = tr Line 79  public var isEnableWideMode:Boolean = tr
79  public var relationSortIndex:int = 0;  public var relationSortIndex:int = 0;
80  public var relationOrderIndex:int = 0;  public var relationOrderIndex:int = 0;
81  public var isNgUpEnable:Boolean = true;  public var isNgUpEnable:Boolean = true;
82    public var isSmoothing:Boolean = true;
83    
84  public static const RESIZE_TYPE_NICO:int = 1;  public static const RESIZE_TYPE_NICO:int = 1;
85  public static const RESIZE_TYPE_VIDEO:int = 2;  public static const RESIZE_TYPE_VIDEO:int = 2;
# Line 221  public function checkBoxNgUpChanged(even Line 222  public function checkBoxNgUpChanged(even
222          }          }
223  }  }
224    
225    public function checkBoxSmoothingChanged(event:Event):void{
226            this.isSmoothing = checkBox_isSmoothing.selected;
227            if(this.playerController != null){
228                    this.playerController.setVideoSmoothing(this.isSmoothing);
229            }
230    }
231    
232  private function checkBoxPlayerAlwaysFrontChanged(event:Event):void{  private function checkBoxPlayerAlwaysFrontChanged(event:Event):void{
233          this.videoPlayer.isAlwaysFront = (event.currentTarget as CheckBox).selected;          this.videoPlayer.isAlwaysFront = (event.currentTarget as CheckBox).selected;
234          this.videoPlayer.alwaysInFront = (event.currentTarget as CheckBox).selected;          this.videoPlayer.alwaysInFront = (event.currentTarget as CheckBox).selected;
# Line 716  private function configCanvasCreationCom Line 724  private function configCanvasCreationCom
724          checkBox_hideSekaShinComment.selected = isHideSekaShinComment;          checkBox_hideSekaShinComment.selected = isHideSekaShinComment;
725                    
726          checkBox_isNgUpEnable.selected = isNgUpEnable;          checkBox_isNgUpEnable.selected = isNgUpEnable;
727            checkBox_isSmoothing.selected = isSmoothing;
728                    
729          if(playerController.getCommentManager() != null){          if(playerController.getCommentManager() != null){
730                  playerController.getCommentManager().setAntiAlias(isAntiAlias);                  playerController.getCommentManager().setAntiAlias(isAntiAlias);
# Line 1013  private function readStore():void{ Line 1022  private function readStore():void{
1022                          isNgUpEnable = ConfUtil.parseBoolean(confValue);                          isNgUpEnable = ConfUtil.parseBoolean(confValue);
1023                  }                  }
1024                                    
1025                    confValue = ConfigManager.getInstance().getItem("isSmoothing");
1026                    if(confValue != null){
1027                            isSmoothing = ConfUtil.parseBoolean(confValue);
1028                    }
1029                    if(playerController != null){
1030                            playerController.setVideoSmoothing(this.isSmoothing);
1031                    }
1032                    
1033                                    
1034          }catch(error:Error){          }catch(error:Error){
1035                  trace(error.getStackTrace());                  trace(error.getStackTrace());
# Line 1129  public function saveStore():void{ Line 1146  public function saveStore():void{
1146                  ConfigManager.getInstance().removeItem("isNgUpEnable");                  ConfigManager.getInstance().removeItem("isNgUpEnable");
1147                  ConfigManager.getInstance().setItem("isNgUpEnable", isNgUpEnable);                  ConfigManager.getInstance().setItem("isNgUpEnable", isNgUpEnable);
1148                                    
1149                    ConfigManager.getInstance().removeItem("isSmoothing");
1150                    ConfigManager.getInstance().setItem("isSmoothing",isSmoothing);
1151                    
1152                  ConfigManager.getInstance().save();                  ConfigManager.getInstance().save();
1153                                    
1154          }catch(error:Error){          }catch(error:Error){

Legend:
Removed from v.484  
changed lines
  Added in v.487

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