X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcec-config-gui%2FCecConfigGUI.Designer.cs;h=7225d42261c4ed72279fbdc928694dff9054bc31;hb=ece1582ec85912aebc8f87c0dca015ae62b29331;hp=4b5eabb61fd32e65b571460a3554e4ace1d9b673;hpb=8674df6af2ed9e296a80450f4b034c11765e70b6;p=deb_libcec.git diff --git a/src/cec-config-gui/CecConfigGUI.Designer.cs b/src/cec-config-gui/CecConfigGUI.Designer.cs index 4b5eabb..7225d42 100644 --- a/src/cec-config-gui/CecConfigGUI.Designer.cs +++ b/src/cec-config-gui/CecConfigGUI.Designer.cs @@ -51,6 +51,17 @@ this.lPortNumber = new System.Windows.Forms.Label(); this.tbButtons = new System.Windows.Forms.TabPage(); this.dgButtons = new System.Windows.Forms.DataGridView(); + this.CecButtonName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.tbTestCommands = new System.Windows.Forms.TabPage(); + this.bMute = new System.Windows.Forms.Button(); + this.bVolDown = new System.Windows.Forms.Button(); + this.bVolUp = new System.Windows.Forms.Button(); + this.bActivateSource = new System.Windows.Forms.Button(); + this.bScan = new System.Windows.Forms.Button(); + this.bStandby = new System.Windows.Forms.Button(); + this.bSendImageViewOn = new System.Windows.Forms.Button(); + this.lDestination = new System.Windows.Forms.Label(); + this.cbCommandDestination = new System.Windows.Forms.ComboBox(); this.LogOutput = new System.Windows.Forms.TabPage(); this.bSaveLog = new System.Windows.Forms.Button(); this.bClearLog = new System.Windows.Forms.Button(); @@ -66,13 +77,16 @@ this.helpConnectedHDMIDevice = new System.Windows.Forms.ToolTip(this.components); this.helpPhysicalAddress = new System.Windows.Forms.ToolTip(this.components); this.helpDeviceType = new System.Windows.Forms.ToolTip(this.components); - this.cecButtonConfigBindingSource = new System.Windows.Forms.BindingSource(this.components); - this.CecButtonName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.label1 = new System.Windows.Forms.Label(); + this.cbWakeDevices = new System.Windows.Forms.CheckedListBox(); + this.lWakeDevices = new System.Windows.Forms.Label(); this.playerButtonDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.cecButtonConfigBindingSource = new System.Windows.Forms.BindingSource(this.components); this.tabControl1.SuspendLayout(); this.Configuration.SuspendLayout(); this.tbButtons.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgButtons)).BeginInit(); + this.tbTestCommands.SuspendLayout(); this.LogOutput.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cecButtonConfigBindingSource)).BeginInit(); this.SuspendLayout(); @@ -81,6 +95,7 @@ // this.tabControl1.Controls.Add(this.Configuration); this.tabControl1.Controls.Add(this.tbButtons); + this.tabControl1.Controls.Add(this.tbTestCommands); this.tabControl1.Controls.Add(this.LogOutput); this.tabControl1.Location = new System.Drawing.Point(12, 12); this.tabControl1.Name = "tabControl1"; @@ -90,6 +105,8 @@ // // Configuration // + this.Configuration.Controls.Add(this.lWakeDevices); + this.Configuration.Controls.Add(this.cbWakeDevices); this.Configuration.Controls.Add(this.cbPowerOffOnStandby); this.Configuration.Controls.Add(this.cbPowerOffScreensaver); this.Configuration.Controls.Add(this.cbPowerOffShutdown); @@ -318,6 +335,7 @@ // // tbButtons // + this.tbButtons.Controls.Add(this.label1); this.tbButtons.Controls.Add(this.dgButtons); this.tbButtons.Location = new System.Drawing.Point(4, 22); this.tbButtons.Name = "tbButtons"; @@ -346,6 +364,144 @@ this.dgButtons.TabIndex = 0; this.dgButtons.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dataGridView1_CellFormatting); // + // CecButtonName + // + this.CecButtonName.DataPropertyName = "CecButtonName"; + this.CecButtonName.FillWeight = 260F; + this.CecButtonName.HeaderText = "Button"; + this.CecButtonName.Name = "CecButtonName"; + this.CecButtonName.ReadOnly = true; + this.CecButtonName.Width = 260; + // + // tbTestCommands + // + this.tbTestCommands.Controls.Add(this.bMute); + this.tbTestCommands.Controls.Add(this.bVolDown); + this.tbTestCommands.Controls.Add(this.bVolUp); + this.tbTestCommands.Controls.Add(this.bActivateSource); + this.tbTestCommands.Controls.Add(this.bScan); + this.tbTestCommands.Controls.Add(this.bStandby); + this.tbTestCommands.Controls.Add(this.bSendImageViewOn); + this.tbTestCommands.Controls.Add(this.lDestination); + this.tbTestCommands.Controls.Add(this.cbCommandDestination); + this.tbTestCommands.Location = new System.Drawing.Point(4, 22); + this.tbTestCommands.Name = "tbTestCommands"; + this.tbTestCommands.Padding = new System.Windows.Forms.Padding(3); + this.tbTestCommands.Size = new System.Drawing.Size(592, 359); + this.tbTestCommands.TabIndex = 3; + this.tbTestCommands.Text = "CEC tester"; + this.tbTestCommands.UseVisualStyleBackColor = true; + // + // bMute + // + this.bMute.Enabled = false; + this.bMute.Location = new System.Drawing.Point(164, 65); + this.bMute.Name = "bMute"; + this.bMute.Size = new System.Drawing.Size(150, 23); + this.bMute.TabIndex = 8; + this.bMute.Text = "Mute"; + this.bMute.UseVisualStyleBackColor = true; + this.bMute.Click += new System.EventHandler(this.bMute_Click); + // + // bVolDown + // + this.bVolDown.Enabled = false; + this.bVolDown.Location = new System.Drawing.Point(164, 36); + this.bVolDown.Name = "bVolDown"; + this.bVolDown.Size = new System.Drawing.Size(150, 23); + this.bVolDown.TabIndex = 7; + this.bVolDown.Text = "Volume down"; + this.bVolDown.UseVisualStyleBackColor = true; + this.bVolDown.Click += new System.EventHandler(this.bVolDown_Click); + // + // bVolUp + // + this.bVolUp.Enabled = false; + this.bVolUp.Location = new System.Drawing.Point(164, 7); + this.bVolUp.Name = "bVolUp"; + this.bVolUp.Size = new System.Drawing.Size(150, 23); + this.bVolUp.TabIndex = 6; + this.bVolUp.Text = "Volume up"; + this.bVolUp.UseVisualStyleBackColor = true; + this.bVolUp.Click += new System.EventHandler(this.bVolUp_Click); + // + // bActivateSource + // + this.bActivateSource.Location = new System.Drawing.Point(8, 65); + this.bActivateSource.Name = "bActivateSource"; + this.bActivateSource.Size = new System.Drawing.Size(150, 23); + this.bActivateSource.TabIndex = 5; + this.bActivateSource.Text = "Make device active"; + this.bActivateSource.UseVisualStyleBackColor = true; + this.bActivateSource.Click += new System.EventHandler(this.bActivateSource_Click); + // + // bScan + // + this.bScan.Location = new System.Drawing.Point(8, 94); + this.bScan.Name = "bScan"; + this.bScan.Size = new System.Drawing.Size(150, 23); + this.bScan.TabIndex = 4; + this.bScan.Text = "Device information"; + this.bScan.UseVisualStyleBackColor = true; + this.bScan.Click += new System.EventHandler(this.bScan_Click); + // + // bStandby + // + this.bStandby.Location = new System.Drawing.Point(8, 36); + this.bStandby.Name = "bStandby"; + this.bStandby.Size = new System.Drawing.Size(150, 23); + this.bStandby.TabIndex = 3; + this.bStandby.Text = "Put device in standby"; + this.bStandby.UseVisualStyleBackColor = true; + this.bStandby.Click += new System.EventHandler(this.bStandby_Click); + // + // bSendImageViewOn + // + this.bSendImageViewOn.Location = new System.Drawing.Point(8, 7); + this.bSendImageViewOn.Name = "bSendImageViewOn"; + this.bSendImageViewOn.Size = new System.Drawing.Size(150, 23); + this.bSendImageViewOn.TabIndex = 2; + this.bSendImageViewOn.Text = "Power on device"; + this.bSendImageViewOn.UseVisualStyleBackColor = true; + this.bSendImageViewOn.Click += new System.EventHandler(this.bSendImageViewOn_Click); + // + // lDestination + // + this.lDestination.AutoSize = true; + this.lDestination.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lDestination.Location = new System.Drawing.Point(420, 3); + this.lDestination.Name = "lDestination"; + this.lDestination.Size = new System.Drawing.Size(138, 24); + this.lDestination.TabIndex = 1; + this.lDestination.Text = "Target device"; + // + // cbCommandDestination + // + this.cbCommandDestination.FormattingEnabled = true; + this.cbCommandDestination.Items.AddRange(new object[] { + "0: TV", + "1: Recorder 1", + "2: Recorder 2", + "3: Tuner 1", + "4: Playback 1", + "5: Audio system", + "6: Tuner 2", + "7: Tuner 3", + "8: Playback 2", + "9: Recorder 3", + "A: Tuner 4", + "B: Playback 3", + "C: Reserved 1", + "D: Reserved 2", + "E: Free use", + "F: Broadcast"}); + this.cbCommandDestination.Location = new System.Drawing.Point(437, 30); + this.cbCommandDestination.Name = "cbCommandDestination"; + this.cbCommandDestination.Size = new System.Drawing.Size(121, 21); + this.cbCommandDestination.TabIndex = 0; + this.cbCommandDestination.Text = "0: TV"; + this.cbCommandDestination.SelectedIndexChanged += new System.EventHandler(this.cbCommandDestination_SelectedIndexChanged); + // // LogOutput // this.LogOutput.Controls.Add(this.bSaveLog); @@ -465,18 +621,50 @@ this.lStatus.TabIndex = 2; this.lStatus.Text = "Initialising..."; // - // cecButtonConfigBindingSource - // - this.cecButtonConfigBindingSource.DataSource = typeof(CecConfigGui.CecButtonConfig); - // - // CecButtonName - // - this.CecButtonName.DataPropertyName = "CecButtonName"; - this.CecButtonName.FillWeight = 260F; - this.CecButtonName.HeaderText = "Button"; - this.CecButtonName.Name = "CecButtonName"; - this.CecButtonName.ReadOnly = true; - this.CecButtonName.Width = 260; + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); + this.label1.Location = new System.Drawing.Point(118, 252); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(354, 31); + this.label1.TabIndex = 1; + this.label1.Text = "NOT IMPLEMENTED YET"; + // + // cbWakeDevices + // + this.cbWakeDevices.FormattingEnabled = true; + this.cbWakeDevices.Items.AddRange(new object[] { + "0: TV", + "1: Recorder 1", + "2: Recorder 2", + "3: Tuner 1", + "4: Playback 1", + "5: Audio system", + "6: Tuner 2", + "7: Tuner 3", + "8: Playback 2", + "9: Recorder 3", + "A: Tuner 4", + "B: Playback 3", + "C: Reserved 1", + "D: Reserved 2", + "E: Free use", + "F: Broadcast"}); + this.cbWakeDevices.Location = new System.Drawing.Point(333, 218); + this.cbWakeDevices.Name = "cbWakeDevices"; + this.cbWakeDevices.Size = new System.Drawing.Size(118, 94); + this.cbWakeDevices.TabIndex = 23; + // + // lWakeDevices + // + this.lWakeDevices.AutoSize = true; + this.lWakeDevices.Location = new System.Drawing.Point(339, 201); + this.lWakeDevices.Name = "lWakeDevices"; + this.lWakeDevices.Size = new System.Drawing.Size(102, 13); + this.lWakeDevices.TabIndex = 24; + this.lWakeDevices.Text = "Wake when starting"; // // playerButtonDataGridViewTextBoxColumn // @@ -486,6 +674,10 @@ this.playerButtonDataGridViewTextBoxColumn.Name = "playerButtonDataGridViewTextBoxColumn"; this.playerButtonDataGridViewTextBoxColumn.Width = 260; // + // cecButtonConfigBindingSource + // + this.cecButtonConfigBindingSource.DataSource = typeof(CecConfigGui.CecButtonConfig); + // // CecConfigGUI // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -500,7 +692,10 @@ this.Configuration.ResumeLayout(false); this.Configuration.PerformLayout(); this.tbButtons.ResumeLayout(false); + this.tbButtons.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgButtons)).EndInit(); + this.tbTestCommands.ResumeLayout(false); + this.tbTestCommands.PerformLayout(); this.LogOutput.ResumeLayout(false); this.LogOutput.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.cecButtonConfigBindingSource)).EndInit(); @@ -551,5 +746,18 @@ private System.Windows.Forms.BindingSource cecButtonConfigBindingSource; private System.Windows.Forms.DataGridViewTextBoxColumn CecButtonName; private System.Windows.Forms.DataGridViewTextBoxColumn playerButtonDataGridViewTextBoxColumn; + private System.Windows.Forms.TabPage tbTestCommands; + private System.Windows.Forms.ComboBox cbCommandDestination; + private System.Windows.Forms.Button bStandby; + private System.Windows.Forms.Button bSendImageViewOn; + private System.Windows.Forms.Label lDestination; + private System.Windows.Forms.Button bActivateSource; + private System.Windows.Forms.Button bScan; + private System.Windows.Forms.Button bMute; + private System.Windows.Forms.Button bVolDown; + private System.Windows.Forms.Button bVolUp; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label lWakeDevices; + private System.Windows.Forms.CheckedListBox cbWakeDevices; } } \ No newline at end of file