mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-24 23:51:49 +01:00
Workaround for panel backgrounds to appear in Windows High Contrast mode
Related to issue #158.
This commit is contained in:
parent
9a1590bf4f
commit
d50c031bff
65
DS4Windows/DS4Forms/KBM360.Designer.cs
generated
65
DS4Windows/DS4Forms/KBM360.Designer.cs
generated
@ -229,16 +229,16 @@
|
|||||||
//
|
//
|
||||||
// pBHighlight
|
// pBHighlight
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.pBHighlight, "pBHighlight");
|
|
||||||
this.pBHighlight.BackColor = System.Drawing.Color.Transparent;
|
this.pBHighlight.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.pBHighlight, "pBHighlight");
|
||||||
this.pBHighlight.Image = global::DS4Windows.Properties.Resources._360_highlight;
|
this.pBHighlight.Image = global::DS4Windows.Properties.Resources._360_highlight;
|
||||||
this.pBHighlight.Name = "pBHighlight";
|
this.pBHighlight.Name = "pBHighlight";
|
||||||
this.pBHighlight.TabStop = false;
|
this.pBHighlight.TabStop = false;
|
||||||
//
|
//
|
||||||
// pBMouse
|
// pBMouse
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.pBMouse, "pBMouse");
|
|
||||||
this.pBMouse.Image = global::DS4Windows.Properties.Resources.mouse;
|
this.pBMouse.Image = global::DS4Windows.Properties.Resources.mouse;
|
||||||
|
resources.ApplyResources(this.pBMouse, "pBMouse");
|
||||||
this.pBMouse.Name = "pBMouse";
|
this.pBMouse.Name = "pBMouse";
|
||||||
this.pBMouse.TabStop = false;
|
this.pBMouse.TabStop = false;
|
||||||
//
|
//
|
||||||
@ -1078,8 +1078,8 @@
|
|||||||
//
|
//
|
||||||
// bnColor
|
// bnColor
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.bnColor, "bnColor");
|
|
||||||
this.bnColor.BackColor = System.Drawing.Color.White;
|
this.bnColor.BackColor = System.Drawing.Color.White;
|
||||||
|
resources.ApplyResources(this.bnColor, "bnColor");
|
||||||
this.bnColor.Name = "bnColor";
|
this.bnColor.Name = "bnColor";
|
||||||
this.bnColor.UseVisualStyleBackColor = false;
|
this.bnColor.UseVisualStyleBackColor = false;
|
||||||
this.bnColor.Click += new System.EventHandler(this.bnColor_Click);
|
this.bnColor.Click += new System.EventHandler(this.bnColor_Click);
|
||||||
@ -1117,8 +1117,8 @@
|
|||||||
//
|
//
|
||||||
// lBTip
|
// lBTip
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.lBTip, "lBTip");
|
|
||||||
this.lBTip.ForeColor = System.Drawing.SystemColors.GrayText;
|
this.lBTip.ForeColor = System.Drawing.SystemColors.GrayText;
|
||||||
|
resources.ApplyResources(this.lBTip, "lBTip");
|
||||||
this.lBTip.Name = "lBTip";
|
this.lBTip.Name = "lBTip";
|
||||||
//
|
//
|
||||||
// btnD
|
// btnD
|
||||||
@ -1131,11 +1131,11 @@
|
|||||||
//
|
//
|
||||||
// btnAButton
|
// btnAButton
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnAButton, "btnAButton");
|
|
||||||
this.btnAButton.BackColor = System.Drawing.Color.Transparent;
|
this.btnAButton.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnAButton.FlatAppearance.BorderSize = 0;
|
this.btnAButton.FlatAppearance.BorderSize = 0;
|
||||||
this.btnAButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnAButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnAButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnAButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnAButton, "btnAButton");
|
||||||
this.btnAButton.Name = "btnAButton";
|
this.btnAButton.Name = "btnAButton";
|
||||||
this.btnAButton.TabStop = false;
|
this.btnAButton.TabStop = false;
|
||||||
this.btnAButton.Tag = "X360A Button";
|
this.btnAButton.Tag = "X360A Button";
|
||||||
@ -1153,11 +1153,11 @@
|
|||||||
//
|
//
|
||||||
// btnGuide
|
// btnGuide
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnGuide, "btnGuide");
|
|
||||||
this.btnGuide.BackColor = System.Drawing.Color.Transparent;
|
this.btnGuide.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnGuide.FlatAppearance.BorderSize = 0;
|
this.btnGuide.FlatAppearance.BorderSize = 0;
|
||||||
this.btnGuide.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnGuide.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnGuide.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnGuide.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnGuide, "btnGuide");
|
||||||
this.btnGuide.Name = "btnGuide";
|
this.btnGuide.Name = "btnGuide";
|
||||||
this.btnGuide.TabStop = false;
|
this.btnGuide.TabStop = false;
|
||||||
this.btnGuide.Tag = "X360Guide";
|
this.btnGuide.Tag = "X360Guide";
|
||||||
@ -1175,11 +1175,11 @@
|
|||||||
//
|
//
|
||||||
// btnStart
|
// btnStart
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnStart, "btnStart");
|
|
||||||
this.btnStart.BackColor = System.Drawing.Color.Transparent;
|
this.btnStart.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnStart.FlatAppearance.BorderSize = 0;
|
this.btnStart.FlatAppearance.BorderSize = 0;
|
||||||
this.btnStart.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnStart.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnStart.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnStart.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnStart, "btnStart");
|
||||||
this.btnStart.Name = "btnStart";
|
this.btnStart.Name = "btnStart";
|
||||||
this.btnStart.TabStop = false;
|
this.btnStart.TabStop = false;
|
||||||
this.btnStart.Tag = "X360Start";
|
this.btnStart.Tag = "X360Start";
|
||||||
@ -1197,11 +1197,11 @@
|
|||||||
//
|
//
|
||||||
// btnBack
|
// btnBack
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnBack, "btnBack");
|
|
||||||
this.btnBack.BackColor = System.Drawing.Color.Transparent;
|
this.btnBack.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnBack.FlatAppearance.BorderSize = 0;
|
this.btnBack.FlatAppearance.BorderSize = 0;
|
||||||
this.btnBack.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnBack.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnBack.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnBack.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnBack, "btnBack");
|
||||||
this.btnBack.Name = "btnBack";
|
this.btnBack.Name = "btnBack";
|
||||||
this.btnBack.TabStop = false;
|
this.btnBack.TabStop = false;
|
||||||
this.btnBack.Tag = "X360Back";
|
this.btnBack.Tag = "X360Back";
|
||||||
@ -1219,11 +1219,11 @@
|
|||||||
//
|
//
|
||||||
// btnBButton
|
// btnBButton
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnBButton, "btnBButton");
|
|
||||||
this.btnBButton.BackColor = System.Drawing.Color.Transparent;
|
this.btnBButton.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnBButton.FlatAppearance.BorderSize = 0;
|
this.btnBButton.FlatAppearance.BorderSize = 0;
|
||||||
this.btnBButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnBButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnBButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnBButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnBButton, "btnBButton");
|
||||||
this.btnBButton.Name = "btnBButton";
|
this.btnBButton.Name = "btnBButton";
|
||||||
this.btnBButton.TabStop = false;
|
this.btnBButton.TabStop = false;
|
||||||
this.btnBButton.Tag = "X360B Button";
|
this.btnBButton.Tag = "X360B Button";
|
||||||
@ -1241,11 +1241,11 @@
|
|||||||
//
|
//
|
||||||
// btnXButton
|
// btnXButton
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnXButton, "btnXButton");
|
|
||||||
this.btnXButton.BackColor = System.Drawing.Color.Transparent;
|
this.btnXButton.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnXButton.FlatAppearance.BorderSize = 0;
|
this.btnXButton.FlatAppearance.BorderSize = 0;
|
||||||
this.btnXButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnXButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnXButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnXButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnXButton, "btnXButton");
|
||||||
this.btnXButton.Name = "btnXButton";
|
this.btnXButton.Name = "btnXButton";
|
||||||
this.btnXButton.TabStop = false;
|
this.btnXButton.TabStop = false;
|
||||||
this.btnXButton.Tag = "X360X Button";
|
this.btnXButton.Tag = "X360X Button";
|
||||||
@ -1263,11 +1263,11 @@
|
|||||||
//
|
//
|
||||||
// btnYButton
|
// btnYButton
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnYButton, "btnYButton");
|
|
||||||
this.btnYButton.BackColor = System.Drawing.Color.Transparent;
|
this.btnYButton.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnYButton.FlatAppearance.BorderSize = 0;
|
this.btnYButton.FlatAppearance.BorderSize = 0;
|
||||||
this.btnYButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnYButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnYButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnYButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnYButton, "btnYButton");
|
||||||
this.btnYButton.Name = "btnYButton";
|
this.btnYButton.Name = "btnYButton";
|
||||||
this.btnYButton.TabStop = false;
|
this.btnYButton.TabStop = false;
|
||||||
this.btnYButton.Tag = "X360Y Button";
|
this.btnYButton.Tag = "X360Y Button";
|
||||||
@ -1285,11 +1285,11 @@
|
|||||||
//
|
//
|
||||||
// btnLB
|
// btnLB
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnLB, "btnLB");
|
|
||||||
this.btnLB.BackColor = System.Drawing.Color.Transparent;
|
this.btnLB.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnLB.FlatAppearance.BorderSize = 0;
|
this.btnLB.FlatAppearance.BorderSize = 0;
|
||||||
this.btnLB.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnLB.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnLB.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnLB.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnLB, "btnLB");
|
||||||
this.btnLB.Name = "btnLB";
|
this.btnLB.Name = "btnLB";
|
||||||
this.btnLB.TabStop = false;
|
this.btnLB.TabStop = false;
|
||||||
this.btnLB.Tag = "X360Left Bumper";
|
this.btnLB.Tag = "X360Left Bumper";
|
||||||
@ -1307,11 +1307,11 @@
|
|||||||
//
|
//
|
||||||
// btnDpadRight
|
// btnDpadRight
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnDpadRight, "btnDpadRight");
|
|
||||||
this.btnDpadRight.BackColor = System.Drawing.Color.Transparent;
|
this.btnDpadRight.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnDpadRight.FlatAppearance.BorderSize = 0;
|
this.btnDpadRight.FlatAppearance.BorderSize = 0;
|
||||||
this.btnDpadRight.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnDpadRight.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnDpadRight.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnDpadRight.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnDpadRight, "btnDpadRight");
|
||||||
this.btnDpadRight.Name = "btnDpadRight";
|
this.btnDpadRight.Name = "btnDpadRight";
|
||||||
this.btnDpadRight.TabStop = false;
|
this.btnDpadRight.TabStop = false;
|
||||||
this.btnDpadRight.Tag = "X360Right Button";
|
this.btnDpadRight.Tag = "X360Right Button";
|
||||||
@ -1329,11 +1329,11 @@
|
|||||||
//
|
//
|
||||||
// btnDpadUp
|
// btnDpadUp
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnDpadUp, "btnDpadUp");
|
|
||||||
this.btnDpadUp.BackColor = System.Drawing.Color.Transparent;
|
this.btnDpadUp.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnDpadUp.FlatAppearance.BorderSize = 0;
|
this.btnDpadUp.FlatAppearance.BorderSize = 0;
|
||||||
this.btnDpadUp.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnDpadUp.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnDpadUp.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnDpadUp.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnDpadUp, "btnDpadUp");
|
||||||
this.btnDpadUp.Name = "btnDpadUp";
|
this.btnDpadUp.Name = "btnDpadUp";
|
||||||
this.btnDpadUp.TabStop = false;
|
this.btnDpadUp.TabStop = false;
|
||||||
this.btnDpadUp.Tag = "X360Up Button";
|
this.btnDpadUp.Tag = "X360Up Button";
|
||||||
@ -1351,11 +1351,11 @@
|
|||||||
//
|
//
|
||||||
// btnDpadDown
|
// btnDpadDown
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnDpadDown, "btnDpadDown");
|
|
||||||
this.btnDpadDown.BackColor = System.Drawing.Color.Transparent;
|
this.btnDpadDown.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnDpadDown.FlatAppearance.BorderSize = 0;
|
this.btnDpadDown.FlatAppearance.BorderSize = 0;
|
||||||
this.btnDpadDown.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnDpadDown.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnDpadDown.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnDpadDown.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnDpadDown, "btnDpadDown");
|
||||||
this.btnDpadDown.Name = "btnDpadDown";
|
this.btnDpadDown.Name = "btnDpadDown";
|
||||||
this.btnDpadDown.TabStop = false;
|
this.btnDpadDown.TabStop = false;
|
||||||
this.btnDpadDown.Tag = "X360Down Button";
|
this.btnDpadDown.Tag = "X360Down Button";
|
||||||
@ -1373,11 +1373,11 @@
|
|||||||
//
|
//
|
||||||
// btnDpadLeft
|
// btnDpadLeft
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnDpadLeft, "btnDpadLeft");
|
|
||||||
this.btnDpadLeft.BackColor = System.Drawing.Color.Transparent;
|
this.btnDpadLeft.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnDpadLeft.FlatAppearance.BorderSize = 0;
|
this.btnDpadLeft.FlatAppearance.BorderSize = 0;
|
||||||
this.btnDpadLeft.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnDpadLeft.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnDpadLeft.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnDpadLeft.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnDpadLeft, "btnDpadLeft");
|
||||||
this.btnDpadLeft.Name = "btnDpadLeft";
|
this.btnDpadLeft.Name = "btnDpadLeft";
|
||||||
this.btnDpadLeft.TabStop = false;
|
this.btnDpadLeft.TabStop = false;
|
||||||
this.btnDpadLeft.Tag = "X360Left Button";
|
this.btnDpadLeft.Tag = "X360Left Button";
|
||||||
@ -1395,11 +1395,11 @@
|
|||||||
//
|
//
|
||||||
// btnLT
|
// btnLT
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnLT, "btnLT");
|
|
||||||
this.btnLT.BackColor = System.Drawing.Color.Transparent;
|
this.btnLT.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnLT.FlatAppearance.BorderSize = 0;
|
this.btnLT.FlatAppearance.BorderSize = 0;
|
||||||
this.btnLT.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnLT.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnLT.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnLT.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnLT, "btnLT");
|
||||||
this.btnLT.ForeColor = System.Drawing.Color.Transparent;
|
this.btnLT.ForeColor = System.Drawing.Color.Transparent;
|
||||||
this.btnLT.Name = "btnLT";
|
this.btnLT.Name = "btnLT";
|
||||||
this.btnLT.TabStop = false;
|
this.btnLT.TabStop = false;
|
||||||
@ -1473,11 +1473,11 @@
|
|||||||
//
|
//
|
||||||
// btnRSLeft
|
// btnRSLeft
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnRSLeft, "btnRSLeft");
|
|
||||||
this.btnRSLeft.BackColor = System.Drawing.Color.Transparent;
|
this.btnRSLeft.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnRSLeft.FlatAppearance.BorderSize = 0;
|
this.btnRSLeft.FlatAppearance.BorderSize = 0;
|
||||||
this.btnRSLeft.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnRSLeft.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnRSLeft.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnRSLeft.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnRSLeft, "btnRSLeft");
|
||||||
this.btnRSLeft.Name = "btnRSLeft";
|
this.btnRSLeft.Name = "btnRSLeft";
|
||||||
this.btnRSLeft.TabStop = false;
|
this.btnRSLeft.TabStop = false;
|
||||||
this.btnRSLeft.Tag = "X360Right X-Axis-";
|
this.btnRSLeft.Tag = "X360Right X-Axis-";
|
||||||
@ -1495,11 +1495,11 @@
|
|||||||
//
|
//
|
||||||
// btnRSDown
|
// btnRSDown
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnRSDown, "btnRSDown");
|
|
||||||
this.btnRSDown.BackColor = System.Drawing.Color.Transparent;
|
this.btnRSDown.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnRSDown.FlatAppearance.BorderSize = 0;
|
this.btnRSDown.FlatAppearance.BorderSize = 0;
|
||||||
this.btnRSDown.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnRSDown.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnRSDown.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnRSDown.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnRSDown, "btnRSDown");
|
||||||
this.btnRSDown.Name = "btnRSDown";
|
this.btnRSDown.Name = "btnRSDown";
|
||||||
this.btnRSDown.TabStop = false;
|
this.btnRSDown.TabStop = false;
|
||||||
this.btnRSDown.Tag = "X360Right Y-Axis+";
|
this.btnRSDown.Tag = "X360Right Y-Axis+";
|
||||||
@ -1517,11 +1517,11 @@
|
|||||||
//
|
//
|
||||||
// btnRSRight
|
// btnRSRight
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnRSRight, "btnRSRight");
|
|
||||||
this.btnRSRight.BackColor = System.Drawing.Color.Transparent;
|
this.btnRSRight.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnRSRight.FlatAppearance.BorderSize = 0;
|
this.btnRSRight.FlatAppearance.BorderSize = 0;
|
||||||
this.btnRSRight.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnRSRight.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnRSRight.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnRSRight.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnRSRight, "btnRSRight");
|
||||||
this.btnRSRight.Name = "btnRSRight";
|
this.btnRSRight.Name = "btnRSRight";
|
||||||
this.btnRSRight.TabStop = false;
|
this.btnRSRight.TabStop = false;
|
||||||
this.btnRSRight.Tag = "X360Right X-Axis+";
|
this.btnRSRight.Tag = "X360Right X-Axis+";
|
||||||
@ -1539,11 +1539,11 @@
|
|||||||
//
|
//
|
||||||
// btnRB
|
// btnRB
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnRB, "btnRB");
|
|
||||||
this.btnRB.BackColor = System.Drawing.Color.Transparent;
|
this.btnRB.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnRB.FlatAppearance.BorderSize = 0;
|
this.btnRB.FlatAppearance.BorderSize = 0;
|
||||||
this.btnRB.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnRB.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnRB.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnRB.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnRB, "btnRB");
|
||||||
this.btnRB.Name = "btnRB";
|
this.btnRB.Name = "btnRB";
|
||||||
this.btnRB.TabStop = false;
|
this.btnRB.TabStop = false;
|
||||||
this.btnRB.Tag = "X360Right Bumper";
|
this.btnRB.Tag = "X360Right Bumper";
|
||||||
@ -1561,11 +1561,11 @@
|
|||||||
//
|
//
|
||||||
// btnLSLeft
|
// btnLSLeft
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnLSLeft, "btnLSLeft");
|
|
||||||
this.btnLSLeft.BackColor = System.Drawing.Color.Transparent;
|
this.btnLSLeft.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnLSLeft.FlatAppearance.BorderSize = 0;
|
this.btnLSLeft.FlatAppearance.BorderSize = 0;
|
||||||
this.btnLSLeft.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnLSLeft.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnLSLeft.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnLSLeft.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnLSLeft, "btnLSLeft");
|
||||||
this.btnLSLeft.Name = "btnLSLeft";
|
this.btnLSLeft.Name = "btnLSLeft";
|
||||||
this.btnLSLeft.TabStop = false;
|
this.btnLSLeft.TabStop = false;
|
||||||
this.btnLSLeft.Tag = "X360Left X-Axis-";
|
this.btnLSLeft.Tag = "X360Left X-Axis-";
|
||||||
@ -1583,11 +1583,11 @@
|
|||||||
//
|
//
|
||||||
// btnRSUp
|
// btnRSUp
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnRSUp, "btnRSUp");
|
|
||||||
this.btnRSUp.BackColor = System.Drawing.Color.Transparent;
|
this.btnRSUp.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnRSUp.FlatAppearance.BorderSize = 0;
|
this.btnRSUp.FlatAppearance.BorderSize = 0;
|
||||||
this.btnRSUp.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnRSUp.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnRSUp.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnRSUp.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnRSUp, "btnRSUp");
|
||||||
this.btnRSUp.Name = "btnRSUp";
|
this.btnRSUp.Name = "btnRSUp";
|
||||||
this.btnRSUp.TabStop = false;
|
this.btnRSUp.TabStop = false;
|
||||||
this.btnRSUp.Tag = "X360Right Y-Axis-";
|
this.btnRSUp.Tag = "X360Right Y-Axis-";
|
||||||
@ -1605,11 +1605,11 @@
|
|||||||
//
|
//
|
||||||
// btnLSDown
|
// btnLSDown
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnLSDown, "btnLSDown");
|
|
||||||
this.btnLSDown.BackColor = System.Drawing.Color.Transparent;
|
this.btnLSDown.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnLSDown.FlatAppearance.BorderSize = 0;
|
this.btnLSDown.FlatAppearance.BorderSize = 0;
|
||||||
this.btnLSDown.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnLSDown.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnLSDown.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnLSDown.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnLSDown, "btnLSDown");
|
||||||
this.btnLSDown.Name = "btnLSDown";
|
this.btnLSDown.Name = "btnLSDown";
|
||||||
this.btnLSDown.TabStop = false;
|
this.btnLSDown.TabStop = false;
|
||||||
this.btnLSDown.Tag = "X360Left Y-Axis+";
|
this.btnLSDown.Tag = "X360Left Y-Axis+";
|
||||||
@ -1627,11 +1627,11 @@
|
|||||||
//
|
//
|
||||||
// btnRT
|
// btnRT
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnRT, "btnRT");
|
|
||||||
this.btnRT.BackColor = System.Drawing.Color.Transparent;
|
this.btnRT.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnRT.FlatAppearance.BorderSize = 0;
|
this.btnRT.FlatAppearance.BorderSize = 0;
|
||||||
this.btnRT.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnRT.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnRT.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnRT.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnRT, "btnRT");
|
||||||
this.btnRT.Name = "btnRT";
|
this.btnRT.Name = "btnRT";
|
||||||
this.btnRT.TabStop = false;
|
this.btnRT.TabStop = false;
|
||||||
this.btnRT.Tag = "X360Right Trigger";
|
this.btnRT.Tag = "X360Right Trigger";
|
||||||
@ -1649,11 +1649,11 @@
|
|||||||
//
|
//
|
||||||
// btnLSRight
|
// btnLSRight
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnLSRight, "btnLSRight");
|
|
||||||
this.btnLSRight.BackColor = System.Drawing.Color.Transparent;
|
this.btnLSRight.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnLSRight.FlatAppearance.BorderSize = 0;
|
this.btnLSRight.FlatAppearance.BorderSize = 0;
|
||||||
this.btnLSRight.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnLSRight.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnLSRight.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnLSRight.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnLSRight, "btnLSRight");
|
||||||
this.btnLSRight.Name = "btnLSRight";
|
this.btnLSRight.Name = "btnLSRight";
|
||||||
this.btnLSRight.TabStop = false;
|
this.btnLSRight.TabStop = false;
|
||||||
this.btnLSRight.Tag = "X360Left X-Axis+";
|
this.btnLSRight.Tag = "X360Left X-Axis+";
|
||||||
@ -1671,11 +1671,11 @@
|
|||||||
//
|
//
|
||||||
// btnRSClick
|
// btnRSClick
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnRSClick, "btnRSClick");
|
|
||||||
this.btnRSClick.BackColor = System.Drawing.Color.Transparent;
|
this.btnRSClick.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnRSClick.FlatAppearance.BorderSize = 0;
|
this.btnRSClick.FlatAppearance.BorderSize = 0;
|
||||||
this.btnRSClick.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnRSClick.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnRSClick.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnRSClick.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnRSClick, "btnRSClick");
|
||||||
this.btnRSClick.Name = "btnRSClick";
|
this.btnRSClick.Name = "btnRSClick";
|
||||||
this.btnRSClick.TabStop = false;
|
this.btnRSClick.TabStop = false;
|
||||||
this.btnRSClick.Tag = "X360Right Stick";
|
this.btnRSClick.Tag = "X360Right Stick";
|
||||||
@ -1693,11 +1693,11 @@
|
|||||||
//
|
//
|
||||||
// btnLSUp
|
// btnLSUp
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnLSUp, "btnLSUp");
|
|
||||||
this.btnLSUp.BackColor = System.Drawing.Color.Transparent;
|
this.btnLSUp.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnLSUp.FlatAppearance.BorderSize = 0;
|
this.btnLSUp.FlatAppearance.BorderSize = 0;
|
||||||
this.btnLSUp.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnLSUp.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnLSUp.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnLSUp.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnLSUp, "btnLSUp");
|
||||||
this.btnLSUp.Name = "btnLSUp";
|
this.btnLSUp.Name = "btnLSUp";
|
||||||
this.btnLSUp.TabStop = false;
|
this.btnLSUp.TabStop = false;
|
||||||
this.btnLSUp.Tag = "X360Left Y-Axis-";
|
this.btnLSUp.Tag = "X360Left Y-Axis-";
|
||||||
@ -1707,11 +1707,11 @@
|
|||||||
//
|
//
|
||||||
// btnLSClick
|
// btnLSClick
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.btnLSClick, "btnLSClick");
|
|
||||||
this.btnLSClick.BackColor = System.Drawing.Color.Transparent;
|
this.btnLSClick.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnLSClick.FlatAppearance.BorderSize = 0;
|
this.btnLSClick.FlatAppearance.BorderSize = 0;
|
||||||
this.btnLSClick.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
this.btnLSClick.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
|
||||||
this.btnLSClick.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
this.btnLSClick.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
||||||
|
resources.ApplyResources(this.btnLSClick, "btnLSClick");
|
||||||
this.btnLSClick.Name = "btnLSClick";
|
this.btnLSClick.Name = "btnLSClick";
|
||||||
this.btnLSClick.TabStop = false;
|
this.btnLSClick.TabStop = false;
|
||||||
this.btnLSClick.Tag = "X360Left Stick";
|
this.btnLSClick.Tag = "X360Left Stick";
|
||||||
@ -1751,7 +1751,6 @@
|
|||||||
//
|
//
|
||||||
// gBExtras
|
// gBExtras
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.gBExtras, "gBExtras");
|
|
||||||
this.gBExtras.Controls.Add(this.nUDMouse);
|
this.gBExtras.Controls.Add(this.nUDMouse);
|
||||||
this.gBExtras.Controls.Add(this.cBMouse);
|
this.gBExtras.Controls.Add(this.cBMouse);
|
||||||
this.gBExtras.Controls.Add(this.cBLightbar);
|
this.gBExtras.Controls.Add(this.cBLightbar);
|
||||||
@ -1774,6 +1773,7 @@
|
|||||||
this.gBExtras.Controls.Add(this.tBGreenBar);
|
this.gBExtras.Controls.Add(this.tBGreenBar);
|
||||||
this.gBExtras.Controls.Add(this.tBRedBar);
|
this.gBExtras.Controls.Add(this.tBRedBar);
|
||||||
this.gBExtras.Controls.Add(this.lBTip);
|
this.gBExtras.Controls.Add(this.lBTip);
|
||||||
|
resources.ApplyResources(this.gBExtras, "gBExtras");
|
||||||
this.gBExtras.Name = "gBExtras";
|
this.gBExtras.Name = "gBExtras";
|
||||||
this.gBExtras.TabStop = false;
|
this.gBExtras.TabStop = false;
|
||||||
//
|
//
|
||||||
@ -1824,7 +1824,6 @@
|
|||||||
//
|
//
|
||||||
// cBShiftButton
|
// cBShiftButton
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.cBShiftButton, "cBShiftButton");
|
|
||||||
this.cBShiftButton.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.cBShiftButton.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.cBShiftButton.FormattingEnabled = true;
|
this.cBShiftButton.FormattingEnabled = true;
|
||||||
this.cBShiftButton.Items.AddRange(new object[] {
|
this.cBShiftButton.Items.AddRange(new object[] {
|
||||||
@ -1855,12 +1854,13 @@
|
|||||||
resources.GetString("cBShiftButton.Items24"),
|
resources.GetString("cBShiftButton.Items24"),
|
||||||
resources.GetString("cBShiftButton.Items25"),
|
resources.GetString("cBShiftButton.Items25"),
|
||||||
resources.GetString("cBShiftButton.Items26")});
|
resources.GetString("cBShiftButton.Items26")});
|
||||||
|
resources.ApplyResources(this.cBShiftButton, "cBShiftButton");
|
||||||
this.cBShiftButton.Name = "cBShiftButton";
|
this.cBShiftButton.Name = "cBShiftButton";
|
||||||
//
|
//
|
||||||
// pnl360Controls
|
// pnl360Controls
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.pnl360Controls, "pnl360Controls");
|
|
||||||
this.pnl360Controls.BackgroundImage = global::DS4Windows.Properties.Resources._360_map;
|
this.pnl360Controls.BackgroundImage = global::DS4Windows.Properties.Resources._360_map;
|
||||||
|
resources.ApplyResources(this.pnl360Controls, "pnl360Controls");
|
||||||
this.pnl360Controls.Controls.Add(this.lb360Tip);
|
this.pnl360Controls.Controls.Add(this.lb360Tip);
|
||||||
this.pnl360Controls.Controls.Add(this.pBHighlight);
|
this.pnl360Controls.Controls.Add(this.pBHighlight);
|
||||||
this.pnl360Controls.Controls.Add(this.btnGuide);
|
this.pnl360Controls.Controls.Add(this.btnGuide);
|
||||||
@ -1890,6 +1890,7 @@
|
|||||||
this.pnl360Controls.Controls.Add(this.btnDpadDown);
|
this.pnl360Controls.Controls.Add(this.btnDpadDown);
|
||||||
this.pnl360Controls.Controls.Add(this.btnDpadUp);
|
this.pnl360Controls.Controls.Add(this.btnDpadUp);
|
||||||
this.pnl360Controls.Name = "pnl360Controls";
|
this.pnl360Controls.Name = "pnl360Controls";
|
||||||
|
this.pnl360Controls.Paint += new System.Windows.Forms.PaintEventHandler(this.pnl360Controls_Paint);
|
||||||
//
|
//
|
||||||
// lb360Tip
|
// lb360Tip
|
||||||
//
|
//
|
||||||
|
@ -23,10 +23,14 @@ namespace DS4Windows
|
|||||||
private Color reg, full;
|
private Color reg, full;
|
||||||
int bgc = 240; // Color of the form background, If greyscale color
|
int bgc = 240; // Color of the form background, If greyscale color
|
||||||
private bool extraChanged;
|
private bool extraChanged;
|
||||||
|
private Bitmap pnl360BgImage;
|
||||||
|
|
||||||
public KBM360(int deviceNum, Options ooo, Button buton)
|
public KBM360(int deviceNum, Options ooo, Button buton)
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
pnl360BgImage = (Bitmap)Properties.Resources._360_map.Clone();
|
||||||
|
pnl360Controls.BackgroundImage = null;
|
||||||
|
pnl360Controls.BackgroundImageLayout = ImageLayout.None;
|
||||||
device = deviceNum;
|
device = deviceNum;
|
||||||
ops = ooo;
|
ops = ooo;
|
||||||
button = buton;
|
button = buton;
|
||||||
@ -733,6 +737,11 @@ namespace DS4Windows
|
|||||||
extraChanged = true;
|
extraChanged = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void pnl360Controls_Paint(object sender, PaintEventArgs e)
|
||||||
|
{
|
||||||
|
e.Graphics.DrawImage(pnl360BgImage, new Rectangle(0, 13, Convert.ToInt32(pnl360Controls.Width), Convert.ToInt32(pnl360Controls.Height - 26)), new Rectangle(0, 0, Convert.ToInt32(pnl360BgImage.Width), Convert.ToInt32(pnl360BgImage.Height)), GraphicsUnit.Pixel);
|
||||||
|
}
|
||||||
|
|
||||||
private void nUD_ValueChanged(object sender, EventArgs e)
|
private void nUD_ValueChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (bnTest.Text != Properties.Resources.TestText)
|
if (bnTest.Text != Properties.Resources.TestText)
|
||||||
|
File diff suppressed because it is too large
Load Diff
430
DS4Windows/DS4Forms/Options.Designer.cs
generated
430
DS4Windows/DS4Forms/Options.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@ -31,12 +31,16 @@ namespace DS4Windows
|
|||||||
private Dictionary<Control, Bitmap> hoverImageDict = new Dictionary<Control, Bitmap>();
|
private Dictionary<Control, Bitmap> hoverImageDict = new Dictionary<Control, Bitmap>();
|
||||||
private Dictionary<Control, Label> hoverLabelDict = new Dictionary<Control, Label>();
|
private Dictionary<Control, Label> hoverLabelDict = new Dictionary<Control, Label>();
|
||||||
private int[] touchpadInvertToValue = new int[4] { 0, 2, 1, 3 };
|
private int[] touchpadInvertToValue = new int[4] { 0, 2, 1, 3 };
|
||||||
|
private Bitmap pnlControllerBgImg;
|
||||||
|
|
||||||
int tempInt = 0;
|
int tempInt = 0;
|
||||||
|
|
||||||
public Options(DS4Form rt)
|
public Options(DS4Form rt)
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
pnlControllerBgImg = (Bitmap)Properties.Resources.DS4_Config.Clone();
|
||||||
|
pnlController.BackgroundImage = null;
|
||||||
|
pnlController.BackgroundImageLayout = ImageLayout.None;
|
||||||
mSize = MaximumSize;
|
mSize = MaximumSize;
|
||||||
settingsSize = fLPSettings.Size;
|
settingsSize = fLPSettings.Size;
|
||||||
MaximumSize = new Size(0, 0);
|
MaximumSize = new Size(0, 0);
|
||||||
@ -2945,6 +2949,11 @@ namespace DS4Windows
|
|||||||
cMTouchDisableInvert.Show(button, new Point(0, button.Height));
|
cMTouchDisableInvert.Show(button, new Point(0, button.Height));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void pnlController_Paint(object sender, PaintEventArgs e)
|
||||||
|
{
|
||||||
|
e.Graphics.DrawImage(pnlControllerBgImg, 0, 0, Convert.ToInt32(pnlController.Width), Convert.ToInt32(pnlController.Height - 1));
|
||||||
|
}
|
||||||
|
|
||||||
private void Options_Resize(object sender, EventArgs e)
|
private void Options_Resize(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
fLPSettings.AutoScroll = false;
|
fLPSettings.AutoScroll = false;
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user