diff --git a/app/AutoTDP/AutoTDPGameProfileUI.Designer.cs b/app/AutoTDP/AutoTDPGameProfileUI.Designer.cs index 66b9c654..d93b047b 100644 --- a/app/AutoTDP/AutoTDPGameProfileUI.Designer.cs +++ b/app/AutoTDP/AutoTDPGameProfileUI.Designer.cs @@ -32,15 +32,15 @@ pictureKeyboard = new PictureBox(); labelSettings = new Label(); checkBoxEnabled = new CheckBox(); - panelLightingContent = new Panel(); + panelGameSettings = new Panel(); labelMinTDP = new Label(); labelMaxTDP = new Label(); sliderMaxTDP = new UI.Slider(); numericUpDownFPS = new NumericUpDown(); sliderMinTDP = new UI.Slider(); - label2 = new Label(); - label3 = new Label(); - label1 = new Label(); + labelMaxTDPText = new Label(); + labeMinTDPText = new Label(); + labelTargetFPS = new Label(); textBoxTitle = new TextBox(); textBoxProcessName = new TextBox(); labelFPSSource = new Label(); @@ -49,7 +49,7 @@ buttonDelete = new UI.RButton(); panelPerformanceHeader.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)pictureKeyboard).BeginInit(); - panelLightingContent.SuspendLayout(); + panelGameSettings.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)numericUpDownFPS).BeginInit(); SuspendLayout(); // @@ -61,19 +61,17 @@ panelPerformanceHeader.Controls.Add(checkBoxEnabled); panelPerformanceHeader.Dock = DockStyle.Top; panelPerformanceHeader.Location = new Point(0, 0); - panelPerformanceHeader.Margin = new Padding(2); panelPerformanceHeader.Name = "panelPerformanceHeader"; - panelPerformanceHeader.Size = new Size(386, 30); + panelPerformanceHeader.Size = new Size(551, 50); panelPerformanceHeader.TabIndex = 53; // // pictureKeyboard // pictureKeyboard.BackgroundImage = Properties.Resources.icons8_automation_32; pictureKeyboard.BackgroundImageLayout = ImageLayout.Zoom; - pictureKeyboard.Location = new Point(3, 8); - pictureKeyboard.Margin = new Padding(2); + pictureKeyboard.Location = new Point(4, 13); pictureKeyboard.Name = "pictureKeyboard"; - pictureKeyboard.Size = new Size(16, 16); + pictureKeyboard.Size = new Size(23, 27); pictureKeyboard.TabIndex = 35; pictureKeyboard.TabStop = false; // @@ -81,60 +79,61 @@ // labelSettings.AutoSize = true; labelSettings.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point); - labelSettings.Location = new Point(22, 8); - labelSettings.Margin = new Padding(4, 0, 4, 0); + labelSettings.Location = new Point(31, 13); + labelSettings.Margin = new Padding(6, 0, 6, 0); labelSettings.Name = "labelSettings"; - labelSettings.Size = new Size(89, 15); + labelSettings.Size = new Size(135, 25); labelSettings.TabIndex = 34; labelSettings.Text = "Game Settings"; // // checkBoxEnabled // - checkBoxEnabled.Location = new Point(241, 2); - checkBoxEnabled.Margin = new Padding(4, 0, 4, 0); + checkBoxEnabled.Location = new Point(344, 3); + checkBoxEnabled.Margin = new Padding(6, 0, 6, 0); checkBoxEnabled.Name = "checkBoxEnabled"; - checkBoxEnabled.Size = new Size(136, 25); + checkBoxEnabled.Size = new Size(194, 42); checkBoxEnabled.TabIndex = 53; checkBoxEnabled.Text = "Enabled"; checkBoxEnabled.UseVisualStyleBackColor = true; // - // panelLightingContent + // panelGameSettings // - panelLightingContent.AutoSize = true; - panelLightingContent.Controls.Add(labelMinTDP); - panelLightingContent.Controls.Add(labelMaxTDP); - panelLightingContent.Controls.Add(sliderMaxTDP); - panelLightingContent.Controls.Add(numericUpDownFPS); - panelLightingContent.Controls.Add(sliderMinTDP); - panelLightingContent.Controls.Add(label2); - panelLightingContent.Controls.Add(label3); - panelLightingContent.Controls.Add(label1); - panelLightingContent.Controls.Add(textBoxTitle); - panelLightingContent.Controls.Add(textBoxProcessName); - panelLightingContent.Controls.Add(labelFPSSource); - panelLightingContent.Controls.Add(labelLimiter); - panelLightingContent.Dock = DockStyle.Top; - panelLightingContent.Location = new Point(0, 30); - panelLightingContent.Margin = new Padding(2); - panelLightingContent.Name = "panelLightingContent"; - panelLightingContent.Padding = new Padding(0, 0, 0, 7); - panelLightingContent.Size = new Size(386, 146); - panelLightingContent.TabIndex = 57; + panelGameSettings.AutoSize = true; + panelGameSettings.Controls.Add(labelMinTDP); + panelGameSettings.Controls.Add(labelMaxTDP); + panelGameSettings.Controls.Add(sliderMaxTDP); + panelGameSettings.Controls.Add(numericUpDownFPS); + panelGameSettings.Controls.Add(sliderMinTDP); + panelGameSettings.Controls.Add(labelMaxTDPText); + panelGameSettings.Controls.Add(labeMinTDPText); + panelGameSettings.Controls.Add(labelTargetFPS); + panelGameSettings.Controls.Add(textBoxTitle); + panelGameSettings.Controls.Add(textBoxProcessName); + panelGameSettings.Controls.Add(labelFPSSource); + panelGameSettings.Controls.Add(labelLimiter); + panelGameSettings.Dock = DockStyle.Top; + panelGameSettings.Location = new Point(0, 50); + panelGameSettings.Name = "panelGameSettings"; + panelGameSettings.Padding = new Padding(0, 0, 0, 12); + panelGameSettings.Size = new Size(551, 244); + panelGameSettings.TabIndex = 57; // // labelMinTDP // - labelMinTDP.Location = new Point(342, 91); + labelMinTDP.Location = new Point(489, 152); + labelMinTDP.Margin = new Padding(4, 0, 4, 0); labelMinTDP.Name = "labelMinTDP"; - labelMinTDP.Size = new Size(39, 22); + labelMinTDP.Size = new Size(56, 37); labelMinTDP.TabIndex = 67; labelMinTDP.Text = "30W"; labelMinTDP.TextAlign = ContentAlignment.MiddleRight; // // labelMaxTDP // - labelMaxTDP.Location = new Point(341, 117); + labelMaxTDP.Location = new Point(487, 195); + labelMaxTDP.Margin = new Padding(4, 0, 4, 0); labelMaxTDP.Name = "labelMaxTDP"; - labelMaxTDP.Size = new Size(40, 22); + labelMaxTDP.Size = new Size(57, 37); labelMaxTDP.TabIndex = 66; labelMaxTDP.Text = "150W"; labelMaxTDP.TextAlign = ContentAlignment.MiddleRight; @@ -142,12 +141,11 @@ // sliderMaxTDP // sliderMaxTDP.AccessibleName = "DPI Slider"; - sliderMaxTDP.Location = new Point(140, 117); - sliderMaxTDP.Margin = new Padding(2); + sliderMaxTDP.Location = new Point(200, 195); sliderMaxTDP.Max = 200; sliderMaxTDP.Min = 5; sliderMaxTDP.Name = "sliderMaxTDP"; - sliderMaxTDP.Size = new Size(204, 20); + sliderMaxTDP.Size = new Size(291, 33); sliderMaxTDP.Step = 1; sliderMaxTDP.TabIndex = 65; sliderMaxTDP.TabStop = false; @@ -157,12 +155,11 @@ // numericUpDownFPS // numericUpDownFPS.BorderStyle = BorderStyle.None; - numericUpDownFPS.Location = new Point(291, 66); - numericUpDownFPS.Margin = new Padding(2); + numericUpDownFPS.Location = new Point(416, 110); numericUpDownFPS.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); numericUpDownFPS.Minimum = new decimal(new int[] { 20, 0, 0, 0 }); numericUpDownFPS.Name = "numericUpDownFPS"; - numericUpDownFPS.Size = new Size(86, 19); + numericUpDownFPS.Size = new Size(123, 27); numericUpDownFPS.TabIndex = 64; numericUpDownFPS.TextAlign = HorizontalAlignment.Center; numericUpDownFPS.Value = new decimal(new int[] { 60, 0, 0, 0 }); @@ -170,80 +167,81 @@ // sliderMinTDP // sliderMinTDP.AccessibleName = "DPI Slider"; - sliderMinTDP.Location = new Point(140, 93); - sliderMinTDP.Margin = new Padding(2); + sliderMinTDP.Location = new Point(200, 155); sliderMinTDP.Max = 200; sliderMinTDP.Min = 5; sliderMinTDP.Name = "sliderMinTDP"; - sliderMinTDP.Size = new Size(204, 20); + sliderMinTDP.Size = new Size(291, 33); sliderMinTDP.Step = 1; sliderMinTDP.TabIndex = 63; sliderMinTDP.TabStop = false; sliderMinTDP.Text = "sliderBattery"; sliderMinTDP.Value = 0; // - // label2 + // labelMaxTDPText // - label2.Location = new Point(5, 117); - label2.Margin = new Padding(4, 0, 4, 0); - label2.Name = "label2"; - label2.Size = new Size(129, 22); - label2.TabIndex = 61; - label2.Text = "Max TDP:"; - label2.TextAlign = ContentAlignment.MiddleLeft; + labelMaxTDPText.Location = new Point(7, 195); + labelMaxTDPText.Margin = new Padding(6, 0, 6, 0); + labelMaxTDPText.Name = "labelMaxTDPText"; + labelMaxTDPText.Size = new Size(184, 37); + labelMaxTDPText.TabIndex = 61; + labelMaxTDPText.Text = "Max TDP:"; + labelMaxTDPText.TextAlign = ContentAlignment.MiddleLeft; // - // label3 + // labeMinTDPText // - label3.Location = new Point(5, 91); - label3.Margin = new Padding(4, 0, 4, 0); - label3.Name = "label3"; - label3.Size = new Size(129, 22); - label3.TabIndex = 62; - label3.Text = "Min TDP:"; - label3.TextAlign = ContentAlignment.MiddleLeft; + labeMinTDPText.Location = new Point(7, 152); + labeMinTDPText.Margin = new Padding(6, 0, 6, 0); + labeMinTDPText.Name = "labeMinTDPText"; + labeMinTDPText.Size = new Size(184, 37); + labeMinTDPText.TabIndex = 62; + labeMinTDPText.Text = "Min TDP:"; + labeMinTDPText.TextAlign = ContentAlignment.MiddleLeft; // - // label1 + // labelTargetFPS // - label1.Location = new Point(5, 63); - label1.Margin = new Padding(4, 0, 4, 0); - label1.Name = "label1"; - label1.Size = new Size(129, 22); - label1.TabIndex = 60; - label1.Text = "Target FPS:"; - label1.TextAlign = ContentAlignment.MiddleLeft; + labelTargetFPS.Location = new Point(7, 105); + labelTargetFPS.Margin = new Padding(6, 0, 6, 0); + labelTargetFPS.Name = "labelTargetFPS"; + labelTargetFPS.Size = new Size(184, 37); + labelTargetFPS.TabIndex = 60; + labelTargetFPS.Text = "Target FPS:"; + labelTargetFPS.TextAlign = ContentAlignment.MiddleLeft; // // textBoxTitle // - textBoxTitle.Location = new Point(140, 36); + textBoxTitle.Location = new Point(200, 60); + textBoxTitle.Margin = new Padding(4, 5, 4, 5); textBoxTitle.Name = "textBoxTitle"; - textBoxTitle.Size = new Size(237, 23); + textBoxTitle.Size = new Size(337, 31); textBoxTitle.TabIndex = 59; // // textBoxProcessName // - textBoxProcessName.Location = new Point(140, 6); + textBoxProcessName.Location = new Point(200, 10); + textBoxProcessName.Margin = new Padding(4, 5, 4, 5); textBoxProcessName.Name = "textBoxProcessName"; textBoxProcessName.ReadOnly = true; - textBoxProcessName.Size = new Size(237, 23); + textBoxProcessName.Size = new Size(337, 31); textBoxProcessName.TabIndex = 58; textBoxProcessName.WordWrap = false; // // labelFPSSource // - labelFPSSource.Location = new Point(4, 37); - labelFPSSource.Margin = new Padding(4, 0, 4, 0); + labelFPSSource.Location = new Point(6, 62); + labelFPSSource.Margin = new Padding(6, 0, 6, 0); labelFPSSource.Name = "labelFPSSource"; - labelFPSSource.Size = new Size(129, 22); + labelFPSSource.Size = new Size(184, 37); labelFPSSource.TabIndex = 57; labelFPSSource.Text = "Name:"; labelFPSSource.TextAlign = ContentAlignment.MiddleLeft; // // labelLimiter // - labelLimiter.Location = new Point(4, 7); - labelLimiter.Margin = new Padding(4, 0, 4, 0); + labelLimiter.Location = new Point(6, 12); + labelLimiter.Margin = new Padding(6, 0, 6, 0); labelLimiter.Name = "labelLimiter"; - labelLimiter.Size = new Size(129, 22); + labelLimiter.Size = new Size(184, 37); labelLimiter.TabIndex = 47; labelLimiter.Text = "Process"; labelLimiter.TextAlign = ContentAlignment.MiddleLeft; @@ -258,11 +256,11 @@ buttonSave.BorderRadius = 2; buttonSave.FlatStyle = FlatStyle.Flat; buttonSave.ForeColor = SystemColors.ControlText; - buttonSave.Location = new Point(279, 182); - buttonSave.Margin = new Padding(2, 4, 2, 4); + buttonSave.Location = new Point(399, 303); + buttonSave.Margin = new Padding(3, 7, 3, 7); buttonSave.Name = "buttonSave"; buttonSave.Secondary = false; - buttonSave.Size = new Size(103, 25); + buttonSave.Size = new Size(147, 42); buttonSave.TabIndex = 61; buttonSave.Text = "Save"; buttonSave.UseVisualStyleBackColor = false; @@ -277,25 +275,26 @@ buttonDelete.BorderRadius = 2; buttonDelete.FlatStyle = FlatStyle.Flat; buttonDelete.ForeColor = SystemColors.ControlText; - buttonDelete.Location = new Point(4, 182); - buttonDelete.Margin = new Padding(2, 4, 2, 4); + buttonDelete.Location = new Point(6, 303); + buttonDelete.Margin = new Padding(3, 7, 3, 7); buttonDelete.Name = "buttonDelete"; buttonDelete.Secondary = false; - buttonDelete.Size = new Size(103, 25); + buttonDelete.Size = new Size(147, 42); buttonDelete.TabIndex = 62; buttonDelete.Text = "Delete"; buttonDelete.UseVisualStyleBackColor = false; // // AutoTDPGameProfileUI // - AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleDimensions = new SizeF(10F, 25F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(386, 217); + ClientSize = new Size(551, 362); Controls.Add(buttonDelete); Controls.Add(buttonSave); - Controls.Add(panelLightingContent); + Controls.Add(panelGameSettings); Controls.Add(panelPerformanceHeader); FormBorderStyle = FormBorderStyle.FixedSingle; + Margin = new Padding(4, 5, 4, 5); MaximizeBox = false; MinimizeBox = false; Name = "AutoTDPGameProfileUI"; @@ -305,8 +304,8 @@ panelPerformanceHeader.ResumeLayout(false); panelPerformanceHeader.PerformLayout(); ((System.ComponentModel.ISupportInitialize)pictureKeyboard).EndInit(); - panelLightingContent.ResumeLayout(false); - panelLightingContent.PerformLayout(); + panelGameSettings.ResumeLayout(false); + panelGameSettings.PerformLayout(); ((System.ComponentModel.ISupportInitialize)numericUpDownFPS).EndInit(); ResumeLayout(false); PerformLayout(); @@ -318,15 +317,15 @@ private PictureBox pictureKeyboard; private Label labelSettings; private CheckBox checkBoxEnabled; - private Panel panelLightingContent; + private Panel panelGameSettings; private Label labelFPSSource; private Label labelLimiter; private TextBox textBoxTitle; private TextBox textBoxProcessName; private UI.RButton buttonSave; - private Label label2; - private Label label3; - private Label label1; + private Label labelMaxTDPText; + private Label labeMinTDPText; + private Label labelTargetFPS; private UI.Slider sliderMinTDP; private UI.Slider sliderMaxTDP; private NumericUpDown numericUpDownFPS;