Server/Display.cs
changeset 57 544132d07c3b
parent 53 f7ad2dce46a9
child 104 189aac7dd3d6
     1.1 --- a/Server/Display.cs	Sun Sep 21 13:40:21 2014 +0200
     1.2 +++ b/Server/Display.cs	Sun Sep 21 19:07:18 2014 +0200
     1.3 @@ -85,7 +85,7 @@
     1.4              return MiniDisplayHeightInPixels(iDevice);
     1.5          }
     1.6  
     1.7 -        public void SetPixel(int aX, int aY, int aValue)
     1.8 +        public void SetPixel(int aX, int aY, uint aValue)
     1.9          {
    1.10              MiniDisplaySetPixel(iDevice,aX,aY,aValue);
    1.11          }
    1.12 @@ -246,7 +246,7 @@
    1.13          public static extern int MiniDisplayHeightInPixels(IntPtr aDevice);
    1.14  
    1.15          [DllImport("MiniDisplay.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
    1.16 -        public static extern int MiniDisplaySetPixel(IntPtr aDevice, int aX, int aY, int aValue);
    1.17 +        public static extern int MiniDisplaySetPixel(IntPtr aDevice, int aX, int aY, uint aValue);
    1.18  
    1.19          [DllImport("MiniDisplay.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
    1.20          public static extern IntPtr MiniDisplayVendor(IntPtr aDevice);