mirror of
https://github.com/ShareX/ShareX.git
synced 2024-06-28 03:00:22 +12:00
Adding image combiner tool
This commit is contained in:
parent
454e64569a
commit
608adf8846
198
ShareX/Forms/ImageCombinerForm.Designer.cs
generated
Normal file
198
ShareX/Forms/ImageCombinerForm.Designer.cs
generated
Normal file
|
@ -0,0 +1,198 @@
|
|||
namespace ShareX
|
||||
{
|
||||
partial class ImageCombinerForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.btnAdd = new System.Windows.Forms.Button();
|
||||
this.btnRemove = new System.Windows.Forms.Button();
|
||||
this.btnMoveUp = new System.Windows.Forms.Button();
|
||||
this.btnMoveDown = new System.Windows.Forms.Button();
|
||||
this.myListView1 = new ShareX.HelpersLib.MyListView();
|
||||
this.chFilepath = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.btnCombine = new System.Windows.Forms.Button();
|
||||
this.lblSpace = new System.Windows.Forms.Label();
|
||||
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.lblOrientation = new System.Windows.Forms.Label();
|
||||
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btnAdd
|
||||
//
|
||||
this.btnAdd.Location = new System.Drawing.Point(8, 8);
|
||||
this.btnAdd.Name = "btnAdd";
|
||||
this.btnAdd.Size = new System.Drawing.Size(120, 23);
|
||||
this.btnAdd.TabIndex = 0;
|
||||
this.btnAdd.Text = "Add...";
|
||||
this.btnAdd.UseVisualStyleBackColor = true;
|
||||
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
||||
//
|
||||
// btnRemove
|
||||
//
|
||||
this.btnRemove.Location = new System.Drawing.Point(136, 8);
|
||||
this.btnRemove.Name = "btnRemove";
|
||||
this.btnRemove.Size = new System.Drawing.Size(120, 23);
|
||||
this.btnRemove.TabIndex = 1;
|
||||
this.btnRemove.Text = "Remove";
|
||||
this.btnRemove.UseVisualStyleBackColor = true;
|
||||
this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click);
|
||||
//
|
||||
// btnMoveUp
|
||||
//
|
||||
this.btnMoveUp.Location = new System.Drawing.Point(264, 8);
|
||||
this.btnMoveUp.Name = "btnMoveUp";
|
||||
this.btnMoveUp.Size = new System.Drawing.Size(120, 23);
|
||||
this.btnMoveUp.TabIndex = 2;
|
||||
this.btnMoveUp.Text = "Move up";
|
||||
this.btnMoveUp.UseVisualStyleBackColor = true;
|
||||
this.btnMoveUp.Click += new System.EventHandler(this.btnMoveUp_Click);
|
||||
//
|
||||
// btnMoveDown
|
||||
//
|
||||
this.btnMoveDown.Location = new System.Drawing.Point(392, 8);
|
||||
this.btnMoveDown.Name = "btnMoveDown";
|
||||
this.btnMoveDown.Size = new System.Drawing.Size(120, 23);
|
||||
this.btnMoveDown.TabIndex = 3;
|
||||
this.btnMoveDown.Text = "Move down";
|
||||
this.btnMoveDown.UseVisualStyleBackColor = true;
|
||||
this.btnMoveDown.Click += new System.EventHandler(this.btnMoveDown_Click);
|
||||
//
|
||||
// myListView1
|
||||
//
|
||||
this.myListView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.myListView1.AutoFillColumn = true;
|
||||
this.myListView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
this.chFilepath});
|
||||
this.myListView1.FullRowSelect = true;
|
||||
this.myListView1.Location = new System.Drawing.Point(8, 40);
|
||||
this.myListView1.Name = "myListView1";
|
||||
this.myListView1.Size = new System.Drawing.Size(504, 368);
|
||||
this.myListView1.TabIndex = 4;
|
||||
this.myListView1.UseCompatibleStateImageBehavior = false;
|
||||
this.myListView1.View = System.Windows.Forms.View.Details;
|
||||
//
|
||||
// chFilepath
|
||||
//
|
||||
this.chFilepath.Text = "Image file path";
|
||||
this.chFilepath.Width = 487;
|
||||
//
|
||||
// btnCombine
|
||||
//
|
||||
this.btnCombine.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnCombine.Location = new System.Drawing.Point(8, 472);
|
||||
this.btnCombine.Name = "btnCombine";
|
||||
this.btnCombine.Size = new System.Drawing.Size(504, 31);
|
||||
this.btnCombine.TabIndex = 5;
|
||||
this.btnCombine.Text = "Combine images and save/upload";
|
||||
this.btnCombine.UseVisualStyleBackColor = true;
|
||||
this.btnCombine.Click += new System.EventHandler(this.btnCombine_Click);
|
||||
//
|
||||
// lblSpace
|
||||
//
|
||||
this.lblSpace.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.lblSpace.AutoSize = true;
|
||||
this.lblSpace.Location = new System.Drawing.Point(8, 448);
|
||||
this.lblSpace.Name = "lblSpace";
|
||||
this.lblSpace.Size = new System.Drawing.Size(121, 13);
|
||||
this.lblSpace.TabIndex = 6;
|
||||
this.lblSpace.Text = "Space between images:";
|
||||
//
|
||||
// numericUpDown1
|
||||
//
|
||||
this.numericUpDown1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.numericUpDown1.Location = new System.Drawing.Point(200, 444);
|
||||
this.numericUpDown1.Maximum = new decimal(new int[] {
|
||||
1000,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown1.Name = "numericUpDown1";
|
||||
this.numericUpDown1.Size = new System.Drawing.Size(64, 20);
|
||||
this.numericUpDown1.TabIndex = 7;
|
||||
this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// lblOrientation
|
||||
//
|
||||
this.lblOrientation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.lblOrientation.AutoSize = true;
|
||||
this.lblOrientation.Location = new System.Drawing.Point(8, 424);
|
||||
this.lblOrientation.Name = "lblOrientation";
|
||||
this.lblOrientation.Size = new System.Drawing.Size(103, 13);
|
||||
this.lblOrientation.TabIndex = 8;
|
||||
this.lblOrientation.Text = "Combine orientation:";
|
||||
//
|
||||
// comboBox1
|
||||
//
|
||||
this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox1.FormattingEnabled = true;
|
||||
this.comboBox1.Location = new System.Drawing.Point(200, 420);
|
||||
this.comboBox1.Name = "comboBox1";
|
||||
this.comboBox1.Size = new System.Drawing.Size(121, 21);
|
||||
this.comboBox1.TabIndex = 9;
|
||||
//
|
||||
// ImageCombinerForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(521, 514);
|
||||
this.Controls.Add(this.comboBox1);
|
||||
this.Controls.Add(this.lblOrientation);
|
||||
this.Controls.Add(this.numericUpDown1);
|
||||
this.Controls.Add(this.lblSpace);
|
||||
this.Controls.Add(this.btnCombine);
|
||||
this.Controls.Add(this.myListView1);
|
||||
this.Controls.Add(this.btnMoveDown);
|
||||
this.Controls.Add(this.btnMoveUp);
|
||||
this.Controls.Add(this.btnRemove);
|
||||
this.Controls.Add(this.btnAdd);
|
||||
this.Name = "ImageCombinerForm";
|
||||
this.Text = "ShareX - Image combiner";
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button btnAdd;
|
||||
private System.Windows.Forms.Button btnRemove;
|
||||
private System.Windows.Forms.Button btnMoveUp;
|
||||
private System.Windows.Forms.Button btnMoveDown;
|
||||
private HelpersLib.MyListView myListView1;
|
||||
private System.Windows.Forms.Button btnCombine;
|
||||
private System.Windows.Forms.Label lblSpace;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
||||
private System.Windows.Forms.Label lblOrientation;
|
||||
private System.Windows.Forms.ComboBox comboBox1;
|
||||
private System.Windows.Forms.ColumnHeader chFilepath;
|
||||
}
|
||||
}
|
68
ShareX/Forms/ImageCombinerForm.cs
Normal file
68
ShareX/Forms/ImageCombinerForm.cs
Normal file
|
@ -0,0 +1,68 @@
|
|||
#region License Information (GPL v3)
|
||||
|
||||
/*
|
||||
ShareX - A program that allows you to take screenshots and share any file type
|
||||
Copyright (c) 2007-2015 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 ShareX.HelpersLib;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ShareX
|
||||
{
|
||||
public partial class ImageCombinerForm : BaseForm
|
||||
{
|
||||
public ImageCombinerOptions Options { get; private set; }
|
||||
|
||||
public ImageCombinerForm(ImageCombinerOptions options)
|
||||
{
|
||||
Options = options;
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void btnAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
private void btnRemove_Click(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
private void btnMoveUp_Click(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
private void btnMoveDown_Click(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
private void btnCombine_Click(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
120
ShareX/Forms/ImageCombinerForm.resx
Normal file
120
ShareX/Forms/ImageCombinerForm.resx
Normal file
|
@ -0,0 +1,120 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
20
ShareX/Forms/MainForm.Designer.cs
generated
20
ShareX/Forms/MainForm.Designer.cs
generated
|
@ -79,6 +79,7 @@ private void InitializeComponent()
|
|||
this.tsmiRuler = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsmiAutomate = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsmiIndexFolder = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsmiImageCombiner = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsmiVideoThumbnailer = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsmiFTPClient = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsmiTweetMessage = new System.Windows.Forms.ToolStripMenuItem();
|
||||
|
@ -229,6 +230,7 @@ private void InitializeComponent()
|
|||
this.tsmiTrayShow = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsmiTrayExit = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.timerTraySingleClick = new System.Windows.Forms.Timer(this.components);
|
||||
this.tsmiTrayImageCombiner = new System.Windows.Forms.ToolStripMenuItem();
|
||||
((System.ComponentModel.ISupportInitialize)(this.scMain)).BeginInit();
|
||||
this.scMain.Panel1.SuspendLayout();
|
||||
this.scMain.Panel2.SuspendLayout();
|
||||
|
@ -564,6 +566,7 @@ private void InitializeComponent()
|
|||
this.tsmiRuler,
|
||||
this.tsmiAutomate,
|
||||
this.tsmiIndexFolder,
|
||||
this.tsmiImageCombiner,
|
||||
this.tsmiVideoThumbnailer,
|
||||
this.tsmiFTPClient,
|
||||
this.tsmiTweetMessage,
|
||||
|
@ -649,6 +652,13 @@ private void InitializeComponent()
|
|||
resources.ApplyResources(this.tsmiIndexFolder, "tsmiIndexFolder");
|
||||
this.tsmiIndexFolder.Click += new System.EventHandler(this.tsmiIndexFolder_Click);
|
||||
//
|
||||
// tsmiImageCombiner
|
||||
//
|
||||
this.tsmiImageCombiner.Image = global::ShareX.Properties.Resources.document_break;
|
||||
this.tsmiImageCombiner.Name = "tsmiImageCombiner";
|
||||
resources.ApplyResources(this.tsmiImageCombiner, "tsmiImageCombiner");
|
||||
this.tsmiImageCombiner.Click += new System.EventHandler(this.tsmiImageCombiner_Click);
|
||||
//
|
||||
// tsmiVideoThumbnailer
|
||||
//
|
||||
this.tsmiVideoThumbnailer.Image = global::ShareX.Properties.Resources.images_stack;
|
||||
|
@ -1471,6 +1481,7 @@ private void InitializeComponent()
|
|||
this.tsmiTrayRuler,
|
||||
this.tsmiTrayAutomate,
|
||||
this.tsmiTrayIndexFolder,
|
||||
this.tsmiTrayImageCombiner,
|
||||
this.tsmiTrayVideoThumbnailer,
|
||||
this.tsmiTrayFTPClient,
|
||||
this.tsmiTrayTweetMessage,
|
||||
|
@ -1755,6 +1766,13 @@ private void InitializeComponent()
|
|||
//
|
||||
this.timerTraySingleClick.Tick += new System.EventHandler(this.timerTraySingleClick_Tick);
|
||||
//
|
||||
// tsmiTrayImageCombiner
|
||||
//
|
||||
this.tsmiTrayImageCombiner.Image = global::ShareX.Properties.Resources.document_break;
|
||||
this.tsmiTrayImageCombiner.Name = "tsmiTrayImageCombiner";
|
||||
resources.ApplyResources(this.tsmiTrayImageCombiner, "tsmiTrayImageCombiner");
|
||||
this.tsmiTrayImageCombiner.Click += new System.EventHandler(this.tsmiImageCombiner_Click);
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
this.AllowDrop = true;
|
||||
|
@ -1987,5 +2005,7 @@ private void InitializeComponent()
|
|||
private System.Windows.Forms.ToolStripMenuItem tsmiTrayIRCClient;
|
||||
private System.Windows.Forms.ToolStripMenuItem tsmiScrollingCapture;
|
||||
private System.Windows.Forms.ToolStripMenuItem tsmiTrayScrollingCapture;
|
||||
private System.Windows.Forms.ToolStripMenuItem tsmiImageCombiner;
|
||||
private System.Windows.Forms.ToolStripMenuItem tsmiTrayImageCombiner;
|
||||
}
|
||||
}
|
|
@ -1022,6 +1022,10 @@ private void tsmiIndexFolder_Click(object sender, EventArgs e)
|
|||
TaskHelpers.OpenIndexFolder();
|
||||
}
|
||||
|
||||
private void tsmiImageCombiner_Click(object sender, EventArgs e)
|
||||
{
|
||||
TaskHelpers.OpenImageCombiner();
|
||||
}
|
||||
private void tsmiVideoThumbnailer_Click(object sender, EventArgs e)
|
||||
{
|
||||
TaskHelpers.OpenVideoThumbnailer();
|
||||
|
@ -2373,6 +2377,7 @@ private void tsmiTrayRectangleLight_Click(object sender, EventArgs e)
|
|||
CaptureRectangleLight(null, false);
|
||||
}
|
||||
|
||||
|
||||
private void tsmiTrayRectangleTransparent_Click(object sender, EventArgs e)
|
||||
{
|
||||
CaptureRectangleTransparent(null, false);
|
||||
|
|
|
@ -552,6 +552,12 @@
|
|||
<data name="tsmiIndexFolder.Text" xml:space="preserve">
|
||||
<value>Index folder...</value>
|
||||
</data>
|
||||
<data name="tsmiImageCombiner.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>183, 22</value>
|
||||
</data>
|
||||
<data name="tsmiImageCombiner.Text" xml:space="preserve">
|
||||
<value>Image combiner...</value>
|
||||
</data>
|
||||
<data name="tsmiVideoThumbnailer.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>183, 22</value>
|
||||
</data>
|
||||
|
@ -1347,6 +1353,12 @@
|
|||
<data name="tsmiTrayIndexFolder.Text" xml:space="preserve">
|
||||
<value>Index folder...</value>
|
||||
</data>
|
||||
<data name="tsmiTrayImageCombiner.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>183, 22</value>
|
||||
</data>
|
||||
<data name="tsmiTrayImageCombiner.Text" xml:space="preserve">
|
||||
<value>Image combiner...</value>
|
||||
</data>
|
||||
<data name="tsmiTrayVideoThumbnailer.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>183, 22</value>
|
||||
</data>
|
||||
|
@ -1809,6 +1821,12 @@
|
|||
<data name=">>tsmiIndexFolder.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>tsmiImageCombiner.Name" xml:space="preserve">
|
||||
<value>tsmiImageCombiner</value>
|
||||
</data>
|
||||
<data name=">>tsmiImageCombiner.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>tsmiVideoThumbnailer.Name" xml:space="preserve">
|
||||
<value>tsmiVideoThumbnailer</value>
|
||||
</data>
|
||||
|
@ -2697,10 +2715,16 @@
|
|||
<data name=">>timerTraySingleClick.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Timer, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>tsmiTrayImageCombiner.Name" xml:space="preserve">
|
||||
<value>tsmiTrayImageCombiner</value>
|
||||
</data>
|
||||
<data name=">>tsmiTrayImageCombiner.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>MainForm</value>
|
||||
</data>
|
||||
<data name=">>$this.Type" xml:space="preserve">
|
||||
<value>ShareX.HotkeyForm, ShareX, Version=10.2.6.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
<value>ShareX.HotkeyForm, ShareX, Version=10.3.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
</root>
|
39
ShareX/ImageCombinerOptions.cs
Normal file
39
ShareX/ImageCombinerOptions.cs
Normal file
|
@ -0,0 +1,39 @@
|
|||
#region License Information (GPL v3)
|
||||
|
||||
/*
|
||||
ShareX - A program that allows you to take screenshots and share any file type
|
||||
Copyright (c) 2007-2015 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;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ShareX
|
||||
{
|
||||
public class ImageCombinerOptions
|
||||
{
|
||||
public Orientation Orientation { get; set; } = Orientation.Vertical;
|
||||
public int Space { get; set; } = 0;
|
||||
}
|
||||
}
|
10
ShareX/Properties/Resources.Designer.cs
generated
10
ShareX/Properties/Resources.Designer.cs
generated
|
@ -631,6 +631,16 @@ public class Resources {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap document_break {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("document-break", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
|
|
@ -138,6 +138,9 @@ Are you sure you want to continue?</value>
|
|||
<data name="UploadTask_CreateURLShortenerTask_Shorten_URL___0__" xml:space="preserve">
|
||||
<value>Shorten URL ({0})</value>
|
||||
</data>
|
||||
<data name="layer_transparent" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\layer-transparent.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="ScreenRecordForm_StartRecording_There_is_no_valid_CLI_video_encoder_selected_" xml:space="preserve">
|
||||
<value>There is no valid CLI video encoder selected.</value>
|
||||
</data>
|
||||
|
@ -163,15 +166,15 @@ Press 'No' to cancel the current upload and disable screenshot auto uploading.</
|
|||
<data name="google_plus" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\google_plus.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="toolbox" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\toolbox.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="au" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\au.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="ScreenRecordForm_StartRecording_FFmpeg_error" xml:space="preserve">
|
||||
<value>FFmpeg error</value>
|
||||
</data>
|
||||
<data name="checkbox_check" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\checkbox_check.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="ScreenRecordForm_DownloaderForm_InstallRequested_FFmpeg_successfully_downloaded_" xml:space="preserve">
|
||||
<value>FFmpeg successfully downloaded.</value>
|
||||
</data>
|
||||
|
@ -220,6 +223,9 @@ Press 'No' to cancel the current upload and disable screenshot auto uploading.</
|
|||
<data name="folder_open_image" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\folder-open-image.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="ui_scroll_pane_image" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\ui-scroll-pane-image.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="camcorder_pencil" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\camcorder--pencil.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
@ -260,6 +266,9 @@ Please select a different hotkey or quit the conflicting application and reopen
|
|||
<data name="AutoCaptureForm_Execute_Stop" xml:space="preserve">
|
||||
<value>Stop</value>
|
||||
</data>
|
||||
<data name="RecentManager_UpdateRecentMenu_Left_click_to_copy_URL_to_clipboard__Right_click_to_open_URL_" xml:space="preserve">
|
||||
<value>Left click to copy URL to clipboard. Right click to open URL.</value>
|
||||
</data>
|
||||
<data name="robot" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\robot.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
@ -302,9 +311,6 @@ Please select a different hotkey or quit the conflicting application and reopen
|
|||
<data name="MainForm_AfterShownJobs_You_can_single_left_click_the_ShareX_tray_icon_to_start_region_capture_" xml:space="preserve">
|
||||
<value>You can single left click the ShareX tray icon to start region capture.</value>
|
||||
</data>
|
||||
<data name="application_task" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\application-task.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="TaskSettingsForm_UpdateWindowTitle_Task_settings" xml:space="preserve">
|
||||
<value>Task settings</value>
|
||||
</data>
|
||||
|
@ -322,6 +328,9 @@ Would you like to automatically download it?</value>
|
|||
<data name="application_block" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\application-block.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="AboutForm_AboutForm_Translators" xml:space="preserve">
|
||||
<value>Translators</value>
|
||||
</data>
|
||||
<data name="image_export" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\image-export.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
@ -361,8 +370,8 @@ Press yes to open image from clipboard. Alternatively, press no to open image fi
|
|||
<data name="MainForm_UpdateMenu_Hide_menu" xml:space="preserve">
|
||||
<value>Hide menu</value>
|
||||
</data>
|
||||
<data name="Program_Run_Unable_to_create_folder_" xml:space="preserve">
|
||||
<value>Unable to create folder:</value>
|
||||
<data name="monitor" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\monitor.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="WebpageCaptureForm_UpdateControls_Capture" xml:space="preserve">
|
||||
<value>Capture</value>
|
||||
|
@ -415,9 +424,6 @@ Press yes to open image from clipboard. Alternatively, press no to open image fi
|
|||
<data name="kr" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\kr.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="pencil" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\pencil.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="TaskManager_task_UploadCompleted_Error" xml:space="preserve">
|
||||
<value>Error</value>
|
||||
</data>
|
||||
|
@ -440,9 +446,6 @@ here</value>
|
|||
<data name="HotkeyManager_ShowFailedHotkeys_hotkeys" xml:space="preserve">
|
||||
<value>hotkeys</value>
|
||||
</data>
|
||||
<data name="arrow_270" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\arrow-270.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="drive" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\drive.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
@ -455,9 +458,6 @@ here</value>
|
|||
<data name="traffic_cone" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\traffic-cone.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="AboutForm_AboutForm_Issues" xml:space="preserve">
|
||||
<value>Issues</value>
|
||||
</data>
|
||||
<data name="EncoderProgramForm_btnOK_Click_Path_can_t_be_empty_" xml:space="preserve">
|
||||
<value>Path can't be empty.</value>
|
||||
</data>
|
||||
|
@ -505,8 +505,8 @@ Please run ShareX as administrator to change personal folder path.</value>
|
|||
<data name="TaskHelpers_OpenFTPClient_FTP_client_only_supports_FTP_or_FTPS_" xml:space="preserve">
|
||||
<value>FTP client only supports FTP or FTPS.</value>
|
||||
</data>
|
||||
<data name="arrow_090" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\arrow-090.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="layers_arrange" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\layers-arrange.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="WatchFolderForm_btnPathBrowse_Click_Choose_folder_path" xml:space="preserve">
|
||||
<value>Choose folder path</value>
|
||||
|
@ -521,6 +521,9 @@ Would you like to restart ShareX?</value>
|
|||
<data name="layer_shape" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\layer-shape.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="eraser" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\eraser.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="image_pencil" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\image--pencil.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
@ -533,6 +536,9 @@ Would you like to restart ShareX?</value>
|
|||
<data name="cn" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\cn.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="categories" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\categories.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="FileExistForm_txtNewName_TextChanged_Use_new_name__" xml:space="preserve">
|
||||
<value>Use new name: </value>
|
||||
</data>
|
||||
|
@ -569,8 +575,8 @@ Would you like to restart ShareX?</value>
|
|||
<data name="folder_tree" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\folder-tree.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="AboutForm_AboutForm_Translators" xml:space="preserve">
|
||||
<value>Translators</value>
|
||||
<data name="arrow_270" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\arrow-270.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="layer" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\layer.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
|
@ -578,9 +584,6 @@ Would you like to restart ShareX?</value>
|
|||
<data name="ruler_triangle" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\ruler-triangle.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="BeforeUploadForm_BeforeUploadForm__0__is_about_to_be_uploaded_to__1___You_may_choose_a_different_destination_" xml:space="preserve">
|
||||
<value>{0} is about to be uploaded to {1}. You may choose a different destination.</value>
|
||||
</data>
|
||||
<data name="AutoCaptureForm_Execute_Start" xml:space="preserve">
|
||||
<value>Start</value>
|
||||
</data>
|
||||
|
@ -605,11 +608,8 @@ Would you like to restart ShareX?</value>
|
|||
<data name="clipboard" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\clipboard.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="barcode_2d" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\barcode-2d.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="gear" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\gear.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="Program_Run_Unable_to_create_folder_" xml:space="preserve">
|
||||
<value>Unable to create folder:</value>
|
||||
</data>
|
||||
<data name="ApplicationSettingsForm_btnBrowseCustomScreenshotsPath_Click_Choose_screenshots_folder_path" xml:space="preserve">
|
||||
<value>Choose screenshots folder path</value>
|
||||
|
@ -620,11 +620,8 @@ Would you like to restart ShareX?</value>
|
|||
<data name="film" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\film.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="ScreenColorPicker_ScreenColorPicker_Close" xml:space="preserve">
|
||||
<value>Close</value>
|
||||
</data>
|
||||
<data name="RecentManager_UpdateRecentMenu_Left_click_to_copy_URL_to_clipboard__Right_click_to_open_URL_" xml:space="preserve">
|
||||
<value>Left click to copy URL to clipboard. Right click to open URL.</value>
|
||||
<data name="arrow_090" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\arrow-090.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="clipboard_list" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\clipboard-list.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
|
@ -641,8 +638,8 @@ Would you like to restart ShareX?</value>
|
|||
<data name="UploadManager_UploadFile_File_upload" xml:space="preserve">
|
||||
<value>File upload</value>
|
||||
</data>
|
||||
<data name="ScreenColorPicker_UpdateControls_Start_screen_color_picker" xml:space="preserve">
|
||||
<value>Start screen color picker</value>
|
||||
<data name="cross" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\cross.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="navigation_000_button" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\navigation-000-button.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
|
@ -657,9 +654,6 @@ Would you like to restart ShareX?</value>
|
|||
<value>Download failed:
|
||||
{0}</value>
|
||||
</data>
|
||||
<data name="TaskSettingsForm_UpdateUploaderMenuNames_After_upload___0_" xml:space="preserve">
|
||||
<value>After upload: {0}</value>
|
||||
</data>
|
||||
<data name="layer_shape_ellipse" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\layer-shape-ellipse.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
@ -690,8 +684,8 @@ Would you like to restart ShareX?</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=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="checkbox_check" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\checkbox_check.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="toolbox" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\toolbox.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="UploadTask_OnUploadCompleted_Stopped" xml:space="preserve">
|
||||
<value>Stopped</value>
|
||||
|
@ -708,18 +702,21 @@ Would you like to restart ShareX?</value>
|
|||
<data name="ChromeForm_btnUnregister_Click_Chrome_support_disabled_" xml:space="preserve">
|
||||
<value>Chrome support disabled.</value>
|
||||
</data>
|
||||
<data name="cross" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\cross.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="AboutForm_AboutForm_Issues" xml:space="preserve">
|
||||
<value>Issues</value>
|
||||
</data>
|
||||
<data name="ChromeForm_btnRegister_Click_Chrome_support_enabled_" xml:space="preserve">
|
||||
<value>Chrome support enabled.</value>
|
||||
</data>
|
||||
<data name="layer_transparent" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\layer-transparent.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="ScreenColorPicker_ScreenColorPicker_Close" xml:space="preserve">
|
||||
<value>Close</value>
|
||||
</data>
|
||||
<data name="wrench_screwdriver" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\wrench-screwdriver.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="application_browser" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\application-browser.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="ErrorSound" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\ErrorSound.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
|
@ -729,8 +726,8 @@ Would you like to restart ShareX?</value>
|
|||
<data name="MainForm_tsmiTestTextUpload_Click_Text_upload_test" xml:space="preserve">
|
||||
<value>Text upload test</value>
|
||||
</data>
|
||||
<data name="application_browser" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\application-browser.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="application_task" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\application-task.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="notebook" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\notebook.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
|
@ -747,6 +744,9 @@ Would you like to restart ShareX?</value>
|
|||
<data name="UploadTask_DownloadAndUpload_Downloading" xml:space="preserve">
|
||||
<value>Downloading</value>
|
||||
</data>
|
||||
<data name="gear" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\gear.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="TaskHelpers_OpenImageEditor_Image_editor___How_to_load_image_" xml:space="preserve">
|
||||
<value>Image editor - How to load image?</value>
|
||||
</data>
|
||||
|
@ -768,20 +768,23 @@ Would you like to restart ShareX?</value>
|
|||
<data name="RoundedRectangle" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\RoundedRectangle.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="monitor" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\monitor.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="TaskHelpers_TweetMessage_Unable_to_find_valid_Twitter_account_" xml:space="preserve">
|
||||
<value>Unable to find valid Twitter account.</value>
|
||||
</data>
|
||||
<data name="BeforeUploadForm_BeforeUploadForm__0__is_about_to_be_uploaded_to__1___You_may_choose_a_different_destination_" xml:space="preserve">
|
||||
<value>{0} is about to be uploaded to {1}. You may choose a different destination.</value>
|
||||
</data>
|
||||
<data name="AboutForm_AboutForm_Website" xml:space="preserve">
|
||||
<value>Website</value>
|
||||
</data>
|
||||
<data name="categories" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\categories.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="pencil" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\pencil.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="layers_arrange" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\layers-arrange.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="TaskSettingsForm_UpdateUploaderMenuNames_After_upload___0_" xml:space="preserve">
|
||||
<value>After upload: {0}</value>
|
||||
</data>
|
||||
<data name="eraser" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\eraser.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="barcode_2d" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\barcode-2d.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Fullscreen" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Fullscreen.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
|
@ -799,10 +802,10 @@ Would you like to restart ShareX?</value>
|
|||
<data name="ScreenRecordForm_DownloaderForm_InstallRequested_Download_of_FFmpeg_failed_" xml:space="preserve">
|
||||
<value>Download of FFmpeg failed.</value>
|
||||
</data>
|
||||
<data name="TaskHelpers_TweetMessage_Unable_to_find_valid_Twitter_account_" xml:space="preserve">
|
||||
<value>Unable to find valid Twitter account.</value>
|
||||
<data name="ScreenColorPicker_UpdateControls_Start_screen_color_picker" xml:space="preserve">
|
||||
<value>Start screen color picker</value>
|
||||
</data>
|
||||
<data name="ui_scroll_pane_image" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\ui-scroll-pane-image.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="document-break" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\document-break.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
BIN
ShareX/Resources/document-break.png
Normal file
BIN
ShareX/Resources/document-break.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 485 B |
|
@ -166,6 +166,12 @@
|
|||
<DependentUpon>AboutForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Enums.cs" />
|
||||
<Compile Include="Forms\ImageCombinerForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\ImageCombinerForm.Designer.cs">
|
||||
<DependentUpon>ImageCombinerForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\ScreenColorPicker.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
@ -178,6 +184,7 @@
|
|||
<Compile Include="Forms\FirstTimeConfigForm.Designer.cs">
|
||||
<DependentUpon>FirstTimeConfigForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ImageCombinerOptions.cs" />
|
||||
<Compile Include="IntegrationHelpers.cs" />
|
||||
<Compile Include="ScreenRecordManager.cs" />
|
||||
<Compile Include="Forms\ScreenRecordForm.cs">
|
||||
|
@ -647,6 +654,9 @@
|
|||
<EmbeddedResource Include="Forms\HotkeySettingsForm.zh-CN.resx">
|
||||
<DependentUpon>HotkeySettingsForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\ImageCombinerForm.resx">
|
||||
<DependentUpon>ImageCombinerForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\MainForm.de.resx">
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
@ -1068,6 +1078,7 @@
|
|||
<None Include="Resources\ru.png" />
|
||||
<None Include="Resources\CompanionCube.png" />
|
||||
<None Include="Resources\ui-scroll-pane-image.png" />
|
||||
<None Include="Resources\document-break.png" />
|
||||
<Content Include="ShareX_Icon.ico" />
|
||||
<None Include="Resources\globe--pencil.png" />
|
||||
<None Include="Resources\camcorder--pencil.png" />
|
||||
|
|
|
@ -584,6 +584,13 @@ public static void OpenIndexFolder()
|
|||
UploadManager.IndexFolder();
|
||||
}
|
||||
|
||||
public static void OpenImageCombiner(TaskSettings taskSettings = null)
|
||||
{
|
||||
if (taskSettings == null) taskSettings = TaskSettings.GetDefaultTaskSettings();
|
||||
|
||||
new ImageCombinerForm(taskSettings.ToolsSettingsReference.ImageCombinerOptions).Show();
|
||||
}
|
||||
|
||||
public static void OpenVideoThumbnailer(TaskSettings taskSettings = null)
|
||||
{
|
||||
if (taskSettings == null) taskSettings = TaskSettings.GetDefaultTaskSettings();
|
||||
|
|
|
@ -364,6 +364,7 @@ public class TaskSettingsUpload
|
|||
public class TaskSettingsTools
|
||||
{
|
||||
public IndexerSettings IndexerSettings = new IndexerSettings();
|
||||
public ImageCombinerOptions ImageCombinerOptions = new ImageCombinerOptions();
|
||||
public VideoThumbnailOptions VideoThumbnailOptions = new VideoThumbnailOptions();
|
||||
public IRCInfo IRCSettings = new IRCInfo();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue