ShareX/ShareX/Enums.cs

226 lines
5.1 KiB
C#
Raw Normal View History

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
2014-12-31 22:41:32 +13:00
Copyright © 2007-2015 ShareX Developers
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;
using System.ComponentModel;
namespace ShareX
{
public enum SupportedLanguage
{
2014-10-19 06:38:34 +13:00
Automatic, // Localized
2015-05-04 04:24:21 +12:00
[Description("Nederlands (Dutch)")]
Dutch,
2014-10-04 02:54:41 +13:00
[Description("English")]
English,
2015-01-05 05:30:12 +13:00
[Description("Français (French)")]
2015-01-15 19:17:18 +13:00
French,
2015-05-04 04:24:21 +12:00
[Description("Deutsch (German)")]
German,
2015-01-18 13:53:32 +13:00
[Description("Magyar (Hungarian)")]
Hungarian,
2015-04-02 03:24:36 +13:00
[Description("한국어 (Korean)")]
Korean,
2015-01-15 19:17:18 +13:00
[Description("简体中文 (Simplified Chinese)")]
2015-01-18 08:28:30 +13:00
SimplifiedChinese,
2015-04-09 07:15:40 +12:00
[Description("Español (Spanish)")]
Spanish,
2015-01-18 13:53:32 +13:00
[Description("Türkçe (Turkish)")]
Turkish
}
2013-11-03 23:53:49 +13:00
public enum EImageFormat
{
[Description("png")]
PNG,
[Description("jpg")]
JPEG,
[Description("gif")]
GIF,
[Description("bmp")]
BMP,
[Description("tif")]
TIFF
}
public enum TaskJob
{
Job,
2013-11-03 23:53:49 +13:00
DataUpload,
FileUpload,
TextUpload,
ShortenURL,
ShareURL
2013-11-03 23:53:49 +13:00
}
[Flags]
2014-10-19 06:38:34 +13:00
public enum AfterCaptureTasks // Localized
2013-11-03 23:53:49 +13:00
{
None = 0,
AddImageEffects = 1,
AnnotateImage = 1 << 1,
CopyImageToClipboard = 1 << 2,
SendImageToPrinter = 1 << 3,
SaveImageToFile = 1 << 4,
SaveImageToFileWithDialog = 1 << 5,
SaveThumbnailImageToFile = 1 << 6,
PerformActions = 1 << 7,
CopyFileToClipboard = 1 << 8,
CopyFilePathToClipboard = 1 << 9,
UploadImageToHost = 1 << 10,
DeleteFile = 1 << 11
2013-11-03 23:53:49 +13:00
}
[Flags]
2014-10-19 06:38:34 +13:00
public enum AfterUploadTasks // Localized
2013-11-03 23:53:49 +13:00
{
None = 0,
UseURLShortener = 1,
ShareURL = 1 << 1,
CopyURLToClipboard = 1 << 2,
OpenURL = 1 << 3,
ShowQRCode = 1 << 4
2013-11-03 23:53:49 +13:00
}
public enum AfterCaptureFormResult
{
Cancel,
2013-12-24 02:40:49 +13:00
Continue,
2013-11-03 23:53:49 +13:00
Copy
}
public enum CaptureType
{
Screen,
Monitor,
ActiveMonitor,
Window,
ActiveWindow,
RectangleWindow,
Rectangle,
RoundedRectangle,
Ellipse,
Triangle,
Diamond,
Polygon,
Freehand,
2015-04-27 07:52:01 +12:00
CustomRegion,
2013-11-03 23:53:49 +13:00
LastRegion
}
2014-10-19 06:38:34 +13:00
public enum HotkeyType // Localized
2013-11-03 23:53:49 +13:00
{
None,
2014-07-05 02:23:53 +12:00
FileUpload,
2014-08-14 00:33:14 +12:00
FolderUpload,
2013-11-03 23:53:49 +13:00
ClipboardUpload,
ClipboardUploadWithContentViewer,
2014-07-05 02:23:53 +12:00
UploadURL,
DragDropUpload,
2014-07-05 02:23:53 +12:00
StopUploads,
2013-11-03 23:53:49 +13:00
PrintScreen,
ActiveWindow,
ActiveMonitor,
RectangleRegion,
WindowRectangle,
2014-07-10 08:57:26 +12:00
RectangleAnnotate,
RectangleLight,
RectangleTransparent,
2013-11-03 23:53:49 +13:00
RoundedRectangleRegion,
EllipseRegion,
TriangleRegion,
DiamondRegion,
PolygonRegion,
FreeHandRegion,
2015-04-27 07:52:01 +12:00
CustomRegion,
2013-11-03 23:53:49 +13:00
LastRegion,
ScreenRecorder,
StartScreenRecorder,
ScreenRecorderGIF,
StartScreenRecorderGIF,
2013-11-03 23:53:49 +13:00
AutoCapture,
StartAutoCapture,
OpenScreenshotsFolder,
ColorPicker,
2013-11-03 23:53:49 +13:00
ScreenColorPicker,
2014-05-03 06:06:03 +12:00
Ruler,
FTPClient,
2013-11-03 23:53:49 +13:00
HashCheck,
2013-11-21 06:59:00 +13:00
IndexFolder,
2014-05-21 10:46:06 +12:00
ImageEffects,
QRCode,
2015-02-18 01:51:19 +13:00
TweetMessage,
Automate
2013-11-03 23:53:49 +13:00
}
public enum HotkeyStatus
{
Registered,
Failed,
NotConfigured
}
2014-10-19 06:38:34 +13:00
public enum PopUpNotificationType // Localized
{
None,
BalloonTip,
ToastNotification
}
2014-03-13 22:13:02 +13:00
2014-10-19 06:38:34 +13:00
[DefaultValue(OpenUrl)]
public enum ToastClickAction
{
[Description("Annotate image")]
AnnotateImage,
[Description("Copy image to clipboard")]
CopyImageToClipboard,
[Description("Open file")]
OpenFile,
[Description("Open folder")]
OpenFolder,
[Description("Open URL")]
OpenUrl,
[Description("Upload")]
Upload,
}
2014-10-19 06:38:34 +13:00
public enum FileExistAction // Localized
2014-03-13 22:13:02 +13:00
{
Ask,
Overwrite,
UniqueName,
2014-03-13 22:13:02 +13:00
Cancel
}
2014-06-19 07:17:22 +12:00
public enum ImagePreviewVisibility
{
Show, Hide, Automatic
}
public enum ColorPickerFormat
{
RGB, Hexadecimal
}
2013-11-03 23:53:49 +13:00
}