Initial commit of existing code.

* All renderdoc code up to this point was written by me, history is available by request
This commit is contained in:
baldurk
2014-05-02 08:33:01 +01:00
parent 04b1549c0f
commit c38affcded
695 changed files with 230316 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
using System;
using System.Drawing;
using System.Windows.Forms;
namespace WeifenLuo.WinFormsUI.Docking
{
public static class Win32Helper
{
private static readonly bool _isRunningOnMono = Type.GetType("Mono.Runtime") != null;
public static bool IsRunningOnMono { get { return _isRunningOnMono; } }
internal static Control ControlAtPoint(Point pt)
{
return Control.FromChildHandle(NativeMethods.WindowFromPoint(pt));
}
internal static uint MakeLong(int low, int high)
{
return (uint)((high << 16) + low);
}
}
}