mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-18 18:47:17 +12:00
c591842691
The context menu for file name variables was also refactored to be used for extension filters as well
20 lines
885 B
C#
20 lines
885 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace HelpersLib
|
|
{
|
|
public class ExtCodeMenuEntry : CodeMenuEntry
|
|
{
|
|
public ExtCodeMenuEntry(string value, string description) : base(value, description) { }
|
|
|
|
public override String ToPrefixString() { return '.' + _value; }
|
|
|
|
public static readonly ExtCodeMenuEntry bmp = new ExtCodeMenuEntry("bmp", "Bitmap Image File");
|
|
public static readonly ExtCodeMenuEntry gif = new ExtCodeMenuEntry("gif", "Graphical Interchange Format File");
|
|
public static readonly ExtCodeMenuEntry jpg = new ExtCodeMenuEntry("jpg", "JPEG Image");
|
|
public static readonly ExtCodeMenuEntry png = new ExtCodeMenuEntry("png", "Portable Network Graphic");
|
|
public static readonly ExtCodeMenuEntry tif = new ExtCodeMenuEntry("tif", "Tagged Image File");
|
|
}
|
|
}
|