# HG changeset patch
# User StephaneLenclud
# Date 1443282951 -7200
# Node ID 2568261f74fb0a6e59a14101f14b10d7e8812bb2
# Parent d2295c186ce16e285f910bdd499f718433b00bad
Adding CEC settings tab.
diff -r d2295c186ce1 -r 2568261f74fb Server/App.config
--- a/Server/App.config Sat Sep 26 16:35:27 2015 +0200
+++ b/Server/App.config Sat Sep 26 17:55:51 2015 +0200
@@ -31,6 +31,18 @@
None
+
+ False
+
+
+ 1
+
+
+ True
+
+
+ True
+
diff -r d2295c186ce1 -r 2568261f74fb Server/ConsumerElectronicControl.cs
--- a/Server/ConsumerElectronicControl.cs Sat Sep 26 16:35:27 2015 +0200
+++ b/Server/ConsumerElectronicControl.cs Sat Sep 26 17:55:51 2015 +0200
@@ -22,12 +22,22 @@
///
///
///
- public void Start(IntPtr aWndHandle, string aDeviceName, byte aHdmiPort)
+ public void Start(IntPtr aWndHandle, string aDeviceName, byte aHdmiPort, bool aMonitorOn, bool aMonitorOff)
{
//Create our power setting notifier and register the event we are insterrested in
iPowerSettingNotifier = new PowerManager.SettingNotifier(aWndHandle);
- iPowerSettingNotifier.OnMonitorPowerOn += OnMonitorPowerOn;
- iPowerSettingNotifier.OnMonitorPowerOff += OnMonitorPowerOff;
+
+ //
+ if (aMonitorOn)
+ {
+ iPowerSettingNotifier.OnMonitorPowerOn += OnMonitorPowerOn;
+ }
+
+ //
+ if (aMonitorOff)
+ {
+ iPowerSettingNotifier.OnMonitorPowerOff += OnMonitorPowerOff;
+ }
//CEC
iCecClient = new Cec.Client(aDeviceName,aHdmiPort);
@@ -41,13 +51,19 @@
public void Stop()
{
//
- iPowerSettingNotifier.OnMonitorPowerOn -= OnMonitorPowerOn;
- iPowerSettingNotifier.OnMonitorPowerOff -= OnMonitorPowerOff;
- iPowerSettingNotifier = null;
+ if (iPowerSettingNotifier != null)
+ {
+ iPowerSettingNotifier.OnMonitorPowerOn -= OnMonitorPowerOn;
+ iPowerSettingNotifier.OnMonitorPowerOff -= OnMonitorPowerOff;
+ iPowerSettingNotifier = null;
+ }
//
- iCecClient.Close();
- iCecClient.Dispose();
- iCecClient = null;
+ if (iCecClient != null)
+ {
+ iCecClient.Close();
+ iCecClient.Dispose();
+ iCecClient = null;
+ }
}
diff -r d2295c186ce1 -r 2568261f74fb Server/MainForm.Designer.cs
--- a/Server/MainForm.Designer.cs Sat Sep 26 16:35:27 2015 +0200
+++ b/Server/MainForm.Designer.cs Sat Sep 26 17:55:51 2015 +0200
@@ -96,6 +96,12 @@
this.pictureBoxGreenStart = new System.Windows.Forms.PictureBox();
this.labelStartFileName = new System.Windows.Forms.Label();
this.buttonSelectFile = new System.Windows.Forms.Button();
+ this.tabPageCec = new System.Windows.Forms.TabPage();
+ this.checkBoxCecMonitorOn = new System.Windows.Forms.CheckBox();
+ this.checkBoxCecMonitorOff = new System.Windows.Forms.CheckBox();
+ this.checkBoxCecEnabled = new System.Windows.Forms.CheckBox();
+ this.labelHdmiPort = new System.Windows.Forms.Label();
+ this.comboBoxHdmiPort = new System.Windows.Forms.ComboBox();
this.tabPageApp = new System.Windows.Forms.TabPage();
this.checkBoxStartMinimized = new System.Windows.Forms.CheckBox();
this.checkBoxMinimizeToTray = new System.Windows.Forms.CheckBox();
@@ -105,7 +111,6 @@
this.labelFontHeight = new System.Windows.Forms.Label();
this.toolTip = new System.Windows.Forms.ToolTip(this.components);
this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
- this.pictureBoxDemo = new System.Windows.Forms.PictureBox();
this.panelDisplay.SuspendLayout();
this.tableLayoutPanel.SuspendLayout();
this.statusStrip.SuspendLayout();
@@ -118,8 +123,8 @@
((System.ComponentModel.ISupportInitialize)(this.trackBarMasterVolume)).BeginInit();
this.tabPageInput.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxGreenStart)).BeginInit();
+ this.tabPageCec.SuspendLayout();
this.tabPageApp.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBoxDemo)).BeginInit();
this.SuspendLayout();
//
// panelDisplay
@@ -521,6 +526,7 @@
this.tabControl.Controls.Add(this.tabPageDesign);
this.tabControl.Controls.Add(this.tabPageAudio);
this.tabControl.Controls.Add(this.tabPageInput);
+ this.tabControl.Controls.Add(this.tabPageCec);
this.tabControl.Controls.Add(this.tabPageApp);
this.tabControl.Location = new System.Drawing.Point(12, 139);
this.tabControl.Name = "tabControl";
@@ -766,6 +772,86 @@
this.buttonSelectFile.UseVisualStyleBackColor = true;
this.buttonSelectFile.Click += new System.EventHandler(this.buttonSelectFile_Click);
//
+ // tabPageCec
+ //
+ this.tabPageCec.Controls.Add(this.checkBoxCecMonitorOn);
+ this.tabPageCec.Controls.Add(this.checkBoxCecMonitorOff);
+ this.tabPageCec.Controls.Add(this.checkBoxCecEnabled);
+ this.tabPageCec.Controls.Add(this.labelHdmiPort);
+ this.tabPageCec.Controls.Add(this.comboBoxHdmiPort);
+ this.tabPageCec.Location = new System.Drawing.Point(4, 22);
+ this.tabPageCec.Name = "tabPageCec";
+ this.tabPageCec.Padding = new System.Windows.Forms.Padding(3);
+ this.tabPageCec.Size = new System.Drawing.Size(592, 242);
+ this.tabPageCec.TabIndex = 7;
+ this.tabPageCec.Text = "CEC";
+ this.tabPageCec.UseVisualStyleBackColor = true;
+ //
+ // checkBoxCecMonitorOn
+ //
+ this.checkBoxCecMonitorOn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.checkBoxCecMonitorOn.AutoSize = true;
+ this.checkBoxCecMonitorOn.Location = new System.Drawing.Point(6, 92);
+ this.checkBoxCecMonitorOn.Name = "checkBoxCecMonitorOn";
+ this.checkBoxCecMonitorOn.Size = new System.Drawing.Size(192, 17);
+ this.checkBoxCecMonitorOn.TabIndex = 23;
+ this.checkBoxCecMonitorOn.Text = "Wake up TV when screen turns on";
+ this.checkBoxCecMonitorOn.UseVisualStyleBackColor = true;
+ this.checkBoxCecMonitorOn.CheckedChanged += new System.EventHandler(this.checkBoxCecMonitorOn_CheckedChanged);
+ //
+ // checkBoxCecMonitorOff
+ //
+ this.checkBoxCecMonitorOff.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.checkBoxCecMonitorOff.AutoSize = true;
+ this.checkBoxCecMonitorOff.Location = new System.Drawing.Point(6, 69);
+ this.checkBoxCecMonitorOff.Name = "checkBoxCecMonitorOff";
+ this.checkBoxCecMonitorOff.Size = new System.Drawing.Size(219, 17);
+ this.checkBoxCecMonitorOff.TabIndex = 22;
+ this.checkBoxCecMonitorOff.Text = "Set TV on standby when screen turns off";
+ this.checkBoxCecMonitorOff.UseVisualStyleBackColor = true;
+ this.checkBoxCecMonitorOff.CheckedChanged += new System.EventHandler(this.checkBoxCecMonitorOff_CheckedChanged);
+ //
+ // checkBoxCecEnabled
+ //
+ this.checkBoxCecEnabled.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.checkBoxCecEnabled.AutoSize = true;
+ this.checkBoxCecEnabled.Location = new System.Drawing.Point(6, 6);
+ this.checkBoxCecEnabled.Name = "checkBoxCecEnabled";
+ this.checkBoxCecEnabled.Size = new System.Drawing.Size(83, 17);
+ this.checkBoxCecEnabled.TabIndex = 21;
+ this.checkBoxCecEnabled.Text = "Enable CEC";
+ this.checkBoxCecEnabled.UseVisualStyleBackColor = true;
+ this.checkBoxCecEnabled.CheckedChanged += new System.EventHandler(this.checkBoxCecEnabled_CheckedChanged);
+ //
+ // labelHdmiPort
+ //
+ this.labelHdmiPort.AutoSize = true;
+ this.labelHdmiPort.Location = new System.Drawing.Point(3, 26);
+ this.labelHdmiPort.Name = "labelHdmiPort";
+ this.labelHdmiPort.Size = new System.Drawing.Size(182, 13);
+ this.labelHdmiPort.TabIndex = 20;
+ this.labelHdmiPort.Text = "TV HDMI port connected to your PC:";
+ //
+ // comboBoxHdmiPort
+ //
+ this.comboBoxHdmiPort.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.comboBoxHdmiPort.FormattingEnabled = true;
+ this.comboBoxHdmiPort.Items.AddRange(new object[] {
+ "HDMI 1",
+ "HDMI 2",
+ "HDMI 3",
+ "HDMI 4",
+ "HDMI 5",
+ "HDMI 6",
+ "HDMI 7",
+ "HDMI 8",
+ "HDMI 9"});
+ this.comboBoxHdmiPort.Location = new System.Drawing.Point(6, 42);
+ this.comboBoxHdmiPort.Name = "comboBoxHdmiPort";
+ this.comboBoxHdmiPort.Size = new System.Drawing.Size(87, 21);
+ this.comboBoxHdmiPort.TabIndex = 19;
+ this.comboBoxHdmiPort.SelectedIndexChanged += new System.EventHandler(this.comboBoxHdmiPort_SelectedIndexChanged);
+ //
// tabPageApp
//
this.tabPageApp.Controls.Add(this.checkBoxStartMinimized);
@@ -848,20 +934,11 @@
//
this.openFileDialog.Filter = "EXE files (*.exe)|*.exe|All files (*.*)|*.*";
//
- // pictureBoxDemo
- //
- this.pictureBoxDemo.Location = new System.Drawing.Point(478, 54);
- this.pictureBoxDemo.Name = "pictureBoxDemo";
- this.pictureBoxDemo.Size = new System.Drawing.Size(100, 50);
- this.pictureBoxDemo.TabIndex = 21;
- this.pictureBoxDemo.TabStop = false;
- //
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(624, 442);
- this.Controls.Add(this.pictureBoxDemo);
this.Controls.Add(this.labelFontHeight);
this.Controls.Add(this.labelFontWidth);
this.Controls.Add(this.labelWarning);
@@ -894,9 +971,10 @@
this.tabPageInput.ResumeLayout(false);
this.tabPageInput.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxGreenStart)).EndInit();
+ this.tabPageCec.ResumeLayout(false);
+ this.tabPageCec.PerformLayout();
this.tabPageApp.ResumeLayout(false);
this.tabPageApp.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBoxDemo)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -945,7 +1023,6 @@
private System.Windows.Forms.Label labelFontWidth;
private System.Windows.Forms.Label labelFontHeight;
private System.Windows.Forms.CheckBox checkBoxInverseColors;
- private System.Windows.Forms.PictureBox pictureBoxDemo;
private System.Windows.Forms.TabPage tabPageApp;
private System.Windows.Forms.Button buttonUpdate;
private System.Windows.Forms.CheckBox checkBoxAutoStart;
@@ -971,6 +1048,12 @@
private System.Windows.Forms.PictureBox pictureBoxGreenStart;
private System.Windows.Forms.ComboBox comboBoxOpticalDrives;
private System.Windows.Forms.Label labelOpticalDriveEject;
+ private System.Windows.Forms.TabPage tabPageCec;
+ private System.Windows.Forms.CheckBox checkBoxCecEnabled;
+ private System.Windows.Forms.Label labelHdmiPort;
+ private System.Windows.Forms.ComboBox comboBoxHdmiPort;
+ private System.Windows.Forms.CheckBox checkBoxCecMonitorOn;
+ private System.Windows.Forms.CheckBox checkBoxCecMonitorOff;
}
}
diff -r d2295c186ce1 -r 2568261f74fb Server/MainForm.cs
--- a/Server/MainForm.cs Sat Sep 26 16:35:27 2015 +0200
+++ b/Server/MainForm.cs Sat Sep 26 17:55:51 2015 +0200
@@ -187,7 +187,8 @@
//CEC
iCecManager = new ConsumerElectronicControl();
OnWndProc += iCecManager.OnWndProc;
- iCecManager.Start(Handle,"CEC", 2);
+ ResetCec();
+
//Setup notification icon
SetupTrayIcon();
@@ -1095,8 +1096,13 @@
comboBoxOpticalDrives.SelectedIndex = 0;
}
+ //CEC settings
+ checkBoxCecEnabled.Checked = Properties.Settings.Default.CecEnabled;
+ checkBoxCecMonitorOn.Checked = Properties.Settings.Default.CecMonitorOn;
+ checkBoxCecMonitorOff.Checked = Properties.Settings.Default.CecMonitorOff;
+ comboBoxHdmiPort.SelectedIndex = Properties.Settings.Default.CecHdmiPort - 1;
-
+ //Mini Display settings
checkBoxReverseScreen.Checked = cds.ReverseScreen;
checkBoxInverseColors.Checked = cds.InverseColors;
checkBoxShowVolumeLabel.Checked = cds.ShowVolumeLabel;
@@ -2218,5 +2224,62 @@
base.WndProc(ref aMessage);
}
+
+ private void checkBoxCecEnabled_CheckedChanged(object sender, EventArgs e)
+ {
+ //Save CEC enabled status
+ Properties.Settings.Default.CecEnabled = checkBoxCecEnabled.Checked;
+ Properties.Settings.Default.Save();
+ //
+ ResetCec();
+ }
+
+ private void comboBoxHdmiPort_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ //Save CEC HDMI port
+ Properties.Settings.Default.CecHdmiPort = Convert.ToByte(comboBoxHdmiPort.SelectedIndex);
+ Properties.Settings.Default.CecHdmiPort++;
+ Properties.Settings.Default.Save();
+ //
+ ResetCec();
+ }
+
+ private void checkBoxCecMonitorOff_CheckedChanged(object sender, EventArgs e)
+ {
+ Properties.Settings.Default.CecMonitorOff = checkBoxCecMonitorOff.Checked;
+ Properties.Settings.Default.Save();
+ //
+ ResetCec();
+ }
+
+ private void checkBoxCecMonitorOn_CheckedChanged(object sender, EventArgs e)
+ {
+ Properties.Settings.Default.CecMonitorOn = checkBoxCecMonitorOn.Checked;
+ Properties.Settings.Default.Save();
+ //
+ ResetCec();
+ }
+
+ ///
+ ///
+ ///
+ private void ResetCec()
+ {
+ if (iCecManager==null)
+ {
+ //Thus skipping initial UI setup
+ return;
+ }
+
+ iCecManager.Stop();
+ //
+ if (Properties.Settings.Default.CecEnabled)
+ {
+ iCecManager.Start(Handle, "CEC",
+ Properties.Settings.Default.CecHdmiPort,
+ Properties.Settings.Default.CecMonitorOn,
+ Properties.Settings.Default.CecMonitorOff);
+ }
+ }
}
}
diff -r d2295c186ce1 -r 2568261f74fb Server/MainForm.resx
--- a/Server/MainForm.resx Sat Sep 26 16:35:27 2015 +0200
+++ b/Server/MainForm.resx Sat Sep 26 17:55:51 2015 +0200
@@ -132,60 +132,62 @@
- iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAX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VEIFhVbsPTYdFZdnsva29HkVCnIv5bIzzVrCFkxCQ0TabfQ6vL+SvaBgVYCDQ1jqTRWrNSrdesp
+ uymuYLdCKBMn3MnHcZx/qaTyVSJVvyVxU3Dl+SJ+eRjFsV9DOSAMldwOouhOMLuE6cKaKLbeiqb4ZiIV
+ tetZXewrix9p110aKHTa/MWAXCGeth36StoiRWVxa+2pbtjGz9UpHLodwnGRhYoncVx7mcCt35Kp+T2F
+ u3+kUiO4LcqVTYmcf67k+KM4yn6NoORWGMfuLKHqYQGqHb7Ir/y/G0i2QuMTWatFA29NqLXvLWmLA+qA
+ Q6weV6sLuFW/iYoaJafvBnOubiGXH0VS+TSG60/juP4sjitPYql4GMHp2lB+qg7m1B0FN+5v4Ob9IvzS
+ TeU5PyT2vKWI3e6dzl8M/NmEQEsszPX97NuKFe3E3fpS6p+VcOtBDlfuJXJBpLmiJpBz1fOoqA7l0j0l
+ VfdXU/ekmNqGMtLyfRk0vT3q46VCEat/S+J/MfAh4mkj6NqmvWQgjOyUUzgj/htWF4Xxc+UW7j44yD+b
+ zjVzv+Eop0Xd5v0KXBZPELeddog+JR20JHMRQ13QvOJbosXKDxGPnA2N1p9IOl20pRj1CVJ5TzPpnrjN
+ vBTXOfl2K99sXom6X8W0neiiIyW07SSNEX16CeR0tmop7jtarGwJ8bQVdBL0EQwSfCEYIdAWfPm2TlPQ
+ WSC3/b/CbwiR/gNzbuWksIMBOAAAAABJRU5ErkJggg==
+
+ 315, 17
+
405, 17
diff -r d2295c186ce1 -r 2568261f74fb Server/Properties/Settings.Designer.cs
--- a/Server/Properties/Settings.Designer.cs Sat Sep 26 16:35:27 2015 +0200
+++ b/Server/Properties/Settings.Designer.cs Sat Sep 26 17:55:51 2015 +0200
@@ -117,5 +117,53 @@
this["OpticalDriveToEject"] = value;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("False")]
+ public bool CecEnabled {
+ get {
+ return ((bool)(this["CecEnabled"]));
+ }
+ set {
+ this["CecEnabled"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("1")]
+ public byte CecHdmiPort {
+ get {
+ return ((byte)(this["CecHdmiPort"]));
+ }
+ set {
+ this["CecHdmiPort"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("True")]
+ public bool CecMonitorOn {
+ get {
+ return ((bool)(this["CecMonitorOn"]));
+ }
+ set {
+ this["CecMonitorOn"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("True")]
+ public bool CecMonitorOff {
+ get {
+ return ((bool)(this["CecMonitorOff"]));
+ }
+ set {
+ this["CecMonitorOff"] = value;
+ }
+ }
}
}
diff -r d2295c186ce1 -r 2568261f74fb Server/Properties/Settings.settings
--- a/Server/Properties/Settings.settings Sat Sep 26 16:35:27 2015 +0200
+++ b/Server/Properties/Settings.settings Sat Sep 26 17:55:51 2015 +0200
@@ -26,5 +26,17 @@
None
+
+ False
+
+
+ 1
+
+
+ True
+
+
+ True
+
\ No newline at end of file