Fix options.

This commit is contained in:
Mr.Stalin
2019-04-22 03:16:52 +03:00
parent 6785a534ee
commit 50b41e5b28
2 changed files with 8 additions and 12 deletions
+4 -4
View File
@@ -43,15 +43,15 @@ namespace HeadsPatcher
bw.BaseStream.Position += 2;
bw.Write((short)0);
bw.Write((int)0);
if (cbIncludesBackground.Checked) {
if (cbDisableHighlighting.Checked) {
bw.Write((byte)1);
} else {
bw.Write((byte)0);
}
if (cbDisableHighlighting.Checked) {
bw.Write((byte)0);
} else {
if (cbIncludesBackground.Checked) {
bw.Write((byte)1);
} else {
bw.Write((byte)0);
}
bw.Close();
}
+4 -8
View File
@@ -34,25 +34,21 @@
// cbDisableHighlighting
//
this.cbDisableHighlighting.AutoSize = true;
this.cbDisableHighlighting.Checked = true;
this.cbDisableHighlighting.CheckState = System.Windows.Forms.CheckState.Checked;
this.cbDisableHighlighting.Location = new System.Drawing.Point(12, 12);
this.cbDisableHighlighting.Name = "cbDisableHighlighting";
this.cbDisableHighlighting.Size = new System.Drawing.Size(177, 17);
this.cbDisableHighlighting.Size = new System.Drawing.Size(117, 17);
this.cbDisableHighlighting.TabIndex = 3;
this.cbDisableHighlighting.Text = "Disable background highlighting";
this.cbDisableHighlighting.Text = "Disable highlighting";
this.cbDisableHighlighting.UseVisualStyleBackColor = true;
//
// cbIncludesBackground
//
this.cbIncludesBackground.AutoSize = true;
this.cbIncludesBackground.Checked = true;
this.cbIncludesBackground.CheckState = System.Windows.Forms.CheckState.Checked;
this.cbIncludesBackground.Location = new System.Drawing.Point(12, 35);
this.cbIncludesBackground.Name = "cbIncludesBackground";
this.cbIncludesBackground.Size = new System.Drawing.Size(126, 17);
this.cbIncludesBackground.Size = new System.Drawing.Size(98, 17);
this.cbIncludesBackground.TabIndex = 6;
this.cbIncludesBackground.Text = "Includes background";
this.cbIncludesBackground.Text = "Fill background";
this.cbIncludesBackground.UseVisualStyleBackColor = true;
//
// bRun