From: Sweidan Omar Date: Wed, 12 Jan 2022 21:17:12 +0000 (+0000) Subject: #310 X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=c68d4b804af797e2c384cccfe32dc5444ea3baf5;p=mediacube.git #310 git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C32732 --- diff --git a/client/DxPlay/Controls/PlayerControls.Designer.cs b/client/DxPlay/Controls/PlayerControls.Designer.cs index 06440fb6..2cbc4d84 100644 --- a/client/DxPlay/Controls/PlayerControls.Designer.cs +++ b/client/DxPlay/Controls/PlayerControls.Designer.cs @@ -1,5 +1,7 @@ -namespace DxPlay.Controls { - partial class PlayerControls { +namespace DxPlay.Controls +{ + partial class PlayerControls + { /// /// Required designer variable. /// @@ -9,8 +11,10 @@ /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) { - if (disposing && (components != null)) { + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { components.Dispose(); } base.Dispose(disposing); @@ -22,7 +26,8 @@ /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// - private void InitializeComponent() { + private void InitializeComponent() + { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PlayerControls)); this.mainPanel = new System.Windows.Forms.TableLayoutPanel(); this.trackBar = new MaestroShared.Controls.ColorSlider(); @@ -43,10 +48,13 @@ this.btnStepForward = new MaestroShared.Controls.NoFocusCueButton(); this.btnForward = new MaestroShared.Controls.NoFocusCueButton(); this.logoPanel = new System.Windows.Forms.Panel(); + this.playSpeed = new DxPlay.Controls.VideoSpeedTrackbar(); + this.lblPlaySpeed = new System.Windows.Forms.Label(); this.mainPanel.SuspendLayout(); this.timecodePanel.SuspendLayout(); this.controlsPanel.SuspendLayout(); this.buttonsPanel.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.playSpeed)).BeginInit(); this.SuspendLayout(); // // mainPanel @@ -64,7 +72,7 @@ this.mainPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.mainPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.mainPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 80F)); - this.mainPanel.Size = new System.Drawing.Size(1113, 152); + this.mainPanel.Size = new System.Drawing.Size(1113, 203); this.mainPanel.TabIndex = 0; // // trackBar @@ -119,8 +127,8 @@ // // lbCurrentTC // - this.lbCurrentTC.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.lbCurrentTC.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.lbCurrentTC.BackColor = System.Drawing.Color.Transparent; this.lbCurrentTC.Font = new System.Drawing.Font("Calibri", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); @@ -212,7 +220,7 @@ this.controlsPanel.Name = "controlsPanel"; this.controlsPanel.RowCount = 1; this.controlsPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.controlsPanel.Size = new System.Drawing.Size(1105, 75); + this.controlsPanel.Size = new System.Drawing.Size(1105, 126); this.controlsPanel.TabIndex = 21; // // buttonsPanel @@ -226,11 +234,13 @@ this.buttonsPanel.Controls.Add(this.btnStop); this.buttonsPanel.Controls.Add(this.btnStepForward); this.buttonsPanel.Controls.Add(this.btnForward); + this.buttonsPanel.Controls.Add(this.playSpeed); + this.buttonsPanel.Controls.Add(this.lblPlaySpeed); this.buttonsPanel.Dock = System.Windows.Forms.DockStyle.Left; this.buttonsPanel.Location = new System.Drawing.Point(0, 0); this.buttonsPanel.Margin = new System.Windows.Forms.Padding(0); this.buttonsPanel.Name = "buttonsPanel"; - this.buttonsPanel.Size = new System.Drawing.Size(560, 75); + this.buttonsPanel.Size = new System.Drawing.Size(866, 126); this.buttonsPanel.TabIndex = 20; // // btnPlay @@ -358,12 +368,39 @@ this.logoPanel.BackgroundImage = global::DxPlay.Properties.Resources.bs_user_logo; this.logoPanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.logoPanel.Dock = System.Windows.Forms.DockStyle.Fill; - this.logoPanel.Location = new System.Drawing.Point(873, 0); + this.logoPanel.Location = new System.Drawing.Point(874, 0); this.logoPanel.Margin = new System.Windows.Forms.Padding(0); this.logoPanel.Name = "logoPanel"; - this.logoPanel.Size = new System.Drawing.Size(232, 75); + this.logoPanel.Size = new System.Drawing.Size(231, 126); this.logoPanel.TabIndex = 21; // + // playSpeed + // + this.playSpeed.AvailableSpeeds = new float[] { + 0.25F, + 0.5F, + 1F, + 2F, + 3F, + 5F}; + this.playSpeed.Location = new System.Drawing.Point(563, 3); + this.playSpeed.Maximum = 5; + this.playSpeed.Minimum = 1; + this.playSpeed.Name = "playSpeed"; + this.playSpeed.Size = new System.Drawing.Size(136, 56); + this.playSpeed.TabIndex = 26; + this.playSpeed.Value = 3; + this.playSpeed.ValueChanged += new System.EventHandler(this.onPlaySpeedChanged); + // + // lblPlaySpeed + // + this.lblPlaySpeed.AutoSize = true; + this.lblPlaySpeed.Location = new System.Drawing.Point(705, 0); + this.lblPlaySpeed.Name = "lblPlaySpeed"; + this.lblPlaySpeed.Size = new System.Drawing.Size(158, 17); + this.lblPlaySpeed.TabIndex = 27; + this.lblPlaySpeed.Text = "Lejátszási sebesség: 1x"; + // // PlayerControls // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); @@ -380,6 +417,7 @@ this.controlsPanel.PerformLayout(); this.buttonsPanel.ResumeLayout(false); this.buttonsPanel.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.playSpeed)).EndInit(); this.ResumeLayout(false); } @@ -405,6 +443,7 @@ private MaestroShared.Controls.NoFocusCueButton btnStepBack; private MaestroShared.Controls.NoFocusCueButton btnStepForward; private MaestroShared.Controls.NoFocusCueButton btnPause; - //private VideoSpeedTrackbar playSpeed; + private VideoSpeedTrackbar playSpeed; + private System.Windows.Forms.Label lblPlaySpeed; } -} +} \ No newline at end of file