aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcraftxbox <[email protected]>2017-02-23 19:01:25 -0330
committerGitHub <[email protected]>2017-02-23 19:01:25 -0330
commitf13bd3f5637df81f6800356c72230e84202cfe92 (patch)
treea7268156d55d39916992023ba9aa513d7a7d6864
parent741c9ad1536aafe851a9a2f521f39a15b064a3c8 (diff)
downloadshiftos_thereturn-f13bd3f5637df81f6800356c72230e84202cfe92.tar.gz
shiftos_thereturn-f13bd3f5637df81f6800356c72230e84202cfe92.tar.bz2
shiftos_thereturn-f13bd3f5637df81f6800356c72230e84202cfe92.zip
FIX THE OTHER DAMN ISSUE FOR THE THIRD TIME
-rw-r--r--ShiftOS.WinForms/Applications/Pong.Designer.cs32
1 files changed, 29 insertions, 3 deletions
diff --git a/ShiftOS.WinForms/Applications/Pong.Designer.cs b/ShiftOS.WinForms/Applications/Pong.Designer.cs
index 16ae4e0..577d0db 100644
--- a/ShiftOS.WinForms/Applications/Pong.Designer.cs
+++ b/ShiftOS.WinForms/Applications/Pong.Designer.cs
@@ -1,3 +1,21 @@
+Skip to content
+This repository
+Search
+Pull requests
+Issues
+Gist
+ @craftxbox
+ Sign out
+ Watch 5
+ Star 6
+ Fork 9 shiftos-game/ShiftOS
+ Code Issues 7 Pull requests 0 Projects 0 Wiki Pulse Graphs
+Branch: master Find file Copy pathShiftOS/ShiftOS.WinForms/Applications/Pong.Designer.cs
+6f939e2 12 days ago
+ Michael Fix Pong UI and panel buttons
+0 contributors
+RawBlameHistory
+718 lines (713 sloc) 39.2 KB
/*
* MIT License
*
@@ -553,7 +571,11 @@ namespace ShiftOS.WinForms.Applications
this.paddleHuman.BackColor = System.Drawing.Color.Black;
this.paddleHuman.Location = new System.Drawing.Point(10, 134);
this.paddleHuman.Name = "paddleHuman";
- this.paddleHuman.Size = new System.Drawing.Size(20, 100);
+ if(ShiftoriumFrontend.UpgradeInstalled("pong_increased_paddle_size")){
+ this.paddleHuman.Size = new System.Drawing.Size(20, 150);
+ } else {
+ this.paddleHuman.Size = new System.Drawing.Size(20, 100);
+ }
this.paddleHuman.TabIndex = 3;
this.paddleHuman.TabStop = false;
//
@@ -564,7 +586,11 @@ namespace ShiftOS.WinForms.Applications
this.paddleComputer.Location = new System.Drawing.Point(666, 134);
this.paddleComputer.MaximumSize = new System.Drawing.Size(20, 100);
this.paddleComputer.Name = "paddleComputer";
- this.paddleComputer.Size = new System.Drawing.Size(20, 100);
+ if(ShiftoriumFrontend.UpgradeInstalled("pong_increased_paddle_size")){
+ this.paddleComputer.Size = new System.Drawing.Size(20, 150);
+ } else {
+ this.paddleComputer.Size = new System.Drawing.Size(20, 100);
+ }
this.paddleComputer.TabIndex = 1;
//
// lbllevelandtime
@@ -715,4 +741,4 @@ namespace ShiftOS.WinForms.Applications
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
private System.Windows.Forms.Button button2;
}
-} \ No newline at end of file
+}