mirror of
https://github.com/greenshot/greenshot
synced 2025-07-14 00:53:51 -07:00
This should fix most icon scaling issues
Improved the IniReader a bit and replaced some old code.
This commit is contained in:
parent
41baf27d84
commit
4a958be8b5
35 changed files with 2767 additions and 301 deletions
30
GreenshotPlugin/Core/Enums/MonitorFrom.cs
Normal file
30
GreenshotPlugin/Core/Enums/MonitorFrom.cs
Normal file
|
@ -0,0 +1,30 @@
|
|||
// Copyright (c) Dapplo and contributors. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
using System;
|
||||
|
||||
namespace GreenshotPlugin.Core.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// Flags for the MonitorFromRect / MonitorFromWindow "flags" field
|
||||
/// see <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/dd145063(v=vs.85).aspx">MonitorFromRect function</a>
|
||||
/// or see <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/dd145064(v=vs.85).aspx">MonitorFromWindow function</a>
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum MonitorFrom : uint
|
||||
{
|
||||
/// <summary>
|
||||
/// Returns a handle to the display monitor that is nearest to the rectangle.
|
||||
/// </summary>
|
||||
DefaultToNearest = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Returns NULL. (why??)
|
||||
/// </summary>
|
||||
DefaultToNull = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Returns a handle to the primary display monitor.
|
||||
/// </summary>
|
||||
DefaultToPrimary = 2
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue