From: <an...@us...> - 2007-12-04 00:45:10
|
Revision: 1119 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1119&view=rev Author: and-81 Date: 2007-12-03 16:45:02 -0800 (Mon, 03 Dec 2007) Log Message: ----------- Modified Paths: -------------- trunk/plugins/IR Server Suite/Common/IrssUtils/Common.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Display.cs trunk/plugins/IR Server Suite/Documentation/legal.html Added Paths: ----------- trunk/plugins/IR Server Suite/Applications/Web Remote/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/Applications/Web Remote/Properties/Resources.resx trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/DisplayModeCommand.Designer.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/DisplayModeCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/DisplayModeCommand.resx Property Changed: ---------------- trunk/plugins/IR Server Suite/Applications/Debug Client/ trunk/plugins/IR Server Suite/Applications/IR Blast/ trunk/plugins/IR Server Suite/Applications/IR Blast (No Window)/ trunk/plugins/IR Server Suite/Applications/IR File Tool/ trunk/plugins/IR Server Suite/Applications/IR Server/ trunk/plugins/IR Server Suite/Applications/SageSetup/ trunk/plugins/IR Server Suite/Applications/Translator/ trunk/plugins/IR Server Suite/Applications/Tray Launcher/ trunk/plugins/IR Server Suite/Applications/Virtual Remote/ trunk/plugins/IR Server Suite/Applications/Virtual Remote/Skins/ trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/ trunk/plugins/IR Server Suite/Applications/Web Remote/ trunk/plugins/IR Server Suite/Common/IrssComms/ trunk/plugins/IR Server Suite/Common/IrssUtils/ trunk/plugins/IR Server Suite/Documentation/ trunk/plugins/IR Server Suite/IR Server Plugins/Custom HID Receiver/ trunk/plugins/IR Server Suite/IR Server Plugins/FusionRemote Receiver/ trunk/plugins/IR Server Suite/IR Server Plugins/Girder Plugin/ trunk/plugins/IR Server Suite/IR Server Plugins/IR Server Plugin Interface/ trunk/plugins/IR Server Suite/IR Server Plugins/IRMan Receiver/ trunk/plugins/IR Server Suite/IR Server Plugins/IRTrans Transceiver/ trunk/plugins/IR Server Suite/IR Server Plugins/IgorPlug Receiver/ trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/ trunk/plugins/IR Server Suite/IR Server Plugins/RedEye Blaster/ trunk/plugins/IR Server Suite/IR Server Plugins/Serial IR Blaster/ trunk/plugins/IR Server Suite/IR Server Plugins/USB-UIRT Transceiver/ trunk/plugins/IR Server Suite/IR Server Plugins/WinLirc Transceiver/ trunk/plugins/IR Server Suite/IR Server Plugins/Windows Message Receiver/ trunk/plugins/IR Server Suite/IR Server Plugins/X10 Transceiver/ trunk/plugins/IR Server Suite/IR Server Plugins/XBCDRC Receiver/ trunk/plugins/IR Server Suite/Input Service/Input Service/ trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/ trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/ trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/ trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/ Property changes on: trunk/plugins/IR Server Suite/Applications/Debug Client ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/Applications/IR Blast ___________________________________________________________________ Name: svn:ignore + bin obj Property changes on: trunk/plugins/IR Server Suite/Applications/IR Blast (No Window) ___________________________________________________________________ Name: svn:ignore + bin obj Property changes on: trunk/plugins/IR Server Suite/Applications/IR File Tool ___________________________________________________________________ Name: svn:ignore + bin obj Property changes on: trunk/plugins/IR Server Suite/Applications/IR Server ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/Applications/SageSetup ___________________________________________________________________ Name: svn:ignore + bin obj Property changes on: trunk/plugins/IR Server Suite/Applications/Translator ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/Applications/Tray Launcher ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/Applications/Virtual Remote ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/Applications/Virtual Remote/Skins ___________________________________________________________________ Name: svn:ignore + Backup Property changes on: trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/Applications/Web Remote ___________________________________________________________________ Name: svn:ignore + bin obj Added: trunk/plugins/IR Server Suite/Applications/Web Remote/Properties/Resources.Designer.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Web Remote/Properties/Resources.Designer.cs (rev 0) +++ trunk/plugins/IR Server Suite/Applications/Web Remote/Properties/Resources.Designer.cs 2007-12-04 00:45:02 UTC (rev 1119) @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:2.0.50727.832 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace WebRemote.Properties { + using System; + + + /// <summary> + /// A strongly-typed resource class, for looking up localized strings, etc. + /// </summary> + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// <summary> + /// Returns the cached ResourceManager instance used by this class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WebRemote.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// <summary> + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + internal static System.Drawing.Icon Icon { + get { + object obj = ResourceManager.GetObject("Icon", resourceCulture); + return ((System.Drawing.Icon)(obj)); + } + } + } +} Added: trunk/plugins/IR Server Suite/Applications/Web Remote/Properties/Resources.resx =================================================================== --- trunk/plugins/IR Server Suite/Applications/Web Remote/Properties/Resources.resx (rev 0) +++ trunk/plugins/IR Server Suite/Applications/Web Remote/Properties/Resources.resx 2007-12-04 00:45:02 UTC (rev 1119) @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <data name="Icon" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\icon.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> +</root> \ No newline at end of file Property changes on: trunk/plugins/IR Server Suite/Common/IrssComms ___________________________________________________________________ Name: svn:ignore + bin obj Property changes on: trunk/plugins/IR Server Suite/Common/IrssUtils ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Modified: trunk/plugins/IR Server Suite/Common/IrssUtils/Common.cs =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssUtils/Common.cs 2007-12-03 15:51:38 UTC (rev 1118) +++ trunk/plugins/IR Server Suite/Common/IrssUtils/Common.cs 2007-12-04 00:45:02 UTC (rev 1119) @@ -461,8 +461,14 @@ if (waitForResponse) { - serialPort.ReadTimeout = 5000; - serialPort.ReadByte(); + try + { + serialPort.ReadTimeout = 5000; + serialPort.ReadByte(); + } + catch + { + } } } finally Modified: trunk/plugins/IR Server Suite/Common/IrssUtils/Display.cs =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssUtils/Display.cs 2007-12-03 15:51:38 UTC (rev 1118) +++ trunk/plugins/IR Server Suite/Common/IrssUtils/Display.cs 2007-12-04 00:45:02 UTC (rev 1119) @@ -98,6 +98,10 @@ return devMode; } + /// <summary> + /// Gets the resolution. + /// </summary> + /// <returns>The current screen resolution.</returns> public static Size GetResolution() { DEVMODE devMode = GetDevMode(); @@ -105,6 +109,10 @@ return new Size(devMode.dmPelsWidth, devMode.dmPelsHeight); } + /// <summary> + /// Gets the BPP. + /// </summary> + /// <returns>The current screen Bits Per Pixel.</returns> public static int GetBpp() { DEVMODE devMode = GetDevMode(); @@ -112,6 +120,10 @@ return devMode.dmBitsPerPel; } + /// <summary> + /// Gets the refresh rate. + /// </summary> + /// <returns>The current refresh rate in Hertz.</returns> public static int GetRefreshRate() { DEVMODE devMode = GetDevMode(); @@ -119,16 +131,34 @@ return devMode.dmDisplayFrequency; } + /// <summary> + /// Changes the display mode. + /// </summary> + /// <param name="width">The width.</param> + /// <param name="height">The height.</param> public static void ChangeDisplayMode(int width, int height) { ChangeDisplayMode(height, width, -1, -1); } + /// <summary> + /// Changes the display mode. + /// </summary> + /// <param name="width">The width.</param> + /// <param name="height">The height.</param> + /// <param name="bpp">The BPP.</param> public static void ChangeDisplayMode(int width, int height, short bpp) { ChangeDisplayMode(height, width, bpp, -1); } + /// <summary> + /// Changes the display mode. + /// </summary> + /// <param name="width">The width.</param> + /// <param name="height">The height.</param> + /// <param name="bpp">The BPP.</param> + /// <param name="refreshRate">The refresh rate in Hertz.</param> public static void ChangeDisplayMode(int width, int height, short bpp, int refreshRate) { DEVMODE devMode = GetDevMode(); Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/DisplayModeCommand.Designer.cs =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/DisplayModeCommand.Designer.cs (rev 0) +++ trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/DisplayModeCommand.Designer.cs 2007-12-04 00:45:02 UTC (rev 1119) @@ -0,0 +1,187 @@ +namespace IrssUtils.Forms +{ + + partial class DisplayModeCommand + { + + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.buttonCancel = new System.Windows.Forms.Button(); + this.buttonOK = new System.Windows.Forms.Button(); + this.textBoxWidth = new System.Windows.Forms.TextBox(); + this.labelWidth = new System.Windows.Forms.Label(); + this.labelHeight = new System.Windows.Forms.Label(); + this.textBoxHeight = new System.Windows.Forms.TextBox(); + this.labelX = new System.Windows.Forms.Label(); + this.textBoxRefresh = new System.Windows.Forms.TextBox(); + this.textBoxBpp = new System.Windows.Forms.TextBox(); + this.checkBoxBpp = new System.Windows.Forms.CheckBox(); + this.checkBoxRefresh = new System.Windows.Forms.CheckBox(); + this.SuspendLayout(); + // + // buttonCancel + // + this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.buttonCancel.Location = new System.Drawing.Point(120, 112); + this.buttonCancel.Name = "buttonCancel"; + this.buttonCancel.Size = new System.Drawing.Size(64, 24); + this.buttonCancel.TabIndex = 10; + this.buttonCancel.Text = "Cancel"; + this.buttonCancel.UseVisualStyleBackColor = true; + this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click); + // + // buttonOK + // + this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonOK.Location = new System.Drawing.Point(48, 112); + this.buttonOK.Name = "buttonOK"; + this.buttonOK.Size = new System.Drawing.Size(64, 24); + this.buttonOK.TabIndex = 9; + this.buttonOK.Text = "OK"; + this.buttonOK.UseVisualStyleBackColor = true; + this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click); + // + // textBoxWidth + // + this.textBoxWidth.Location = new System.Drawing.Point(8, 24); + this.textBoxWidth.Name = "textBoxWidth"; + this.textBoxWidth.Size = new System.Drawing.Size(80, 20); + this.textBoxWidth.TabIndex = 1; + this.textBoxWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // labelWidth + // + this.labelWidth.Location = new System.Drawing.Point(8, 8); + this.labelWidth.Name = "labelWidth"; + this.labelWidth.Size = new System.Drawing.Size(80, 16); + this.labelWidth.TabIndex = 0; + this.labelWidth.Text = "Width:"; + // + // labelHeight + // + this.labelHeight.Location = new System.Drawing.Point(104, 8); + this.labelHeight.Name = "labelHeight"; + this.labelHeight.Size = new System.Drawing.Size(80, 16); + this.labelHeight.TabIndex = 3; + this.labelHeight.Text = "Height:"; + // + // textBoxHeight + // + this.textBoxHeight.Location = new System.Drawing.Point(104, 24); + this.textBoxHeight.Name = "textBoxHeight"; + this.textBoxHeight.Size = new System.Drawing.Size(80, 20); + this.textBoxHeight.TabIndex = 4; + this.textBoxHeight.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // labelX + // + this.labelX.Location = new System.Drawing.Point(88, 24); + this.labelX.Name = "labelX"; + this.labelX.Size = new System.Drawing.Size(16, 24); + this.labelX.TabIndex = 2; + this.labelX.Text = "x"; + this.labelX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // textBoxRefresh + // + this.textBoxRefresh.Location = new System.Drawing.Point(104, 80); + this.textBoxRefresh.Name = "textBoxRefresh"; + this.textBoxRefresh.Size = new System.Drawing.Size(80, 20); + this.textBoxRefresh.TabIndex = 8; + this.textBoxRefresh.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // textBoxBpp + // + this.textBoxBpp.Location = new System.Drawing.Point(8, 80); + this.textBoxBpp.Name = "textBoxBpp"; + this.textBoxBpp.Size = new System.Drawing.Size(80, 20); + this.textBoxBpp.TabIndex = 6; + this.textBoxBpp.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // checkBoxBpp + // + this.checkBoxBpp.Location = new System.Drawing.Point(8, 64); + this.checkBoxBpp.Name = "checkBoxBpp"; + this.checkBoxBpp.Size = new System.Drawing.Size(80, 16); + this.checkBoxBpp.TabIndex = 5; + this.checkBoxBpp.Text = "Bit depth"; + this.checkBoxBpp.UseVisualStyleBackColor = true; + // + // checkBoxRefresh + // + this.checkBoxRefresh.Location = new System.Drawing.Point(104, 64); + this.checkBoxRefresh.Name = "checkBoxRefresh"; + this.checkBoxRefresh.Size = new System.Drawing.Size(80, 16); + this.checkBoxRefresh.TabIndex = 7; + this.checkBoxRefresh.Text = "Refresh Hz"; + this.checkBoxRefresh.UseVisualStyleBackColor = true; + // + // DisplayModeCommand + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(192, 145); + this.Controls.Add(this.checkBoxRefresh); + this.Controls.Add(this.checkBoxBpp); + this.Controls.Add(this.textBoxRefresh); + this.Controls.Add(this.textBoxBpp); + this.Controls.Add(this.labelX); + this.Controls.Add(this.labelHeight); + this.Controls.Add(this.textBoxHeight); + this.Controls.Add(this.labelWidth); + this.Controls.Add(this.textBoxWidth); + this.Controls.Add(this.buttonCancel); + this.Controls.Add(this.buttonOK); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.MinimumSize = new System.Drawing.Size(160, 116); + this.Name = "DisplayModeCommand"; + this.ShowIcon = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "Display Mode Command"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button buttonCancel; + private System.Windows.Forms.Button buttonOK; + private System.Windows.Forms.TextBox textBoxWidth; + private System.Windows.Forms.Label labelWidth; + private System.Windows.Forms.Label labelHeight; + private System.Windows.Forms.TextBox textBoxHeight; + private System.Windows.Forms.Label labelX; + private System.Windows.Forms.TextBox textBoxRefresh; + private System.Windows.Forms.TextBox textBoxBpp; + private System.Windows.Forms.CheckBox checkBoxBpp; + private System.Windows.Forms.CheckBox checkBoxRefresh; + } + +} Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/DisplayModeCommand.cs =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/DisplayModeCommand.cs (rev 0) +++ trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/DisplayModeCommand.cs 2007-12-04 00:45:02 UTC (rev 1119) @@ -0,0 +1,91 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.IO; +using System.Text; +using System.Windows.Forms; + +namespace IrssUtils.Forms +{ + + /// <summary> + /// Display Mode Command form. + /// </summary> + public partial class DisplayModeCommand : Form + { + + #region Properties + + /// <summary> + /// Gets the command string. + /// </summary> + /// <value>The command string.</value> + public string CommandString + { + get + { + return String.Format("{0}|{1}|{2}|{3}", + textBoxWidth.Text, + textBoxHeight.Text, + checkBoxBpp.Checked ? textBoxBpp.Text : "-1", + checkBoxRefresh.Checked ? textBoxRefresh.Text : "-1"); + } + } + + #endregion Properties + + #region Constructors + + /// <summary> + /// Initializes a new instance of the <see cref="DisplayModeCommand"/> class. + /// </summary> + public DisplayModeCommand() + { + InitializeComponent(); + + Size res = Display.GetResolution(); + + textBoxWidth.Text = res.Width.ToString(); + textBoxHeight.Text = res.Height.ToString(); + + textBoxBpp.Text = Display.GetBpp().ToString(); + textBoxRefresh.Text = Display.GetRefreshRate().ToString(); + } + + /// <summary> + /// Initializes a new instance of the <see cref="DisplayModeCommand"/> class. + /// </summary> + /// <param name="commands">The command elements.</param> + public DisplayModeCommand(string[] commands) + { + InitializeComponent(); + + textBoxWidth.Text = commands[0]; + textBoxHeight.Text = commands[1]; + textBoxBpp.Text = commands[2]; + textBoxRefresh.Text = commands[3]; + } + + #endregion + + #region Buttons + + private void buttonOK_Click(object sender, EventArgs e) + { + this.DialogResult = DialogResult.OK; + this.Close(); + } + + private void buttonCancel_Click(object sender, EventArgs e) + { + this.DialogResult = DialogResult.Cancel; + this.Close(); + } + + #endregion Buttons + + } + +} Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/DisplayModeCommand.resx =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/DisplayModeCommand.resx (rev 0) +++ trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/DisplayModeCommand.resx 2007-12-04 00:45:02 UTC (rev 1119) @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root> \ No newline at end of file Property changes on: trunk/plugins/IR Server Suite/Documentation ___________________________________________________________________ Name: svn:ignore + IR Server Suite.chm Modified: trunk/plugins/IR Server Suite/Documentation/legal.html =================================================================== --- trunk/plugins/IR Server Suite/Documentation/legal.html 2007-12-03 15:51:38 UTC (rev 1118) +++ trunk/plugins/IR Server Suite/Documentation/legal.html 2007-12-04 00:45:02 UTC (rev 1119) @@ -24,10 +24,13 @@ <I>Red-Eye</I> is a trademark of <a href="http://www.redremote.co.uk/">White Wing Logic</a>.<br> <I>MediaPortal</I> is a trademark of <a href="http://www.team-mediaportal.com/">Team MediaPortal</a>.<br> <I>USB-UIRT</I> is a trademark of <a href="http://www.usbuirt.com/">Jon Rhees</a>.<br> +<I>Nintendo</I> and <I>Wii</I> are trademarks of <a href="http://www.nintendo.com/">Nintendo</a>.<br> <br> Other product and company names mentioned may be the trademarks of their respective owners. All efforts are made to ensure correctness and attribution, however errors or ommisions may occur. Please report any errors or ommisions to: AaronDinnage at Hotmail dot com<br> </P> +<P>Wii Remote support uses <a href="http://blogs.msdn.com/coding4fun/archive/2007/03/14/1879033.aspx">WiimoteLib</a>.</P> + </BODY> </HTML> Property changes on: trunk/plugins/IR Server Suite/IR Server Plugins/Custom HID Receiver ___________________________________________________________________ Name: svn:ignore + bin obj Property changes on: trunk/plugins/IR Server Suite/IR Server Plugins/FusionRemote Receiver ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/IR Server Plugins/Girder Plugin ___________________________________________________________________ Name: svn:ignore + bin obj Property changes on: trunk/plugins/IR Server Suite/IR Server Plugins/IR Server Plugin Interface ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/IR Server Plugins/IRMan Receiver ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/IR Server Plugins/IRTrans Transceiver ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/IR Server Plugins/IgorPlug Receiver ___________________________________________________________________ Name: svn:ignore + bin obj Property changes on: trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/IR Server Plugins/RedEye Blaster ___________________________________________________________________ Name: svn:ignore + bin obj Property changes on: trunk/plugins/IR Server Suite/IR Server Plugins/Serial IR Blaster ___________________________________________________________________ Name: svn:ignore + bin obj Property changes on: trunk/plugins/IR Server Suite/IR Server Plugins/USB-UIRT Transceiver ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/IR Server Plugins/WinLirc Transceiver ___________________________________________________________________ Name: svn:ignore + bin obj Property changes on: trunk/plugins/IR Server Suite/IR Server Plugins/Windows Message Receiver ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/IR Server Plugins/X10 Transceiver ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/IR Server Plugins/XBCDRC Receiver ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/Input Service/Input Service ___________________________________________________________________ Name: svn:ignore + bin obj Property changes on: trunk/plugins/IR Server Suite/Input Service/Input Service Configuration ___________________________________________________________________ Name: svn:ignore + bin obj Property changes on: trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj Property changes on: trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin ___________________________________________________________________ Name: svn:ignore - *.suo *.user thumbs.db + *.suo *.user thumbs.db bin obj This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |