Renamed Katteker.Gui to Katteker.UserInterface.
This commit is contained in:
@@ -3,39 +3,39 @@ using System.Runtime.InteropServices;
|
||||
|
||||
// ReSharper disable InconsistentNaming
|
||||
|
||||
namespace Katteker.Gui
|
||||
namespace Katteker
|
||||
{
|
||||
/// <summary>
|
||||
/// Native methods.
|
||||
/// </summary>
|
||||
public static class NativeMethods
|
||||
internal static class NativeMethods
|
||||
{
|
||||
/// <summary>
|
||||
/// Hit Test Caption
|
||||
/// </summary>
|
||||
public const int HTCAPTION = 0x2;
|
||||
internal const int HTCAPTION = 0x2;
|
||||
|
||||
/// <summary>
|
||||
/// Posted when the user presses the left mouse button while the cursor is within the nonclient area of a window.
|
||||
/// </summary>
|
||||
public const int WM_NCLBUTTONDOWN = 0xA1;
|
||||
internal const int WM_NCLBUTTONDOWN = 0xA1;
|
||||
|
||||
/// <summary>
|
||||
/// Release the capture
|
||||
/// </summary>
|
||||
[DllImport("User32.dll")]
|
||||
public static extern bool ReleaseCapture();
|
||||
internal static extern bool ReleaseCapture();
|
||||
|
||||
/// <summary>
|
||||
/// Send message
|
||||
/// </summary>
|
||||
[DllImport("User32.dll")]
|
||||
public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam);
|
||||
internal static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam);
|
||||
|
||||
/// <summary>
|
||||
/// Set Process API aware
|
||||
/// </summary>
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool SetProcessDPIAware();
|
||||
internal static extern bool SetProcessDPIAware();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user