mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-02 21:20:28 +12:00
Added resx text and icon to freehand region
This commit is contained in:
parent
6358f04a31
commit
8eb62bcb0d
|
@ -2500,6 +2500,15 @@ internal class Resources {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Region: Freehand.
|
||||
/// </summary>
|
||||
internal static string ShapeType_RegionFreehand {
|
||||
get {
|
||||
return ResourceManager.GetString("ShapeType_RegionFreehand", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Region: Rectangle.
|
||||
/// </summary>
|
||||
|
|
|
@ -989,4 +989,7 @@ Would you like to download it?</value>
|
|||
<data name="HotkeyType_AbortScreenRecording_Category" xml:space="preserve">
|
||||
<value>Screen record</value>
|
||||
</data>
|
||||
<data name="ShapeType_RegionFreehand" xml:space="preserve">
|
||||
<value>Region: Freehand</value>
|
||||
</data>
|
||||
</root>
|
|
@ -334,6 +334,16 @@ internal class Resources {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap layer_shape_curve {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("layer_shape_curve", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
|
|
@ -462,4 +462,7 @@ Distance: {6:0.00} px / Angle: {7:0.00}°</value>
|
|||
<data name="ShapeManager_CreateContextMenu_Show_FPS" xml:space="preserve">
|
||||
<value>Show FPS</value>
|
||||
</data>
|
||||
<data name="layer_shape_curve" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\layer-shape-curve.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
BIN
ShareX.ScreenCaptureLib/Resources/layer-shape-curve.png
Normal file
BIN
ShareX.ScreenCaptureLib/Resources/layer-shape-curve.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 481 B |
|
@ -312,6 +312,9 @@ private void CreateContextMenu()
|
|||
case ShapeType.RegionEllipse:
|
||||
img = Resources.layer_shape_ellipse_region;
|
||||
break;
|
||||
case ShapeType.RegionFreehand:
|
||||
img = Resources.layer_shape_curve;
|
||||
break;
|
||||
case ShapeType.DrawingRectangle:
|
||||
img = Resources.layer_shape;
|
||||
break;
|
||||
|
|
|
@ -167,6 +167,7 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\layer-shape-curve.png" />
|
||||
<None Include="Resources\edit-vertical-alignment.png" />
|
||||
<None Include="Resources\edit-vertical-alignment-top.png" />
|
||||
<None Include="Resources\edit-alignment-right.png" />
|
||||
|
|
Loading…
Reference in a new issue