Changeset 111
- Timestamp:
- Sep 2, 2008, 11:31:17 PM (16 years ago)
- Location:
- trunk/MacFaceFloat
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MacFaceFloat/AssemblyInfo.cs
r107 r111 27 27 // ビルドおよびリビジョン番号を既定値にすることができます。 28 28 29 [assembly: MacFace.FloatApp.ApplicationVersionString("2008-0 8-15(アルファ版)")]29 [assembly: MacFace.FloatApp.ApplicationVersionString("2008-09-02 (アルファ版)")] 30 30 //[assembly: AssemblyInformationalVersion("1.0.0.0")] 31 31 [assembly: AssemblyVersion("1.0.*")] -
trunk/MacFaceFloat/Configuration.cs
r64 r111 37 37 public Int32 Opacity = 100; 38 38 39 40 41 39 [AutoConfigure("form.faceform.patternsize")] 40 [Category("p^[EChE"), Description("p^[Ì嫳10-100ÌÅwèµÜ·B")] 41 public Int32 PatternSize = 100; 42 42 43 [AutoConfigure("form.faceform.transparentmousemessage")] 43 [AutoConfigure("form.faceform.updatespeed")] 44 [Category("p^[EChE"), Description("XV¬x1-10ÌÅwèµÜ·B")] 45 public Int32 UpdateSpeed = 1; 46 47 [AutoConfigure("form.faceform.transparentmousemessage")] 44 48 [Category("p^[EChE"), Description("}EXbZ[Wð§ß³¹é©Ç¤©ðwèµÜ·B")] 45 49 public bool TransparentMouseMessage; -
trunk/MacFaceFloat/ConfigurationForm.cs
r110 r111 43 43 private Label label9; 44 44 private Label lblTitle; 45 private GroupBox groupBox3; 46 private Label label11; 47 private Label label10; 48 private TrackBar trackBarUpdateSpeed; 49 private Label label12; 45 50 private System.ComponentModel.IContainer components; 46 51 … … 103 108 this.label9 = new System.Windows.Forms.Label(); 104 109 this.lblTitle = new System.Windows.Forms.Label(); 110 this.groupBox3 = new System.Windows.Forms.GroupBox(); 111 this.label11 = new System.Windows.Forms.Label(); 112 this.label10 = new System.Windows.Forms.Label(); 113 this.trackBarUpdateSpeed = new System.Windows.Forms.TrackBar(); 114 this.label12 = new System.Windows.Forms.Label(); 105 115 this.groupBox1.SuspendLayout(); 106 116 ((System.ComponentModel.ISupportInitialize)(this.trackBarOpacity)).BeginInit(); 107 117 this.groupBox2.SuspendLayout(); 108 118 ((System.ComponentModel.ISupportInitialize)(this.trackBarPatternSize)).BeginInit(); 119 this.groupBox3.SuspendLayout(); 120 ((System.ComponentModel.ISupportInitialize)(this.trackBarUpdateSpeed)).BeginInit(); 109 121 this.SuspendLayout(); 110 122 // … … 128 140 | System.Windows.Forms.AnchorStyles.Right))); 129 141 this.checkMouseMessage.FlatStyle = System.Windows.Forms.FlatStyle.System; 130 this.checkMouseMessage.Location = new System.Drawing.Point(21 6, 255);142 this.checkMouseMessage.Location = new System.Drawing.Point(218, 321); 131 143 this.checkMouseMessage.Name = "checkMouseMessage"; 132 144 this.checkMouseMessage.Size = new System.Drawing.Size(266, 16); 133 this.checkMouseMessage.TabIndex = 6;145 this.checkMouseMessage.TabIndex = 12; 134 146 this.checkMouseMessage.Text = "}EXÌ®ìðwÊÌEBhEÖ`¦é(&T)"; 135 147 this.checkMouseMessage.Click += new System.EventHandler(this.checkMouseMessage_Click); … … 155 167 this.listViewFaces.Name = "listViewFaces"; 156 168 this.listViewFaces.Size = new System.Drawing.Size(198, 325); 157 this.listViewFaces.TabIndex = 12;169 this.listViewFaces.TabIndex = 0; 158 170 this.listViewFaces.UseCompatibleStateImageBehavior = false; 159 171 this.listViewFaces.SelectedIndexChanged += new System.EventHandler(this.listViewFaces_SelectedIndexChanged); … … 168 180 this.groupBox1.Controls.Add(this.trackBarOpacity); 169 181 this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; 170 this.groupBox1.Location = new System.Drawing.Point(216, 123);182 this.groupBox1.Location = new System.Drawing.Point(216, 97); 171 183 this.groupBox1.Name = "groupBox1"; 172 this.groupBox1.Size = new System.Drawing.Size(26 6, 60);173 this.groupBox1.TabIndex = 19;184 this.groupBox1.Size = new System.Drawing.Size(268, 60); 185 this.groupBox1.TabIndex = 9; 174 186 this.groupBox1.TabStop = false; 175 187 this.groupBox1.Text = "§¾x"; … … 178 190 // 179 191 this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 180 this.label5.Location = new System.Drawing.Point(21 0, 24);192 this.label5.Location = new System.Drawing.Point(212, 24); 181 193 this.label5.Name = "label5"; 182 194 this.label5.Size = new System.Drawing.Size(48, 11); 183 this.label5.TabIndex = 12;195 this.label5.TabIndex = 2; 184 196 this.label5.Text = "s§¾"; 185 197 this.label5.TextAlign = System.Drawing.ContentAlignment.TopRight; … … 190 202 this.label2.Name = "label2"; 191 203 this.label2.Size = new System.Drawing.Size(40, 11); 192 this.label2.TabIndex = 11;204 this.label2.TabIndex = 0; 193 205 this.label2.Text = "§¾"; 194 206 // … … 202 214 this.trackBarOpacity.Minimum = 5; 203 215 this.trackBarOpacity.Name = "trackBarOpacity"; 204 this.trackBarOpacity.Size = new System.Drawing.Size(1 58, 45);205 this.trackBarOpacity.TabIndex = 9;216 this.trackBarOpacity.Size = new System.Drawing.Size(160, 45); 217 this.trackBarOpacity.TabIndex = 1; 206 218 this.trackBarOpacity.TickFrequency = 10; 207 219 this.trackBarOpacity.Value = 100; … … 216 228 this.groupBox2.Controls.Add(this.trackBarPatternSize); 217 229 this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System; 218 this.groupBox2.Location = new System.Drawing.Point(216, 1 89);230 this.groupBox2.Location = new System.Drawing.Point(216, 163); 219 231 this.groupBox2.Name = "groupBox2"; 220 this.groupBox2.Size = new System.Drawing.Size(26 6, 60);221 this.groupBox2.TabIndex = 20;232 this.groupBox2.Size = new System.Drawing.Size(268, 60); 233 this.groupBox2.TabIndex = 10; 222 234 this.groupBox2.TabStop = false; 223 235 this.groupBox2.Text = "p^[Ì嫳"; … … 226 238 // 227 239 this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 228 this.label7.Location = new System.Drawing.Point(2 18, 24);240 this.label7.Location = new System.Drawing.Point(220, 24); 229 241 this.label7.Name = "label7"; 230 242 this.label7.Size = new System.Drawing.Size(40, 11); 231 this.label7.TabIndex = 2 1;243 this.label7.TabIndex = 2; 232 244 this.label7.Text = "Åå"; 233 245 this.label7.TextAlign = System.Drawing.ContentAlignment.TopRight; … … 238 250 this.label8.Name = "label8"; 239 251 this.label8.Size = new System.Drawing.Size(40, 11); 240 this.label8.TabIndex = 20;252 this.label8.TabIndex = 0; 241 253 this.label8.Text = "Ŭ"; 242 254 // … … 250 262 this.trackBarPatternSize.Minimum = 10; 251 263 this.trackBarPatternSize.Name = "trackBarPatternSize"; 252 this.trackBarPatternSize.Size = new System.Drawing.Size(1 58, 45);253 this.trackBarPatternSize.TabIndex = 1 9;264 this.trackBarPatternSize.Size = new System.Drawing.Size(160, 45); 265 this.trackBarPatternSize.TabIndex = 1; 254 266 this.trackBarPatternSize.TickFrequency = 10; 255 267 this.trackBarPatternSize.Value = 100; … … 263 275 this.linkWebSite.Name = "linkWebSite"; 264 276 this.linkWebSite.Size = new System.Drawing.Size(199, 12); 265 this.linkWebSite.TabIndex = 14;277 this.linkWebSite.TabIndex = 8; 266 278 this.linkWebSite.TabStop = true; 267 279 this.linkWebSite.Text = "--"; … … 273 285 this.label1.Name = "label1"; 274 286 this.label1.Size = new System.Drawing.Size(61, 17); 275 this.label1.TabIndex = 15;287 this.label1.TabIndex = 7; 276 288 this.label1.Text = "EFuTCg:"; 277 289 // … … 281 293 this.label3.Name = "label3"; 282 294 this.label3.Size = new System.Drawing.Size(61, 17); 283 this.label3.TabIndex = 22;295 this.label3.TabIndex = 3; 284 296 this.label3.Text = "»ìÒ:"; 285 297 // … … 289 301 this.label4.Name = "label4"; 290 302 this.label4.Size = new System.Drawing.Size(61, 17); 291 this.label4.TabIndex = 22;303 this.label4.TabIndex = 5; 292 304 this.label4.Text = "o[W:"; 293 305 // … … 298 310 this.lblAuthor.Name = "lblAuthor"; 299 311 this.lblAuthor.Size = new System.Drawing.Size(199, 12); 300 this.lblAuthor.TabIndex = 23;312 this.lblAuthor.TabIndex = 4; 301 313 this.lblAuthor.Text = "--"; 302 314 // … … 307 319 this.lblVersion.Name = "lblVersion"; 308 320 this.lblVersion.Size = new System.Drawing.Size(199, 12); 309 this.lblVersion.TabIndex = 24;321 this.lblVersion.TabIndex = 6; 310 322 this.lblVersion.Text = "--"; 311 323 // … … 315 327 this.label9.Name = "label9"; 316 328 this.label9.Size = new System.Drawing.Size(61, 17); 317 this.label9.TabIndex = 22;329 this.label9.TabIndex = 1; 318 330 this.label9.Text = "¼Ì:"; 319 331 // … … 324 336 this.lblTitle.Name = "lblTitle"; 325 337 this.lblTitle.Size = new System.Drawing.Size(199, 12); 326 this.lblTitle.TabIndex = 2 3;338 this.lblTitle.TabIndex = 2; 327 339 this.lblTitle.Text = "--"; 340 // 341 // groupBox3 342 // 343 this.groupBox3.Controls.Add(this.label12); 344 this.groupBox3.Controls.Add(this.label11); 345 this.groupBox3.Controls.Add(this.label10); 346 this.groupBox3.Controls.Add(this.trackBarUpdateSpeed); 347 this.groupBox3.Location = new System.Drawing.Point(216, 226); 348 this.groupBox3.Name = "groupBox3"; 349 this.groupBox3.Size = new System.Drawing.Size(268, 72); 350 this.groupBox3.TabIndex = 11; 351 this.groupBox3.TabStop = false; 352 this.groupBox3.Text = "XVÔu"; 353 // 354 // label11 355 // 356 this.label11.Location = new System.Drawing.Point(6, 49); 357 this.label11.Name = "label11"; 358 this.label11.Size = new System.Drawing.Size(38, 11); 359 this.label11.TabIndex = 2; 360 this.label11.Text = "0.1b"; 361 this.label11.TextAlign = System.Drawing.ContentAlignment.TopCenter; 362 // 363 // label10 364 // 365 this.label10.Location = new System.Drawing.Point(232, 49); 366 this.label10.Name = "label10"; 367 this.label10.Size = new System.Drawing.Size(29, 11); 368 this.label10.TabIndex = 1; 369 this.label10.Text = "1b"; 370 this.label10.TextAlign = System.Drawing.ContentAlignment.TopCenter; 371 // 372 // trackBarUpdateSpeed 373 // 374 this.trackBarUpdateSpeed.LargeChange = 1; 375 this.trackBarUpdateSpeed.Location = new System.Drawing.Point(10, 14); 376 this.trackBarUpdateSpeed.Minimum = 1; 377 this.trackBarUpdateSpeed.Name = "trackBarUpdateSpeed"; 378 this.trackBarUpdateSpeed.Size = new System.Drawing.Size(250, 45); 379 this.trackBarUpdateSpeed.TabIndex = 0; 380 this.trackBarUpdateSpeed.Value = 10; 381 this.trackBarUpdateSpeed.ValueChanged += new System.EventHandler(this.trackBarUpdateSpeed_ValueChanged); 382 // 383 // label12 384 // 385 this.label12.Location = new System.Drawing.Point(129, 49); 386 this.label12.Name = "label12"; 387 this.label12.Size = new System.Drawing.Size(38, 11); 388 this.label12.TabIndex = 2; 389 this.label12.Text = "0.5b"; 390 this.label12.TextAlign = System.Drawing.ContentAlignment.TopCenter; 328 391 // 329 392 // ConfigurationForm … … 331 394 this.AutoScaleBaseSize = new System.Drawing.Size(5, 12); 332 395 this.ClientSize = new System.Drawing.Size(494, 349); 396 this.Controls.Add(this.groupBox3); 333 397 this.Controls.Add(this.lblVersion); 398 this.Controls.Add(this.checkMouseMessage); 334 399 this.Controls.Add(this.lblTitle); 335 400 this.Controls.Add(this.lblAuthor); … … 343 408 this.Controls.Add(this.buttonBrowse); 344 409 this.Controls.Add(this.listViewFaces); 345 this.Controls.Add(this.checkMouseMessage);346 410 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; 347 411 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); … … 358 422 this.groupBox2.PerformLayout(); 359 423 ((System.ComponentModel.ISupportInitialize)(this.trackBarPatternSize)).EndInit(); 424 this.groupBox3.ResumeLayout(false); 425 this.groupBox3.PerformLayout(); 426 ((System.ComponentModel.ISupportInitialize)(this.trackBarUpdateSpeed)).EndInit(); 360 427 this.ResumeLayout(false); 361 428 … … 367 434 // úlÌZbg 368 435 trackBarOpacity.Value = _config.Opacity; 369 trackBarPatternSize.Value = _config.PatternSize; 370 checkMouseMessage.Checked = _config.TransparentMouseMessage; 436 trackBarPatternSize.Value = _config.PatternSize; 437 trackBarUpdateSpeed.Value = _config.UpdateSpeed; 438 checkMouseMessage.Checked = _config.TransparentMouseMessage; 371 439 372 440 // çp^[XgðìéB … … 498 566 } 499 567 500 private void checkMouseMessage_Click(object sender, System.EventArgs e) 568 private void trackBarUpdateSpeed_ValueChanged(object sender, EventArgs e) 569 { 570 _config.UpdateSpeed = trackBarUpdateSpeed.Value; 571 ConfigChanged(); 572 } 573 574 private void checkMouseMessage_Click(object sender, System.EventArgs e) 501 575 { 502 576 _config.TransparentMouseMessage = checkMouseMessage.Checked; … … 508 582 if (linkWebSite.Text != "") { 509 583 Process.Start(linkWebSite.Text); 510 } 511 584 } 585 } 512 586 513 587 } -
trunk/MacFaceFloat/MacFaceApp.cs
r104 r111 221 221 } 222 222 223 updateTimer.Start(); 223 updateTimer.Interval = 100 * config.UpdateSpeed; 224 updateTimer.Start(); 224 225 225 226 Microsoft.Win32.SystemEvents.SessionEnding += new Microsoft.Win32.SessionEndingEventHandler(SystemEvents_SessionEnding); … … 430 431 patternWindow.Refresh(); 431 432 } 432 } 433 434 updateTimer.Interval = 100 * config.UpdateSpeed; 435 } 433 436 434 437 private void patternWindow_Closed(object sender, EventArgs e)
Note: See TracChangeset
for help on using the changeset viewer.