mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-05 20:54:31 +13:00
176 lines
No EOL
3.3 KiB
C#
176 lines
No EOL
3.3 KiB
C#
#region License Information (GPL v3)
|
|
|
|
/*
|
|
ShareX - A program that allows you to take screenshots and share any file type
|
|
Copyright (c) 2007-2016 ShareX Team
|
|
|
|
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;
|
|
|
|
namespace ShareX.HelpersLib
|
|
{
|
|
public enum EDataType
|
|
{
|
|
Default,
|
|
File,
|
|
Image,
|
|
Text,
|
|
URL
|
|
}
|
|
|
|
public enum GIFQuality // Localized
|
|
{
|
|
Default,
|
|
Bit8,
|
|
Bit4,
|
|
Grayscale
|
|
}
|
|
|
|
public enum EImageFormat
|
|
{
|
|
[Description("png")]
|
|
PNG,
|
|
[Description("jpg")]
|
|
JPEG,
|
|
[Description("gif")]
|
|
GIF,
|
|
[Description("bmp")]
|
|
BMP,
|
|
[Description("tif")]
|
|
TIFF
|
|
}
|
|
|
|
public enum TriangleAngle
|
|
{
|
|
Top,
|
|
Right,
|
|
Bottom,
|
|
Left
|
|
}
|
|
|
|
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 TokenType
|
|
{
|
|
Unknown,
|
|
Whitespace,
|
|
Symbol,
|
|
Literal,
|
|
Identifier,
|
|
Numeric,
|
|
Keyword
|
|
}
|
|
|
|
public enum BorderType
|
|
{
|
|
Outside,
|
|
Inside
|
|
}
|
|
|
|
public enum DownloaderFormStatus
|
|
{
|
|
Waiting,
|
|
DownloadStarted,
|
|
DownloadCompleted,
|
|
InstallStarted
|
|
}
|
|
|
|
public enum InstallType
|
|
{
|
|
Default,
|
|
Silent,
|
|
VerySilent,
|
|
Event
|
|
}
|
|
|
|
public enum ReleaseChannelType
|
|
{
|
|
[Description("Stable version")]
|
|
Stable,
|
|
[Description("Beta version")]
|
|
Beta,
|
|
[Description("Dev version")]
|
|
Dev
|
|
}
|
|
|
|
public enum UpdateStatus
|
|
{
|
|
None,
|
|
UpdateCheckFailed,
|
|
UpdateAvailable,
|
|
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
|
|
}
|
|
|
|
public enum ProxyMethod // Localized
|
|
{
|
|
None,
|
|
Manual,
|
|
Automatic
|
|
}
|
|
|
|
public enum SlashType
|
|
{
|
|
Prefix,
|
|
Suffix
|
|
}
|
|
} |