mirror of
https://github.com/sfall-team/HeadFrmPatcher.git
synced 2026-07-27 16:52:57 -07:00
Fix options.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Generated
+4
-8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user