X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcec-config-gui%2FCecConfigGUI.Designer.cs;h=417aec229f63df1f4532dd6980731ac9360ef09c;hb=217b236882e3f4e5303a135aae39f6207bfbd279;hp=a5cda7e803462da72cf8cec56c172b1554b85fa5;hpb=de90f347e13651ab1463bb2df4b19ff5ae46e3b0;p=deb_libcec.git
diff --git a/src/cec-config-gui/CecConfigGUI.Designer.cs b/src/cec-config-gui/CecConfigGUI.Designer.cs
index a5cda7e..417aec2 100644
--- a/src/cec-config-gui/CecConfigGUI.Designer.cs
+++ b/src/cec-config-gui/CecConfigGUI.Designer.cs
@@ -7,19 +7,6 @@
///
private System.ComponentModel.IContainer components = null;
- ///
- /// 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))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
#region Windows Form Designer generated code
///
@@ -29,8 +16,11 @@
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.cbOverrideAddress = new System.Windows.Forms.CheckBox();
+ this.bReloadConfig = new System.Windows.Forms.Button();
this.cbVendorOverride = new System.Windows.Forms.CheckBox();
this.cbVendorId = new System.Windows.Forms.ComboBox();
this.lPowerOff = new System.Windows.Forms.Label();
@@ -45,22 +35,21 @@
this.lAdapterConfig = new System.Windows.Forms.Label();
this.cbDeviceType = new System.Windows.Forms.ComboBox();
this.bClose = new System.Windows.Forms.Button();
- this.bSave = new System.Windows.Forms.Button();
+ this.bSaveConfig = new System.Windows.Forms.Button();
this.cbPortNumber = new System.Windows.Forms.ComboBox();
this.lConnectedPhysicalAddress = new System.Windows.Forms.Label();
this.tbPhysicalAddress = new System.Windows.Forms.TextBox();
this.cbConnectedDevice = new System.Windows.Forms.ComboBox();
this.lDeviceType = new System.Windows.Forms.Label();
- this.lPhysicalAddress = new System.Windows.Forms.Label();
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.bRescanDevices = new System.Windows.Forms.Button();
this.bMute = new System.Windows.Forms.Button();
this.bVolDown = new System.Windows.Forms.Button();
this.bVolUp = new System.Windows.Forms.Button();
@@ -85,6 +74,7 @@
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.cbSendInactiveSource = new System.Windows.Forms.CheckBox();
this.tabControl1.SuspendLayout();
this.Configuration.SuspendLayout();
this.tbButtons.SuspendLayout();
@@ -105,9 +95,13 @@
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(600, 385);
this.tabControl1.TabIndex = 0;
+ this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
//
// Configuration
//
+ this.Configuration.Controls.Add(this.cbSendInactiveSource);
+ this.Configuration.Controls.Add(this.cbOverrideAddress);
+ this.Configuration.Controls.Add(this.bReloadConfig);
this.Configuration.Controls.Add(this.cbVendorOverride);
this.Configuration.Controls.Add(this.cbVendorId);
this.Configuration.Controls.Add(this.lPowerOff);
@@ -122,13 +116,12 @@
this.Configuration.Controls.Add(this.lAdapterConfig);
this.Configuration.Controls.Add(this.cbDeviceType);
this.Configuration.Controls.Add(this.bClose);
- this.Configuration.Controls.Add(this.bSave);
+ this.Configuration.Controls.Add(this.bSaveConfig);
this.Configuration.Controls.Add(this.cbPortNumber);
this.Configuration.Controls.Add(this.lConnectedPhysicalAddress);
this.Configuration.Controls.Add(this.tbPhysicalAddress);
this.Configuration.Controls.Add(this.cbConnectedDevice);
this.Configuration.Controls.Add(this.lDeviceType);
- this.Configuration.Controls.Add(this.lPhysicalAddress);
this.Configuration.Controls.Add(this.lConnectedDevice);
this.Configuration.Controls.Add(this.lPortNumber);
this.Configuration.Location = new System.Drawing.Point(4, 22);
@@ -139,9 +132,33 @@
this.Configuration.Text = "Configuration";
this.Configuration.UseVisualStyleBackColor = true;
//
+ // cbOverrideAddress
+ //
+ this.cbOverrideAddress.AutoSize = true;
+ this.cbOverrideAddress.Enabled = false;
+ this.cbOverrideAddress.Location = new System.Drawing.Point(10, 97);
+ this.cbOverrideAddress.Name = "cbOverrideAddress";
+ this.cbOverrideAddress.Size = new System.Drawing.Size(147, 17);
+ this.cbOverrideAddress.TabIndex = 31;
+ this.cbOverrideAddress.Text = "Override physical address";
+ this.cbOverrideAddress.UseVisualStyleBackColor = true;
+ this.cbOverrideAddress.CheckedChanged += new System.EventHandler(this.cbOverrideAddress_CheckedChanged);
+ //
+ // bReloadConfig
+ //
+ this.bReloadConfig.Enabled = false;
+ this.bReloadConfig.Location = new System.Drawing.Point(358, 330);
+ this.bReloadConfig.Name = "bReloadConfig";
+ this.bReloadConfig.Size = new System.Drawing.Size(125, 23);
+ this.bReloadConfig.TabIndex = 30;
+ this.bReloadConfig.Text = "Reload configuration";
+ this.bReloadConfig.UseVisualStyleBackColor = true;
+ this.bReloadConfig.Click += new System.EventHandler(this.bReloadConfig_Click);
+ //
// cbVendorOverride
//
this.cbVendorOverride.AutoSize = true;
+ this.cbVendorOverride.Enabled = false;
this.cbVendorOverride.Location = new System.Drawing.Point(10, 156);
this.cbVendorOverride.Name = "cbVendorOverride";
this.cbVendorOverride.Size = new System.Drawing.Size(130, 17);
@@ -166,7 +183,7 @@
"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.Size = new System.Drawing.Size(157, 21);
this.cbVendorId.TabIndex = 28;
this.cbVendorId.Text = "- autodetect -";
this.helpDeviceType.SetToolTip(this.cbVendorId, "Only set this value when autodetection isn\'t working");
@@ -182,6 +199,7 @@
//
// cbPowerOffDevices
//
+ this.cbPowerOffDevices.Enabled = false;
this.cbPowerOffDevices.FormattingEnabled = true;
this.cbPowerOffDevices.Items.AddRange(new object[] {
"0: TV",
@@ -216,6 +234,7 @@
//
// cbWakeDevices
//
+ this.cbWakeDevices.Enabled = false;
this.cbWakeDevices.FormattingEnabled = true;
this.cbWakeDevices.Items.AddRange(new object[] {
"0: TV",
@@ -243,7 +262,7 @@
//
this.cbPowerOffOnStandby.AutoSize = true;
this.cbPowerOffOnStandby.Enabled = false;
- this.cbPowerOffOnStandby.Location = new System.Drawing.Point(10, 297);
+ this.cbPowerOffOnStandby.Location = new System.Drawing.Point(9, 278);
this.cbPowerOffOnStandby.Name = "cbPowerOffOnStandby";
this.cbPowerOffOnStandby.Size = new System.Drawing.Size(292, 17);
this.cbPowerOffOnStandby.TabIndex = 22;
@@ -254,7 +273,7 @@
//
this.cbPowerOffScreensaver.AutoSize = true;
this.cbPowerOffScreensaver.Enabled = false;
- this.cbPowerOffScreensaver.Location = new System.Drawing.Point(10, 273);
+ this.cbPowerOffScreensaver.Location = new System.Drawing.Point(9, 255);
this.cbPowerOffScreensaver.Name = "cbPowerOffScreensaver";
this.cbPowerOffScreensaver.Size = new System.Drawing.Size(301, 17);
this.cbPowerOffScreensaver.TabIndex = 21;
@@ -265,7 +284,7 @@
//
this.cbActivateSource.AutoSize = true;
this.cbActivateSource.Enabled = false;
- this.cbActivateSource.Location = new System.Drawing.Point(10, 249);
+ this.cbActivateSource.Location = new System.Drawing.Point(9, 232);
this.cbActivateSource.Name = "cbActivateSource";
this.cbActivateSource.Size = new System.Drawing.Size(284, 17);
this.cbActivateSource.TabIndex = 19;
@@ -276,7 +295,7 @@
//
this.cbUseTVMenuLanguage.AutoSize = true;
this.cbUseTVMenuLanguage.Enabled = false;
- this.cbUseTVMenuLanguage.Location = new System.Drawing.Point(10, 225);
+ this.cbUseTVMenuLanguage.Location = new System.Drawing.Point(10, 209);
this.cbUseTVMenuLanguage.Name = "cbUseTVMenuLanguage";
this.cbUseTVMenuLanguage.Size = new System.Drawing.Size(168, 17);
this.cbUseTVMenuLanguage.TabIndex = 18;
@@ -287,7 +306,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, 188);
+ this.lPlayerConfig.Location = new System.Drawing.Point(6, 182);
this.lPlayerConfig.Name = "lPlayerConfig";
this.lPlayerConfig.Size = new System.Drawing.Size(198, 24);
this.lPlayerConfig.TabIndex = 16;
@@ -313,32 +332,33 @@
"Tuner"});
this.cbDeviceType.Location = new System.Drawing.Point(174, 123);
this.cbDeviceType.Name = "cbDeviceType";
- this.cbDeviceType.Size = new System.Drawing.Size(121, 21);
+ this.cbDeviceType.Size = new System.Drawing.Size(157, 21);
this.cbDeviceType.TabIndex = 14;
this.cbDeviceType.Text = "Recorder";
this.helpDeviceType.SetToolTip(this.cbDeviceType, "Set this to \'Player\' when your TV is having problems with \'Recorder\'");
+ this.cbDeviceType.SelectedIndexChanged += new System.EventHandler(this.cbDeviceType_SelectedIndexChanged);
//
// bClose
//
this.bClose.Enabled = false;
- this.bClose.Location = new System.Drawing.Point(189, 330);
+ this.bClose.Location = new System.Drawing.Point(96, 330);
this.bClose.Name = "bClose";
- this.bClose.Size = new System.Drawing.Size(75, 23);
+ this.bClose.Size = new System.Drawing.Size(125, 23);
this.bClose.TabIndex = 13;
this.bClose.Text = "Close";
this.bClose.UseVisualStyleBackColor = true;
this.bClose.Click += new System.EventHandler(this.bCancel_Click);
//
- // bSave
+ // bSaveConfig
//
- this.bSave.Enabled = false;
- this.bSave.Location = new System.Drawing.Point(298, 330);
- this.bSave.Name = "bSave";
- this.bSave.Size = new System.Drawing.Size(125, 23);
- this.bSave.TabIndex = 12;
- this.bSave.Text = "Save configuration";
- this.bSave.UseVisualStyleBackColor = true;
- this.bSave.Click += new System.EventHandler(this.bSave_Click);
+ this.bSaveConfig.Enabled = false;
+ this.bSaveConfig.Location = new System.Drawing.Point(227, 330);
+ this.bSaveConfig.Name = "bSaveConfig";
+ this.bSaveConfig.Size = new System.Drawing.Size(125, 23);
+ this.bSaveConfig.TabIndex = 12;
+ this.bSaveConfig.Text = "Save configuration";
+ this.bSaveConfig.UseVisualStyleBackColor = true;
+ this.bSaveConfig.Click += new System.EventHandler(this.bSave_Click);
//
// cbPortNumber
//
@@ -361,7 +381,7 @@
// lConnectedPhysicalAddress
//
this.lConnectedPhysicalAddress.AutoSize = true;
- this.lConnectedPhysicalAddress.Location = new System.Drawing.Point(310, 70);
+ this.lConnectedPhysicalAddress.Location = new System.Drawing.Point(340, 71);
this.lConnectedPhysicalAddress.Name = "lConnectedPhysicalAddress";
this.lConnectedPhysicalAddress.Size = new System.Drawing.Size(75, 13);
this.lConnectedPhysicalAddress.TabIndex = 10;
@@ -387,7 +407,7 @@
this.cbConnectedDevice.FormattingEnabled = true;
this.cbConnectedDevice.Location = new System.Drawing.Point(174, 67);
this.cbConnectedDevice.Name = "cbConnectedDevice";
- this.cbConnectedDevice.Size = new System.Drawing.Size(121, 21);
+ this.cbConnectedDevice.Size = new System.Drawing.Size(157, 21);
this.cbConnectedDevice.TabIndex = 5;
this.helpConnectedHDMIDevice.SetToolTip(this.cbConnectedDevice, "The HDMI device to which the USB-CEC adapter is connected");
this.cbConnectedDevice.SelectedIndexChanged += new System.EventHandler(this.connectedDevice_SelectedIndexChanged);
@@ -401,15 +421,6 @@
this.lDeviceType.TabIndex = 3;
this.lDeviceType.Text = "Device type";
//
- // lPhysicalAddress
- //
- this.lPhysicalAddress.AutoSize = true;
- this.lPhysicalAddress.Location = new System.Drawing.Point(6, 98);
- this.lPhysicalAddress.Name = "lPhysicalAddress";
- this.lPhysicalAddress.Size = new System.Drawing.Size(86, 13);
- this.lPhysicalAddress.TabIndex = 2;
- this.lPhysicalAddress.Text = "Physical address";
- //
// lConnectedDevice
//
this.lConnectedDevice.AutoSize = true;
@@ -460,8 +471,7 @@
this.dgButtons.AutoGenerateColumns = false;
this.dgButtons.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dgButtons.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.CecButtonName,
- this.playerButtonDataGridViewTextBoxColumn});
+ this.CecButtonName});
this.dgButtons.DataSource = this.cecButtonConfigBindingSource;
this.dgButtons.Location = new System.Drawing.Point(7, 7);
this.dgButtons.Name = "dgButtons";
@@ -479,20 +489,13 @@
this.CecButtonName.ReadOnly = true;
this.CecButtonName.Width = 260;
//
- // playerButtonDataGridViewTextBoxColumn
- //
- this.playerButtonDataGridViewTextBoxColumn.DataPropertyName = "PlayerButton";
- this.playerButtonDataGridViewTextBoxColumn.FillWeight = 260F;
- this.playerButtonDataGridViewTextBoxColumn.HeaderText = "Mapped to";
- this.playerButtonDataGridViewTextBoxColumn.Name = "playerButtonDataGridViewTextBoxColumn";
- this.playerButtonDataGridViewTextBoxColumn.Width = 260;
- //
// cecButtonConfigBindingSource
//
this.cecButtonConfigBindingSource.DataSource = typeof(CecConfigGui.CecButtonConfig);
//
// tbTestCommands
//
+ this.tbTestCommands.Controls.Add(this.bRescanDevices);
this.tbTestCommands.Controls.Add(this.bMute);
this.tbTestCommands.Controls.Add(this.bVolDown);
this.tbTestCommands.Controls.Add(this.bVolUp);
@@ -510,6 +513,17 @@
this.tbTestCommands.Text = "CEC tester";
this.tbTestCommands.UseVisualStyleBackColor = true;
//
+ // bRescanDevices
+ //
+ this.bRescanDevices.Enabled = false;
+ this.bRescanDevices.Location = new System.Drawing.Point(424, 65);
+ this.bRescanDevices.Name = "bRescanDevices";
+ this.bRescanDevices.Size = new System.Drawing.Size(150, 23);
+ this.bRescanDevices.TabIndex = 9;
+ this.bRescanDevices.Text = "Re-scan devices";
+ this.bRescanDevices.UseVisualStyleBackColor = true;
+ this.bRescanDevices.Click += new System.EventHandler(this.bRescanDevices_Click);
+ //
// bMute
//
this.bMute.Enabled = false;
@@ -545,6 +559,7 @@
//
// bActivateSource
//
+ this.bActivateSource.Enabled = false;
this.bActivateSource.Location = new System.Drawing.Point(8, 65);
this.bActivateSource.Name = "bActivateSource";
this.bActivateSource.Size = new System.Drawing.Size(150, 23);
@@ -555,6 +570,7 @@
//
// bScan
//
+ this.bScan.Enabled = false;
this.bScan.Location = new System.Drawing.Point(8, 94);
this.bScan.Name = "bScan";
this.bScan.Size = new System.Drawing.Size(150, 23);
@@ -565,6 +581,7 @@
//
// bStandby
//
+ this.bStandby.Enabled = false;
this.bStandby.Location = new System.Drawing.Point(8, 36);
this.bStandby.Name = "bStandby";
this.bStandby.Size = new System.Drawing.Size(150, 23);
@@ -575,6 +592,7 @@
//
// bSendImageViewOn
//
+ this.bSendImageViewOn.Enabled = false;
this.bSendImageViewOn.Location = new System.Drawing.Point(8, 7);
this.bSendImageViewOn.Name = "bSendImageViewOn";
this.bSendImageViewOn.Size = new System.Drawing.Size(150, 23);
@@ -598,20 +616,6 @@
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";
@@ -661,6 +665,8 @@
// cbLogDebug
//
this.cbLogDebug.AutoSize = true;
+ this.cbLogDebug.Checked = true;
+ this.cbLogDebug.CheckState = System.Windows.Forms.CheckState.Checked;
this.cbLogDebug.Location = new System.Drawing.Point(269, 336);
this.cbLogDebug.Name = "cbLogDebug";
this.cbLogDebug.Size = new System.Drawing.Size(58, 17);
@@ -671,6 +677,8 @@
// cbLogTraffic
//
this.cbLogTraffic.AutoSize = true;
+ this.cbLogTraffic.Checked = true;
+ this.cbLogTraffic.CheckState = System.Windows.Forms.CheckState.Checked;
this.cbLogTraffic.Location = new System.Drawing.Point(207, 336);
this.cbLogTraffic.Name = "cbLogTraffic";
this.cbLogTraffic.Size = new System.Drawing.Size(56, 17);
@@ -739,6 +747,17 @@
this.lStatus.TabIndex = 2;
this.lStatus.Text = "Initialising...";
//
+ // cbSendInactiveSource
+ //
+ this.cbSendInactiveSource.AutoSize = true;
+ this.cbSendInactiveSource.Enabled = false;
+ this.cbSendInactiveSource.Location = new System.Drawing.Point(9, 301);
+ this.cbSendInactiveSource.Name = "cbSendInactiveSource";
+ this.cbSendInactiveSource.Size = new System.Drawing.Size(261, 17);
+ this.cbSendInactiveSource.TabIndex = 32;
+ this.cbSendInactiveSource.Text = "Send \'inactive source\' when shutting down XBMC";
+ this.cbSendInactiveSource.UseVisualStyleBackColor = true;
+ //
// CecConfigGUI
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -747,6 +766,9 @@
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);
@@ -772,19 +794,16 @@
private System.Windows.Forms.TabPage LogOutput;
private System.Windows.Forms.Label lPortNumber;
private System.Windows.Forms.Label lDeviceType;
- private System.Windows.Forms.Label lPhysicalAddress;
private System.Windows.Forms.Label lConnectedDevice;
private System.Windows.Forms.ComboBox cbConnectedDevice;
private System.Windows.Forms.TextBox tbPhysicalAddress;
private System.Windows.Forms.ProgressBar pProgress;
private System.Windows.Forms.Label lStatus;
- private System.Windows.Forms.Label lConnectedPhysicalAddress;
private System.Windows.Forms.TextBox tbLog;
private System.Windows.Forms.ComboBox cbPortNumber;
private System.Windows.Forms.Button bClose;
- private System.Windows.Forms.Button bSave;
+ private System.Windows.Forms.Button bSaveConfig;
private System.Windows.Forms.ComboBox cbDeviceType;
- private System.Windows.Forms.Label lAdapterConfig;
private System.Windows.Forms.CheckBox cbPowerOffOnStandby;
private System.Windows.Forms.CheckBox cbPowerOffScreensaver;
private System.Windows.Forms.CheckBox cbActivateSource;
@@ -823,5 +842,11 @@
private System.Windows.Forms.CheckedListBox cbPowerOffDevices;
private System.Windows.Forms.CheckBox cbVendorOverride;
private System.Windows.Forms.ComboBox cbVendorId;
+ private System.Windows.Forms.Button bReloadConfig;
+ private System.Windows.Forms.Button bRescanDevices;
+ private System.Windows.Forms.Label lConnectedPhysicalAddress;
+ private System.Windows.Forms.Label lAdapterConfig;
+ private System.Windows.Forms.CheckBox cbOverrideAddress;
+ private System.Windows.Forms.CheckBox cbSendInactiveSource;
}
}
\ No newline at end of file