2013-11-03 23:53:49 +13:00
|
|
|
|
#region License Information (GPL v3)
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
ShareX - A program that allows you to take screenshots and share any file type
|
2017-01-11 21:39:40 +13:00
|
|
|
|
Copyright (c) 2007-2017 ShareX Team
|
2013-11-03 23:53:49 +13:00
|
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
|
of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
|
|
|
|
|
|
Optionally you can also view the license at <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#endregion License Information (GPL v3)
|
|
|
|
|
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
2014-12-11 09:25:20 +13:00
|
|
|
|
namespace ShareX.HelpersLib
|
2013-11-03 23:53:49 +13:00
|
|
|
|
{
|
|
|
|
|
public enum EDataType
|
|
|
|
|
{
|
|
|
|
|
Default,
|
|
|
|
|
File,
|
|
|
|
|
Image,
|
|
|
|
|
Text,
|
|
|
|
|
URL
|
|
|
|
|
}
|
|
|
|
|
|
2014-10-19 06:38:34 +13:00
|
|
|
|
public enum GIFQuality // Localized
|
2013-11-03 23:53:49 +13:00
|
|
|
|
{
|
|
|
|
|
Default,
|
|
|
|
|
Bit8,
|
|
|
|
|
Bit4,
|
|
|
|
|
Grayscale
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum EImageFormat
|
|
|
|
|
{
|
2015-08-04 19:31:43 +12:00
|
|
|
|
[Description("png")]
|
2013-11-03 23:53:49 +13:00
|
|
|
|
PNG,
|
2015-08-04 19:31:43 +12:00
|
|
|
|
[Description("jpg")]
|
2013-11-03 23:53:49 +13:00
|
|
|
|
JPEG,
|
2015-08-04 19:31:43 +12:00
|
|
|
|
[Description("gif")]
|
2013-11-03 23:53:49 +13:00
|
|
|
|
GIF,
|
2015-08-04 19:31:43 +12:00
|
|
|
|
[Description("bmp")]
|
2013-11-03 23:53:49 +13:00
|
|
|
|
BMP,
|
2015-08-04 19:31:43 +12:00
|
|
|
|
[Description("tif")]
|
2013-11-03 23:53:49 +13:00
|
|
|
|
TIFF
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum HashType
|
|
|
|
|
{
|
|
|
|
|
[Description("CRC-32")]
|
|
|
|
|
CRC32,
|
|
|
|
|
[Description("MD5")]
|
|
|
|
|
MD5,
|
|
|
|
|
[Description("SHA-1")]
|
|
|
|
|
SHA1,
|
|
|
|
|
[Description("SHA-256")]
|
|
|
|
|
SHA256,
|
|
|
|
|
[Description("SHA-384")]
|
|
|
|
|
SHA384,
|
|
|
|
|
[Description("SHA-512")]
|
|
|
|
|
SHA512,
|
|
|
|
|
[Description("RIPEMD-160")]
|
|
|
|
|
RIPEMD160
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum BorderType
|
|
|
|
|
{
|
|
|
|
|
Outside,
|
|
|
|
|
Inside
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum DownloaderFormStatus
|
|
|
|
|
{
|
|
|
|
|
Waiting,
|
|
|
|
|
DownloadStarted,
|
|
|
|
|
DownloadCompleted,
|
|
|
|
|
InstallStarted
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum InstallType
|
|
|
|
|
{
|
|
|
|
|
Default,
|
|
|
|
|
Silent,
|
2014-05-10 12:23:47 +12:00
|
|
|
|
VerySilent,
|
|
|
|
|
Event
|
2013-11-03 23:53:49 +13:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum ReleaseChannelType
|
|
|
|
|
{
|
|
|
|
|
[Description("Stable version")]
|
|
|
|
|
Stable,
|
|
|
|
|
[Description("Beta version")]
|
|
|
|
|
Beta,
|
|
|
|
|
[Description("Dev version")]
|
|
|
|
|
Dev
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum UpdateStatus
|
|
|
|
|
{
|
|
|
|
|
None,
|
|
|
|
|
UpdateCheckFailed,
|
2013-11-15 18:30:54 +13:00
|
|
|
|
UpdateAvailable,
|
2013-11-03 23:53:49 +13:00
|
|
|
|
UpToDate
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum PrintType
|
|
|
|
|
{
|
|
|
|
|
Image,
|
|
|
|
|
Text
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum DrawStyle
|
|
|
|
|
{
|
|
|
|
|
Hue,
|
|
|
|
|
Saturation,
|
|
|
|
|
Brightness,
|
|
|
|
|
Red,
|
|
|
|
|
Green,
|
|
|
|
|
Blue
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum ColorType
|
|
|
|
|
{
|
|
|
|
|
None, RGBA, HSB, CMYK, Hex, Decimal
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum ColorFormat
|
|
|
|
|
{
|
|
|
|
|
RGB, RGBA, ARGB
|
|
|
|
|
}
|
2014-05-10 13:52:09 +12:00
|
|
|
|
|
2014-10-19 09:29:23 +13:00
|
|
|
|
public enum ProxyMethod // Localized
|
2014-05-10 13:52:09 +12:00
|
|
|
|
{
|
|
|
|
|
None,
|
|
|
|
|
Manual,
|
|
|
|
|
Automatic
|
|
|
|
|
}
|
2014-05-30 21:09:13 +12:00
|
|
|
|
|
|
|
|
|
public enum SlashType
|
|
|
|
|
{
|
|
|
|
|
Prefix,
|
|
|
|
|
Suffix
|
|
|
|
|
}
|
2016-06-08 13:58:08 +12:00
|
|
|
|
|
|
|
|
|
public enum ScreenTearingTestMode
|
|
|
|
|
{
|
|
|
|
|
VerticalLines,
|
|
|
|
|
HorizontalLines
|
|
|
|
|
}
|
2016-11-22 13:31:39 +13:00
|
|
|
|
|
|
|
|
|
public enum HotkeyStatus
|
|
|
|
|
{
|
|
|
|
|
Registered,
|
|
|
|
|
Failed,
|
|
|
|
|
NotConfigured
|
|
|
|
|
}
|
2013-11-03 23:53:49 +13:00
|
|
|
|
}
|