Changeset 83

Show
Ignore:
Timestamp:
07/24/06 18:03:42 (2 years ago)
Author:
rryu
Message:

グラフのバーの太さの計算結果を小数点以下を切り上げるようにした。
ついでにグラフの表示エリアを調整した。

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/MacFaceFloat/StatusWindow.cs

    r69 r83  
    9292                        if (count >= 2)  
    9393                        { 
    94                                 int bw = fw / 60; 
     94                                int bw = (fw + (60-1)) / 60; 
    9595                                Point[] userGraph = new Point[count+2]; 
    9696                                Point[] sysGraph = new Point[count+2]; 
     
    149149 
    150150                        int count = memStats.Count; 
    151                         int bw = fw / 60; 
     151                        int bw = (fw + (60-1)) / 60; 
    152152 
    153153                        for (int i = 0; i < count; i++)  
     
    218218                                | System.Windows.Forms.AnchorStyles.Right))); 
    219219                        this.memoryGraphPicBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 
    220                         this.memoryGraphPicBox.Location = new System.Drawing.Point(8, 8); 
     220                        this.memoryGraphPicBox.Location = new System.Drawing.Point(7, 8); 
    221221                        this.memoryGraphPicBox.Name = "memoryGraphPicBox"; 
    222                         this.memoryGraphPicBox.Size = new System.Drawing.Size(296, 104); 
     222                        this.memoryGraphPicBox.Size = new System.Drawing.Size(300, 100); 
    223223                        this.memoryGraphPicBox.TabIndex = 0; 
    224224                        this.memoryGraphPicBox.TabStop = false; 
     
    229229                                | System.Windows.Forms.AnchorStyles.Right))); 
    230230                        this.cpuGraphPicBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 
    231                         this.cpuGraphPicBox.Location = new System.Drawing.Point(8, 120); 
     231                        this.cpuGraphPicBox.Location = new System.Drawing.Point(7, 116); 
    232232                        this.cpuGraphPicBox.Name = "cpuGraphPicBox"; 
    233                         this.cpuGraphPicBox.Size = new System.Drawing.Size(296, 104); 
     233                        this.cpuGraphPicBox.Size = new System.Drawing.Size(300, 100); 
    234234                        this.cpuGraphPicBox.TabIndex = 1; 
    235235                        this.cpuGraphPicBox.TabStop = false; 
     
    238238                        //  
    239239                        this.AutoScaleBaseSize = new System.Drawing.Size(5, 12); 
    240                         this.ClientSize = new System.Drawing.Size(314, 232); 
     240                        this.ClientSize = new System.Drawing.Size(314, 223); 
    241241                        this.Controls.Add(this.cpuGraphPicBox); 
    242242                        this.Controls.Add(this.memoryGraphPicBox); 
     
    244244                        this.MaximizeBox = false; 
    245245                        this.MinimizeBox = false; 
    246                         this.MinimumSize = new System.Drawing.Size(322, 261); 
     246                        this.MinimumSize = new System.Drawing.Size(322, 250); 
    247247                        this.Name = "StatusWindow"; 
    248248                        this.Text = "�X�e�[�^�X"; 
  • trunk/MacFaceFloat/StatusWindow.resx

    r69 r83  
    110110    <value>False</value> 
    111111  </data> 
     112  <data name="cpuGraphPicBox.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
     113    <value>Private</value> 
     114  </data> 
    112115  <data name="cpuGraphPicBox.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    113116    <value>Assembly</value> 
    114   </data> 
    115   <data name="cpuGraphPicBox.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    116     <value>Private</value> 
    117117  </data> 
    118118  <data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">