/[EmuXPortal]/trunk/EmuXPortal/Api/DisplayHelper.cs
ViewVC logotype

Diff of /trunk/EmuXPortal/Api/DisplayHelper.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 15 by william, Tue Apr 3 21:39:47 2012 UTC revision 112 by william, Thu Aug 23 04:13:19 2012 UTC
# Line 9  namespace EmuXPortal.Api Line 9  namespace EmuXPortal.Api
9  {  {
10      public class DisplayHelper      public class DisplayHelper
11      {      {
12          public DisplayHelper() : this(Screen.PrimaryScreen) { }          public DisplayHelper(logger log) : this(log,Screen.PrimaryScreen) { }
13          public DisplayHelper(string device) : this(GetScreenFromString(device)) { }          public DisplayHelper(logger log, string device) : this(log, GetScreenFromString(device)) { }
14          public DisplayHelper(Screen device)          public DisplayHelper(logger log, Screen device)
15          {          {
16              logger.WriteLine("Using DisplayDevice: {0}", device);              log.WriteLine("Using DisplayDevice: {0}", device);
17              PhysicalDisplayDevice = device;              PhysicalDisplayDevice = device;
18          }          }
19          #region GetScreenFromString          #region GetScreenFromString

Legend:
Removed from v.15  
changed lines
  Added in v.112

  ViewVC Help
Powered by ViewVC 1.1.22