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.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();
this.cbDeviceType = new System.Windows.Forms.ComboBox();
this.bClose = 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.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.lConnectedPhysicalAddress = new System.Windows.Forms.Label();
- this.lAdapterConfig = new System.Windows.Forms.Label();
+ this.cbSendInactiveSource = new System.Windows.Forms.CheckBox();
this.tabControl1.SuspendLayout();
this.Configuration.SuspendLayout();
this.tbButtons.SuspendLayout();
//
// 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.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);
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.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;
//
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;
//
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;
//
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;
//
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;
this.lPlayerConfig.Text = "Player Configuration";
//
+ // lAdapterConfig
+ //
+ this.lAdapterConfig.AutoSize = true;
+ this.lAdapterConfig.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.lAdapterConfig.Location = new System.Drawing.Point(6, 3);
+ this.lAdapterConfig.Name = "lAdapterConfig";
+ this.lAdapterConfig.Size = new System.Drawing.Size(213, 24);
+ this.lAdapterConfig.TabIndex = 15;
+ this.lAdapterConfig.Text = "Adapter Configuration";
+ //
// cbDeviceType
//
this.cbDeviceType.Enabled = false;
this.helpPortNumber.SetToolTip(this.cbPortNumber, "The HDMI port number, to which you connected your USB-CEC adapter.");
this.cbPortNumber.SelectedIndexChanged += new System.EventHandler(this.connectedDevice_SelectedIndexChanged);
//
+ // lConnectedPhysicalAddress
+ //
+ this.lConnectedPhysicalAddress.AutoSize = true;
+ 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;
+ this.lConnectedPhysicalAddress.Text = "Address: 0000";
+ //
// tbPhysicalAddress
//
this.tbPhysicalAddress.Enabled = false;
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;
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";
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);
this.lStatus.TabIndex = 2;
this.lStatus.Text = "Initialising...";
//
- // lConnectedPhysicalAddress
+ // cbSendInactiveSource
//
- this.lConnectedPhysicalAddress.AutoSize = true;
- 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;
- this.lConnectedPhysicalAddress.Text = "Address: 0000";
- //
- // lAdapterConfig
- //
- this.lAdapterConfig.AutoSize = true;
- this.lAdapterConfig.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.lAdapterConfig.Location = new System.Drawing.Point(6, 3);
- this.lAdapterConfig.Name = "lAdapterConfig";
- this.lAdapterConfig.Size = new System.Drawing.Size(213, 24);
- this.lAdapterConfig.TabIndex = 15;
- this.lAdapterConfig.Text = "Adapter Configuration";
+ 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
//
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.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