mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 17:05:34 +00:00
Fixed build (changes to GLControl).
This commit is contained in:
parent
2922a8c054
commit
f69be39f20
|
@ -28,25 +28,12 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.glControl1 = new OpenTK.GLControl();
|
|
||||||
this.redButton = new System.Windows.Forms.Button();
|
this.redButton = new System.Windows.Forms.Button();
|
||||||
this.greenButton = new System.Windows.Forms.Button();
|
this.greenButton = new System.Windows.Forms.Button();
|
||||||
this.blueButton = new System.Windows.Forms.Button();
|
this.blueButton = new System.Windows.Forms.Button();
|
||||||
|
this.glControl1 = new OpenTK.GLControl();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// glControl1
|
|
||||||
//
|
|
||||||
this.glControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.glControl1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
|
|
||||||
this.glControl1.Location = new System.Drawing.Point(1, 0);
|
|
||||||
this.glControl1.Name = "glControl1";
|
|
||||||
this.glControl1.Size = new System.Drawing.Size(629, 565);
|
|
||||||
this.glControl1.TabIndex = 0;
|
|
||||||
this.glControl1.Paint += new System.Windows.Forms.PaintEventHandler(this.glControl1_Paint);
|
|
||||||
this.glControl1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.glControl1_KeyDown);
|
|
||||||
//
|
|
||||||
// redButton
|
// redButton
|
||||||
//
|
//
|
||||||
this.redButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
this.redButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
@ -80,6 +67,20 @@
|
||||||
this.blueButton.UseVisualStyleBackColor = true;
|
this.blueButton.UseVisualStyleBackColor = true;
|
||||||
this.blueButton.Click += new System.EventHandler(this.blueButton_Click);
|
this.blueButton.Click += new System.EventHandler(this.blueButton_Click);
|
||||||
//
|
//
|
||||||
|
// glControl1
|
||||||
|
//
|
||||||
|
this.glControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.glControl1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||||
|
this.glControl1.Location = new System.Drawing.Point(1, 0);
|
||||||
|
this.glControl1.Name = "glControl1";
|
||||||
|
this.glControl1.Size = new System.Drawing.Size(629, 565);
|
||||||
|
this.glControl1.TabIndex = 0;
|
||||||
|
this.glControl1.VSync = false;
|
||||||
|
this.glControl1.Paint += new System.Windows.Forms.PaintEventHandler(this.glControl1_Paint);
|
||||||
|
this.glControl1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.glControl1_KeyDown);
|
||||||
|
//
|
||||||
// W01_First_Window
|
// W01_First_Window
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
|
Loading…
Reference in a new issue