X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcec-config-gui%2FCecConfigGUI.Designer.cs;h=9b2267993c152b8cf7f9c9d2ecb711223a859bd4;hb=522f9a2091a08ebb744c09c654c795e563226353;hp=d3907535c49f5c0a6f575f8300f4bb079321ce23;hpb=96fa7764c1af5034afaba2646831df0a74419249;p=deb_libcec.git diff --git a/src/cec-config-gui/CecConfigGUI.Designer.cs b/src/cec-config-gui/CecConfigGUI.Designer.cs index d390753..9b22679 100644 --- a/src/cec-config-gui/CecConfigGUI.Designer.cs +++ b/src/cec-config-gui/CecConfigGUI.Designer.cs @@ -29,12 +29,18 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CecConfigGUI)); this.tabControl1 = new System.Windows.Forms.TabControl(); this.Configuration = new System.Windows.Forms.TabPage(); + this.cbVendorOverride = new System.Windows.Forms.CheckBox(); + this.cbVendorId = new System.Windows.Forms.ComboBox(); + this.lPowerOff = new System.Windows.Forms.Label(); + this.cbPowerOffDevices = new System.Windows.Forms.CheckedListBox(); + this.lWakeDevices = new System.Windows.Forms.Label(); + this.cbWakeDevices = new System.Windows.Forms.CheckedListBox(); this.cbPowerOffOnStandby = new System.Windows.Forms.CheckBox(); this.cbPowerOffScreensaver = new System.Windows.Forms.CheckBox(); - this.cbPowerOffShutdown = new System.Windows.Forms.CheckBox(); - this.cbPowerOnStartup = new System.Windows.Forms.CheckBox(); + this.cbActivateSource = new System.Windows.Forms.CheckBox(); this.cbUseTVMenuLanguage = new System.Windows.Forms.CheckBox(); this.lPlayerConfig = new System.Windows.Forms.Label(); this.lAdapterConfig = new System.Windows.Forms.Label(); @@ -50,11 +56,15 @@ this.lConnectedDevice = new System.Windows.Forms.Label(); this.lPortNumber = new System.Windows.Forms.Label(); this.tbButtons = new System.Windows.Forms.TabPage(); + this.label1 = new System.Windows.Forms.Label(); this.dgButtons = new System.Windows.Forms.DataGridView(); this.CecButtonName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.playerButtonDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.cecButtonConfigBindingSource = new System.Windows.Forms.BindingSource(this.components); 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(); @@ -99,10 +109,15 @@ // // Configuration // + this.Configuration.Controls.Add(this.cbVendorOverride); + this.Configuration.Controls.Add(this.cbVendorId); + this.Configuration.Controls.Add(this.lPowerOff); + this.Configuration.Controls.Add(this.cbPowerOffDevices); + 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); - this.Configuration.Controls.Add(this.cbPowerOnStartup); + this.Configuration.Controls.Add(this.cbActivateSource); this.Configuration.Controls.Add(this.cbUseTVMenuLanguage); this.Configuration.Controls.Add(this.lPlayerConfig); this.Configuration.Controls.Add(this.lAdapterConfig); @@ -125,6 +140,106 @@ this.Configuration.Text = "Configuration"; this.Configuration.UseVisualStyleBackColor = true; // + // cbVendorOverride + // + this.cbVendorOverride.AutoSize = true; + this.cbVendorOverride.Location = new System.Drawing.Point(10, 156); + this.cbVendorOverride.Name = "cbVendorOverride"; + this.cbVendorOverride.Size = new System.Drawing.Size(130, 17); + this.cbVendorOverride.TabIndex = 29; + this.cbVendorOverride.Text = "Override TV vendor id"; + this.cbVendorOverride.UseVisualStyleBackColor = true; + this.cbVendorOverride.CheckedChanged += new System.EventHandler(this.cbVendorOverride_CheckedChanged); + // + // cbVendorId + // + this.cbVendorId.Enabled = false; + this.cbVendorId.FormattingEnabled = true; + this.cbVendorId.Items.AddRange(new object[] { + "- autodetect -", + "LG", + "Onkyo", + "Panasonic", + "Philips", + "Pioneer", + "Samsung", + "Sony", + "Yamaha"}); + this.cbVendorId.Location = new System.Drawing.Point(174, 153); + this.cbVendorId.Name = "cbVendorId"; + this.cbVendorId.Size = new System.Drawing.Size(121, 21); + this.cbVendorId.TabIndex = 28; + this.cbVendorId.Text = "- autodetect -"; + this.helpDeviceType.SetToolTip(this.cbVendorId, "Only set this value when autodetection isn\'t working"); + // + // lPowerOff + // + this.lPowerOff.AutoSize = true; + this.lPowerOff.Location = new System.Drawing.Point(465, 203); + this.lPowerOff.Name = "lPowerOff"; + this.lPowerOff.Size = new System.Drawing.Size(124, 13); + this.lPowerOff.TabIndex = 26; + this.lPowerOff.Text = "Power off when stopping"; + // + // cbPowerOffDevices + // + this.cbPowerOffDevices.FormattingEnabled = true; + this.cbPowerOffDevices.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.cbPowerOffDevices.Location = new System.Drawing.Point(467, 220); + this.cbPowerOffDevices.Name = "cbPowerOffDevices"; + this.cbPowerOffDevices.Size = new System.Drawing.Size(118, 94); + this.cbPowerOffDevices.TabIndex = 25; + // + // lWakeDevices + // + this.lWakeDevices.AutoSize = true; + this.lWakeDevices.Location = new System.Drawing.Point(345, 203); + this.lWakeDevices.Name = "lWakeDevices"; + this.lWakeDevices.Size = new System.Drawing.Size(102, 13); + this.lWakeDevices.TabIndex = 24; + this.lWakeDevices.Text = "Wake when starting"; + // + // 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(337, 220); + this.cbWakeDevices.Name = "cbWakeDevices"; + this.cbWakeDevices.Size = new System.Drawing.Size(118, 94); + this.cbWakeDevices.TabIndex = 23; + // // cbPowerOffOnStandby // this.cbPowerOffOnStandby.AutoSize = true; @@ -147,33 +262,22 @@ this.cbPowerOffScreensaver.Text = "Put devices in standby mode when activating screensaver"; this.cbPowerOffScreensaver.UseVisualStyleBackColor = true; // - // cbPowerOffShutdown + // cbActivateSource // - this.cbPowerOffShutdown.AutoSize = true; - this.cbPowerOffShutdown.Enabled = false; - this.cbPowerOffShutdown.Location = new System.Drawing.Point(10, 249); - this.cbPowerOffShutdown.Name = "cbPowerOffShutdown"; - this.cbPowerOffShutdown.Size = new System.Drawing.Size(317, 17); - this.cbPowerOffShutdown.TabIndex = 20; - this.cbPowerOffShutdown.Text = "Power off devices when stopping the media player application"; - this.cbPowerOffShutdown.UseVisualStyleBackColor = true; - // - // cbPowerOnStartup - // - this.cbPowerOnStartup.AutoSize = true; - this.cbPowerOnStartup.Enabled = false; - this.cbPowerOnStartup.Location = new System.Drawing.Point(10, 225); - this.cbPowerOnStartup.Name = "cbPowerOnStartup"; - this.cbPowerOnStartup.Size = new System.Drawing.Size(306, 17); - this.cbPowerOnStartup.TabIndex = 19; - this.cbPowerOnStartup.Text = "Power on the TV when starting the media player application"; - this.cbPowerOnStartup.UseVisualStyleBackColor = true; + this.cbActivateSource.AutoSize = true; + this.cbActivateSource.Enabled = false; + this.cbActivateSource.Location = new System.Drawing.Point(10, 249); + this.cbActivateSource.Name = "cbActivateSource"; + this.cbActivateSource.Size = new System.Drawing.Size(284, 17); + this.cbActivateSource.TabIndex = 19; + this.cbActivateSource.Text = "Make the media player the active source when starting"; + this.cbActivateSource.UseVisualStyleBackColor = true; // // cbUseTVMenuLanguage // this.cbUseTVMenuLanguage.AutoSize = true; this.cbUseTVMenuLanguage.Enabled = false; - this.cbUseTVMenuLanguage.Location = new System.Drawing.Point(10, 201); + this.cbUseTVMenuLanguage.Location = new System.Drawing.Point(10, 225); this.cbUseTVMenuLanguage.Name = "cbUseTVMenuLanguage"; this.cbUseTVMenuLanguage.Size = new System.Drawing.Size(168, 17); this.cbUseTVMenuLanguage.TabIndex = 18; @@ -184,7 +288,7 @@ // this.lPlayerConfig.AutoSize = true; this.lPlayerConfig.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lPlayerConfig.Location = new System.Drawing.Point(6, 165); + this.lPlayerConfig.Location = new System.Drawing.Point(6, 188); this.lPlayerConfig.Name = "lPlayerConfig"; this.lPlayerConfig.Size = new System.Drawing.Size(198, 24); this.lPlayerConfig.TabIndex = 16; @@ -327,6 +431,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"; @@ -336,6 +441,17 @@ this.tbButtons.Text = "Button Configuration"; this.tbButtons.UseVisualStyleBackColor = true; // + // 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"; + // // dgButtons // this.dgButtons.AllowUserToAddRows = false; @@ -378,6 +494,9 @@ // // 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); @@ -392,19 +511,52 @@ 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(7, 90); + 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 = "Activate source"; + 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(7, 61); + 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; @@ -414,21 +566,21 @@ // // bStandby // - this.bStandby.Location = new System.Drawing.Point(7, 32); + 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 = "Standby"; + 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(7, 3); + 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 = "Image view on"; + this.bSendImageViewOn.Text = "Power on device"; this.bSendImageViewOn.UseVisualStyleBackColor = true; this.bSendImageViewOn.Click += new System.EventHandler(this.bSendImageViewOn_Click); // @@ -467,6 +619,7 @@ 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 // @@ -595,12 +748,16 @@ this.Controls.Add(this.lStatus); this.Controls.Add(this.pProgress); this.Controls.Add(this.tabControl1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.MaximizeBox = false; this.Name = "CecConfigGUI"; this.Text = "Pulse-Eight USB-CEC Adapter"; this.tabControl1.ResumeLayout(false); this.Configuration.ResumeLayout(false); this.Configuration.PerformLayout(); this.tbButtons.ResumeLayout(false); + this.tbButtons.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgButtons)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cecButtonConfigBindingSource)).EndInit(); this.tbTestCommands.ResumeLayout(false); @@ -634,8 +791,7 @@ private System.Windows.Forms.Label lAdapterConfig; private System.Windows.Forms.CheckBox cbPowerOffOnStandby; private System.Windows.Forms.CheckBox cbPowerOffScreensaver; - private System.Windows.Forms.CheckBox cbPowerOffShutdown; - private System.Windows.Forms.CheckBox cbPowerOnStartup; + private System.Windows.Forms.CheckBox cbActivateSource; private System.Windows.Forms.CheckBox cbUseTVMenuLanguage; private System.Windows.Forms.Label lPlayerConfig; private System.Windows.Forms.ToolTip helpPortNumber; @@ -661,5 +817,15 @@ 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; + private System.Windows.Forms.Label lPowerOff; + private System.Windows.Forms.CheckedListBox cbPowerOffDevices; + private System.Windows.Forms.CheckBox cbVendorOverride; + private System.Windows.Forms.ComboBox cbVendorId; } } \ No newline at end of file