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 860 by mineap, Sat Jun 2 09:56:15 2012 UTC revision 869 by mineap, Sat Jun 16 06:36:05 2012 UTC
# Line 97  public var isNotPlayNicowari:Boolean = f Line 97  public var isNotPlayNicowari:Boolean = f
97  public var isOpenFileDialogWhenOpenPlayer:Boolean = false;  public var isOpenFileDialogWhenOpenPlayer:Boolean = false;
98  public var is184:Boolean = true;  public var is184:Boolean = true;
99  public var useDarkColor:Boolean = false;  public var useDarkColor:Boolean = false;
100    public var ownerCommentTextSize:int = 70;
101    
102  public static const RESIZE_TYPE_NICO:int = 1;  public static const RESIZE_TYPE_NICO:int = 1;
103  public static const RESIZE_TYPE_VIDEO:int = 2;  public static const RESIZE_TYPE_VIDEO:int = 2;
# Line 1259  private function readStore():void{ Line 1260  private function readStore():void{
1260                          this.useDarkColor = ConfUtil.parseBoolean(confValue);                          this.useDarkColor = ConfUtil.parseBoolean(confValue);
1261                  }                  }
1262                                    
1263                    confValue = ConfigManager.getInstance().getItem("ownerCommentTextSize");
1264                    if (confValue != null)
1265                    {
1266                            var height:int = int(confValue);
1267                            
1268                            if (height >= 0) {
1269                                    this.ownerCommentTextSize = height;
1270                            }
1271                    }
1272                    
1273          }catch(error:Error){          }catch(error:Error){
1274                  trace(error.getStackTrace());                  trace(error.getStackTrace());
1275                  Alert.show(Message.M_CONF_FILE_IS_BROKEN, Message.M_ERROR);                  Alert.show(Message.M_CONF_FILE_IS_BROKEN, Message.M_ERROR);
# Line 1416  public function saveStore():void{ Line 1427  public function saveStore():void{
1427                  ConfigManager.getInstance().removeItem("useDarkColor");                  ConfigManager.getInstance().removeItem("useDarkColor");
1428                  ConfigManager.getInstance().setItem("useDarkColor", useDarkColor);                  ConfigManager.getInstance().setItem("useDarkColor", useDarkColor);
1429                                    
1430                    ConfigManager.getInstance().removeItem("ownerCommentTextSize");
1431                    ConfigManager.getInstance().setItem("ownerCommentTextSize", ownerCommentTextSize);
1432                    
1433                  ConfigManager.getInstance().save();                  ConfigManager.getInstance().save();
1434                                    
1435          }catch(error:Error){          }catch(error:Error){

Legend:
Removed from v.860  
changed lines
  Added in v.869

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