Added label and icon for "Image (Screen)" drawing tool

This commit is contained in:
Jaex 2017-05-07 00:34:03 +03:00
parent ec86bd5bdf
commit c7c44280f7
9 changed files with 44 additions and 18 deletions

View file

@ -2429,7 +2429,7 @@ internal class Resources {
}
/// <summary>
/// Looks up a localized string similar to Drawing: Image.
/// Looks up a localized string similar to Drawing: Image (File).
/// </summary>
internal static string ShapeType_DrawingImage {
get {
@ -2437,6 +2437,15 @@ internal class Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Drawing: Image (Screen).
/// </summary>
internal static string ShapeType_DrawingImageScreen {
get {
return ResourceManager.GetString("ShapeType_DrawingImageScreen", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Drawing: Line.
/// </summary>

View file

@ -963,7 +963,7 @@ Would you like to download it?</value>
<value>Drawing: Freehand</value>
</data>
<data name="ShapeType_DrawingImage" xml:space="preserve">
<value>Drawing: Image</value>
<value>Drawing: Image (File)</value>
</data>
<data name="ShapeType_DrawingSpeechBalloon" xml:space="preserve">
<value>Drawing: Speech balloon</value>
@ -998,4 +998,7 @@ Would you like to download it?</value>
<data name="ShapeType_DrawingCrop" xml:space="preserve">
<value>Crop image</value>
</data>
<data name="ShapeType_DrawingImageScreen" xml:space="preserve">
<value>Drawing: Image (Screen)</value>
</data>
</root>

View file

@ -364,6 +364,16 @@ internal class Resources {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap folder_open_image {
get {
object obj = ResourceManager.GetObject("folder_open_image", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@ -394,16 +404,6 @@ internal class Resources {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap image {
get {
object obj = ResourceManager.GetObject("image", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@ -624,6 +624,16 @@ internal class Resources {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap monitor_image {
get {
object obj = ResourceManager.GetObject("monitor_image", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>

View file

@ -429,9 +429,6 @@ Distance: {6:0.00} px / Angle: {7:0.00}°</value>
<data name="layer_shape_polygon" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\layer-shape-polygon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="image" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\image.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="balloon_box_left" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\balloon-box-left.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@ -513,4 +510,10 @@ Distance: {6:0.00} px / Angle: {7:0.00}°</value>
<data name="image_crop" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\image-crop.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="folder_open_image" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\folder-open-image.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="monitor_image" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\monitor-image.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 764 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 547 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 631 B

View file

@ -260,10 +260,10 @@ private void CreateToolbar()
img = Resources.counter_reset;
break;
case ShapeType.DrawingImage:
img = Resources.image;
img = Resources.folder_open_image;
break;
case ShapeType.DrawingImageScreen:
img = Resources.monitor;
img = Resources.monitor_image;
break;
case ShapeType.EffectBlur:
img = Resources.layer_shade;

View file

@ -189,6 +189,8 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="Resources\monitor-image.png" />
<None Include="Resources\folder-open-image.png" />
<None Include="Resources\image-crop.png" />
<None Include="Resources\edit-shade.png" />
<None Include="Resources\edit-outline.png" />
@ -210,7 +212,6 @@
<None Include="Resources\disks-black.png" />
<None Include="Resources\disk-black.png" />
<None Include="Resources\tick.png" />
<None Include="Resources\image.png" />
<None Include="Resources\layer-shape-polygon.png" />
<None Include="Resources\layer-shape-curve.png" />
<None Include="Resources\edit-vertical-alignment.png" />