mirror of
https://github.com/greenshot/greenshot
synced 2025-07-12 08:07:05 -07:00
Renamed the GreenshotPlugin to Greenshot.Base
This commit is contained in:
parent
e8c0b307ee
commit
79cdca03eb
423 changed files with 30044 additions and 30000 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
Source: {#ReleaseDir}\Greenshot.exe; DestDir: {app}; Components: greenshot; Flags: overwritereadonly ignoreversion replacesameversion
|
Source: {#ReleaseDir}\Greenshot.exe; DestDir: {app}; Components: greenshot; Flags: overwritereadonly ignoreversion replacesameversion
|
||||||
Source: {#ReleaseDir}\GreenshotPlugin.dll; DestDir: {app}; Components: greenshot; Flags: overwritereadonly ignoreversion replacesameversion
|
Source: {#ReleaseDir}\Greenshot.Base.dll; DestDir: {app}; Components: greenshot; Flags: overwritereadonly ignoreversion replacesameversion
|
||||||
Source: {#ReleaseDir}\Greenshot.exe.config; DestDir: {app}; Components: greenshot; Flags: overwritereadonly ignoreversion replacesameversion
|
Source: {#ReleaseDir}\Greenshot.exe.config; DestDir: {app}; Components: greenshot; Flags: overwritereadonly ignoreversion replacesameversion
|
||||||
Source: {#ReleaseDir}\log4net.dll; DestDir: {app}; Components: greenshot; Flags: overwritereadonly ignoreversion replacesameversion
|
Source: {#ReleaseDir}\log4net.dll; DestDir: {app}; Components: greenshot; Flags: overwritereadonly ignoreversion replacesameversion
|
||||||
Source: {#ReleaseDir}\Dapplo.Http*.dll; DestDir: {app}; Components: greenshot; Flags: overwritereadonly ignoreversion replacesameversion
|
Source: {#ReleaseDir}\Dapplo.Http*.dll; DestDir: {app}; Components: greenshot; Flags: overwritereadonly ignoreversion replacesameversion
|
||||||
|
|
|
@ -21,11 +21,11 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using GreenshotPlugin.UnmanagedHelpers;
|
using Greenshot.Base.UnmanagedHelpers;
|
||||||
using GreenshotPlugin.UnmanagedHelpers.Enums;
|
using Greenshot.Base.UnmanagedHelpers.Enums;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extend this Form to have the possibility for animations on your form
|
/// Extend this Form to have the possibility for animations on your form
|
|
@ -18,7 +18,7 @@
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
partial class BackgroundForm
|
partial class BackgroundForm
|
||||||
{
|
{
|
|
@ -22,9 +22,9 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using GreenshotPlugin.Core;
|
using Greenshot.Base.Core;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of PleaseWaitForm.
|
/// Description of PleaseWaitForm.
|
|
@ -21,9 +21,9 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using GreenshotPlugin.Interop;
|
using Greenshot.Base.Interop;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
public class ExtendedWebBrowser : WebBrowser
|
public class ExtendedWebBrowser : WebBrowser
|
||||||
{
|
{
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// FormWithoutActivation is exactly like a normal form, but doesn't activate (steal focus)
|
/// FormWithoutActivation is exactly like a normal form, but doesn't activate (steal focus)
|
|
@ -22,7 +22,7 @@
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
public class GreenshotButton : Button, IGreenshotLanguageBindable
|
public class GreenshotButton : Button, IGreenshotLanguageBindable
|
||||||
{
|
{
|
|
@ -22,7 +22,7 @@
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of GreenshotCheckbox.
|
/// Description of GreenshotCheckbox.
|
|
@ -22,7 +22,7 @@
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This class is an implementation of the 'IComparer' interface.
|
/// This class is an implementation of the 'IComparer' interface.
|
|
@ -22,9 +22,9 @@
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using GreenshotPlugin.Core;
|
using Greenshot.Base.Core;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
public class GreenshotComboBox : ComboBox, IGreenshotConfigBindable
|
public class GreenshotComboBox : ComboBox, IGreenshotConfigBindable
|
||||||
{
|
{
|
|
@ -21,16 +21,16 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Windows.Forms;
|
|
||||||
using System.Reflection;
|
|
||||||
using GreenshotPlugin.Core;
|
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.ComponentModel.Design;
|
using System.ComponentModel.Design;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using GreenshotPlugin.IniFile;
|
using System.Reflection;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using Greenshot.Base.Core;
|
||||||
|
using Greenshot.Base.IniFile;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This form is used for automatically binding the elements of the form to the language
|
/// This form is used for automatically binding the elements of the form to the language
|
|
@ -19,10 +19,10 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System.Windows.Forms;
|
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
public class GreenshotGroupBox : GroupBox, IGreenshotLanguageBindable
|
public class GreenshotGroupBox : GroupBox, IGreenshotLanguageBindable
|
||||||
{
|
{
|
|
@ -19,10 +19,10 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System.Windows.Forms;
|
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
public class GreenshotLabel : Label, IGreenshotLanguageBindable
|
public class GreenshotLabel : Label, IGreenshotLanguageBindable
|
||||||
{
|
{
|
|
@ -22,7 +22,7 @@
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of GreenshotCheckbox.
|
/// Description of GreenshotCheckbox.
|
|
@ -19,10 +19,10 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System.Windows.Forms;
|
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
public class GreenshotTabPage : TabPage, IGreenshotLanguageBindable
|
public class GreenshotTabPage : TabPage, IGreenshotLanguageBindable
|
||||||
{
|
{
|
|
@ -22,7 +22,7 @@
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
public class GreenshotTextBox : TextBox, IGreenshotConfigBindable
|
public class GreenshotTextBox : TextBox, IGreenshotConfigBindable
|
||||||
{
|
{
|
|
@ -22,7 +22,7 @@
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
public class GreenshotToolStripDropDownButton : ToolStripDropDownButton, IGreenshotLanguageBindable
|
public class GreenshotToolStripDropDownButton : ToolStripDropDownButton, IGreenshotLanguageBindable
|
||||||
{
|
{
|
|
@ -22,7 +22,7 @@
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
public class GreenshotToolStripButton : ToolStripButton, IGreenshotLanguageBindable
|
public class GreenshotToolStripButton : ToolStripButton, IGreenshotLanguageBindable
|
||||||
{
|
{
|
|
@ -19,10 +19,10 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System.Windows.Forms;
|
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
public class GreenshotToolStripLabel : ToolStripLabel, IGreenshotLanguageBindable
|
public class GreenshotToolStripLabel : ToolStripLabel, IGreenshotLanguageBindable
|
||||||
{
|
{
|
|
@ -22,7 +22,7 @@
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
public class GreenshotToolStripMenuItem : ToolStripMenuItem, IGreenshotLanguageBindable
|
public class GreenshotToolStripMenuItem : ToolStripMenuItem, IGreenshotLanguageBindable
|
||||||
{
|
{
|
|
@ -25,11 +25,11 @@ using System.Diagnostics.CodeAnalysis;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
using Greenshot.Base.Core;
|
||||||
|
using Greenshot.Base.Interfaces.Plugin;
|
||||||
using log4net;
|
using log4net;
|
||||||
using GreenshotPlugin.Core;
|
|
||||||
using GreenshotPlugin.Interfaces.Plugin;
|
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A simple control that allows the user to select pretty much any valid hotkey combination
|
/// A simple control that allows the user to select pretty much any valid hotkey combination
|
|
@ -19,7 +19,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
public interface IGreenshotConfigBindable
|
public interface IGreenshotConfigBindable
|
||||||
{
|
{
|
|
@ -19,7 +19,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This interface describes the designer fields that need to be implemented for Greenshot controls
|
/// This interface describes the designer fields that need to be implemented for Greenshot controls
|
|
@ -18,7 +18,7 @@
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
namespace GreenshotPlugin.Controls {
|
namespace Greenshot.Base.Controls {
|
||||||
partial class OAuthLoginForm {
|
partial class OAuthLoginForm {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
|
@ -23,10 +23,10 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using GreenshotPlugin.Core;
|
using Greenshot.Base.Core;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The OAuthLoginForm is used to allow the user to authorize Greenshot with an "Oauth" application
|
/// The OAuthLoginForm is used to allow the user to authorize Greenshot with an "Oauth" application
|
|
@ -18,7 +18,7 @@
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
namespace GreenshotPlugin.Controls {
|
namespace Greenshot.Base.Controls {
|
||||||
partial class PleaseWaitForm {
|
partial class PleaseWaitForm {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Designer variable used to keep track of non-visual components.
|
/// Designer variable used to keep track of non-visual components.
|
|
@ -20,12 +20,12 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Windows.Forms;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using GreenshotPlugin.Core;
|
using System.Windows.Forms;
|
||||||
|
using Greenshot.Base.Core;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of PleaseWaitForm.
|
/// Description of PleaseWaitForm.
|
|
@ -18,7 +18,7 @@
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
namespace GreenshotPlugin.Controls {
|
namespace Greenshot.Base.Controls {
|
||||||
partial class QualityDialog {
|
partial class QualityDialog {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Designer variable used to keep track of non-visual components.
|
/// Designer variable used to keep track of non-visual components.
|
||||||
|
@ -46,11 +46,11 @@ namespace GreenshotPlugin.Controls {
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.label_choosejpegquality = new GreenshotPlugin.Controls.GreenshotLabel();
|
this.label_choosejpegquality = new GreenshotLabel();
|
||||||
this.textBoxJpegQuality = new System.Windows.Forms.TextBox();
|
this.textBoxJpegQuality = new System.Windows.Forms.TextBox();
|
||||||
this.trackBarJpegQuality = new System.Windows.Forms.TrackBar();
|
this.trackBarJpegQuality = new System.Windows.Forms.TrackBar();
|
||||||
this.checkbox_dontaskagain = new GreenshotPlugin.Controls.GreenshotCheckBox();
|
this.checkbox_dontaskagain = new GreenshotCheckBox();
|
||||||
this.button_ok = new GreenshotPlugin.Controls.GreenshotButton();
|
this.button_ok = new GreenshotButton();
|
||||||
this.checkBox_reduceColors = new System.Windows.Forms.CheckBox();
|
this.checkBox_reduceColors = new System.Windows.Forms.CheckBox();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.trackBarJpegQuality)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.trackBarJpegQuality)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
|
@ -137,11 +137,11 @@ namespace GreenshotPlugin.Controls {
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
}
|
}
|
||||||
private GreenshotPlugin.Controls.GreenshotButton button_ok;
|
private GreenshotButton button_ok;
|
||||||
private GreenshotPlugin.Controls.GreenshotCheckBox checkbox_dontaskagain;
|
private GreenshotCheckBox checkbox_dontaskagain;
|
||||||
private System.Windows.Forms.TrackBar trackBarJpegQuality;
|
private System.Windows.Forms.TrackBar trackBarJpegQuality;
|
||||||
private System.Windows.Forms.TextBox textBoxJpegQuality;
|
private System.Windows.Forms.TextBox textBoxJpegQuality;
|
||||||
private GreenshotPlugin.Controls.GreenshotLabel label_choosejpegquality;
|
private GreenshotLabel label_choosejpegquality;
|
||||||
private System.Windows.Forms.CheckBox checkBox_reduceColors;
|
private System.Windows.Forms.CheckBox checkBox_reduceColors;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -20,11 +20,11 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using GreenshotPlugin.Core;
|
using Greenshot.Base.Core;
|
||||||
using GreenshotPlugin.IniFile;
|
using Greenshot.Base.IniFile;
|
||||||
using GreenshotPlugin.Interfaces.Plugin;
|
using Greenshot.Base.Interfaces.Plugin;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of JpegQualityDialog.
|
/// Description of JpegQualityDialog.
|
|
@ -22,12 +22,12 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using GreenshotPlugin.Core;
|
using Greenshot.Base.Core;
|
||||||
using GreenshotPlugin.IniFile;
|
using Greenshot.Base.IniFile;
|
||||||
using GreenshotPlugin.Interfaces;
|
using Greenshot.Base.Interfaces;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Custom dialog for saving images, wraps SaveFileDialog.
|
/// Custom dialog for saving images, wraps SaveFileDialog.
|
|
@ -20,16 +20,15 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Windows.Forms;
|
|
||||||
using GreenshotPlugin.Core;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using GreenshotPlugin.Core.Enums;
|
using System.Windows.Forms;
|
||||||
using GreenshotPlugin.IniFile;
|
using Greenshot.Base.Core;
|
||||||
using GreenshotPlugin.UnmanagedHelpers;
|
using Greenshot.Base.IniFile;
|
||||||
using GreenshotPlugin.UnmanagedHelpers.Enums;
|
using Greenshot.Base.UnmanagedHelpers;
|
||||||
using GreenshotPlugin.UnmanagedHelpers.Structs;
|
using Greenshot.Base.UnmanagedHelpers.Enums;
|
||||||
|
using Greenshot.Base.UnmanagedHelpers.Structs;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls
|
namespace Greenshot.Base.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This form allows us to show a Thumbnail preview of a window near the context menu when selecting a window to capture.
|
/// This form allows us to show a Thumbnail preview of a window near the context menu when selecting a window to capture.
|
|
@ -24,12 +24,12 @@ using System.Collections.Generic;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using GreenshotPlugin.IniFile;
|
using Greenshot.Base.IniFile;
|
||||||
using GreenshotPlugin.Interfaces;
|
using Greenshot.Base.Interfaces;
|
||||||
using GreenshotPlugin.UnmanagedHelpers;
|
using Greenshot.Base.UnmanagedHelpers;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of AbstractDestination.
|
/// Description of AbstractDestination.
|
|
@ -20,9 +20,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using GreenshotPlugin.Interfaces;
|
using Greenshot.Base.Interfaces;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of AbstractProcessor.
|
/// Description of AbstractProcessor.
|
|
@ -24,7 +24,7 @@ using System.Collections.Generic;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using Accessibility;
|
using Accessibility;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// See: http://social.msdn.microsoft.com/Forums/en-US/ieextensiondevelopment/thread/03a8c835-e9e4-405b-8345-6c3d36bc8941
|
/// See: http://social.msdn.microsoft.com/Forums/en-US/ieextensiondevelopment/thread/03a8c835-e9e4-405b-8345-6c3d36bc8941
|
|
@ -20,10 +20,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Drawing;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Helper interface for passing base type
|
/// Helper interface for passing base type
|
|
@ -22,7 +22,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A helper class which does the mashalling for structs
|
/// A helper class which does the mashalling for structs
|
|
@ -24,7 +24,7 @@ using System.Collections.Generic;
|
||||||
using System.Timers;
|
using System.Timers;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Cache class
|
/// Cache class
|
|
@ -22,11 +22,11 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Imaging;
|
using System.Drawing.Imaging;
|
||||||
using GreenshotPlugin.Interfaces;
|
using Greenshot.Base.Interfaces;
|
||||||
using GreenshotPlugin.Interfaces.Ocr;
|
using Greenshot.Base.Interfaces.Ocr;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This class is used to pass an instance of the "Capture" around
|
/// This class is used to pass an instance of the "Capture" around
|
|
@ -21,10 +21,10 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using GreenshotPlugin.Interfaces;
|
using Greenshot.Base.Interfaces;
|
||||||
using GreenshotPlugin.Interfaces.Ocr;
|
using Greenshot.Base.Interfaces.Ocr;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This Class is used to pass details about the capture around.
|
/// This Class is used to pass details about the capture around.
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This is the method signature which is used to capture a rectangle from the screen.
|
/// This is the method signature which is used to capture a rectangle from the screen.
|
|
@ -26,19 +26,18 @@ using System.Drawing;
|
||||||
using System.Drawing.Imaging;
|
using System.Drawing.Imaging;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using GreenshotPlugin.UnmanagedHelpers;
|
using Greenshot.Base.IniFile;
|
||||||
using System.Runtime.InteropServices;
|
using Greenshot.Base.Interfaces;
|
||||||
using GreenshotPlugin.IniFile;
|
using Greenshot.Base.Interfaces.Plugin;
|
||||||
using GreenshotPlugin.Interfaces;
|
using Greenshot.Base.UnmanagedHelpers;
|
||||||
using GreenshotPlugin.Interfaces.Plugin;
|
|
||||||
using GreenshotPlugin.Interop;
|
|
||||||
using log4net;
|
using log4net;
|
||||||
using HtmlDocument = HtmlAgilityPack.HtmlDocument;
|
using HtmlDocument = HtmlAgilityPack.HtmlDocument;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of ClipboardHelper.
|
/// Description of ClipboardHelper.
|
|
@ -26,10 +26,10 @@ using System.Drawing;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using GreenshotPlugin.IniFile;
|
using Greenshot.Base.IniFile;
|
||||||
using GreenshotPlugin.Interfaces;
|
using Greenshot.Base.Interfaces;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
public enum ClipboardFormat
|
public enum ClipboardFormat
|
||||||
{
|
{
|
|
@ -26,7 +26,7 @@ using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The following code comes from: http://www.developerfusion.com/code/4693/using-the-credential-management-api/
|
/// The following code comes from: http://www.developerfusion.com/code/4693/using-the-credential-management-api/
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
[AttributeUsage(AttributeTargets.Field)]
|
[AttributeUsage(AttributeTargets.Field)]
|
||||||
public sealed class DisplayKeyAttribute : Attribute
|
public sealed class DisplayKeyAttribute : Attribute
|
|
@ -19,15 +19,15 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using GreenshotPlugin.Core.Enums;
|
|
||||||
using GreenshotPlugin.UnmanagedHelpers;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using GreenshotPlugin.UnmanagedHelpers.Enums;
|
using Greenshot.Base.Core.Enums;
|
||||||
using GreenshotPlugin.UnmanagedHelpers.Structs;
|
using Greenshot.Base.UnmanagedHelpers;
|
||||||
|
using Greenshot.Base.UnmanagedHelpers.Enums;
|
||||||
|
using Greenshot.Base.UnmanagedHelpers.Structs;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This handles DPI changes see
|
/// This handles DPI changes see
|
|
@ -3,9 +3,9 @@ using System.ComponentModel;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using GreenshotPlugin.Effects;
|
using Greenshot.Base.Effects;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
public class EffectConverter : TypeConverter
|
public class EffectConverter : TypeConverter
|
||||||
{
|
{
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core.Enums
|
namespace Greenshot.Base.Core.Enums
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The HRESULT represents Windows error codes
|
/// The HRESULT represents Windows error codes
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core.Enums
|
namespace Greenshot.Base.Core.Enums
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// See
|
/// See
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core.Enums
|
namespace Greenshot.Base.Core.Enums
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Flags for the MonitorFromRect / MonitorFromWindow "flags" field
|
/// Flags for the MonitorFromRect / MonitorFromWindow "flags" field
|
|
@ -23,11 +23,11 @@ using System;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using GreenshotPlugin.IniFile;
|
using Greenshot.Base.IniFile;
|
||||||
using GreenshotPlugin.UnmanagedHelpers;
|
using Greenshot.Base.UnmanagedHelpers;
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of EnvironmentInfo.
|
/// Description of EnvironmentInfo.
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
public class EventDelay
|
public class EventDelay
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Simple utility for the explorer
|
/// Simple utility for the explorer
|
|
@ -24,7 +24,7 @@ using System.Collections.Generic;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Imaging;
|
using System.Drawing.Imaging;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The interface for the FastBitmap
|
/// The interface for the FastBitmap
|
|
@ -21,15 +21,15 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
using Greenshot.Base.IniFile;
|
||||||
|
using Greenshot.Base.Interfaces;
|
||||||
using log4net;
|
using log4net;
|
||||||
using System.Collections.Generic;
|
|
||||||
using GreenshotPlugin.IniFile;
|
|
||||||
using GreenshotPlugin.Interfaces;
|
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
public static class FilenameHelper
|
public static class FilenameHelper
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Basic Fraction (Rational) numbers with features only needed to represent scale factors.
|
/// Basic Fraction (Rational) numbers with features only needed to represent scale factors.
|
|
@ -22,7 +22,7 @@
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Centralized storage of the icons & bitmaps
|
/// Centralized storage of the icons & bitmaps
|
|
@ -17,10 +17,10 @@
|
||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
using GreenshotPlugin.Core.Enums;
|
|
||||||
using System.Diagnostics.Contracts;
|
using System.Diagnostics.Contracts;
|
||||||
|
using Greenshot.Base.Core.Enums;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extensions to handle the HResult
|
/// Extensions to handle the HResult
|
|
@ -26,7 +26,7 @@ using System.Reflection;
|
||||||
using log4net;
|
using log4net;
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of IEHelper.
|
/// Description of IEHelper.
|
|
@ -23,7 +23,7 @@ using System;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Imaging;
|
using System.Drawing.Imaging;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The image interface, this abstracts an image
|
/// The image interface, this abstracts an image
|
|
@ -25,13 +25,13 @@ using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using System.Drawing.Imaging;
|
using System.Drawing.Imaging;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using GreenshotPlugin.UnmanagedHelpers;
|
using Greenshot.Base.Effects;
|
||||||
using GreenshotPlugin.Effects;
|
using Greenshot.Base.IniFile;
|
||||||
using GreenshotPlugin.IniFile;
|
using Greenshot.Base.Interfaces;
|
||||||
using GreenshotPlugin.Interfaces;
|
using Greenshot.Base.UnmanagedHelpers;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
internal enum ExifOrientations : byte
|
internal enum ExifOrientations : byte
|
||||||
{
|
{
|
|
@ -19,8 +19,6 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using GreenshotPlugin.Controls;
|
|
||||||
using log4net;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
@ -33,12 +31,14 @@ using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using GreenshotPlugin.IniFile;
|
using Greenshot.Base.Controls;
|
||||||
using GreenshotPlugin.Interfaces;
|
using Greenshot.Base.IniFile;
|
||||||
using GreenshotPlugin.Interfaces.Plugin;
|
using Greenshot.Base.Interfaces;
|
||||||
|
using Greenshot.Base.Interfaces.Plugin;
|
||||||
|
using log4net;
|
||||||
using Encoder = System.Drawing.Imaging.Encoder;
|
using Encoder = System.Drawing.Imaging.Encoder;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of ImageOutput.
|
/// Description of ImageOutput.
|
|
@ -1,7 +1,7 @@
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Imaging;
|
using System.Drawing.Imaging;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Wrap an image, make it resizeable
|
/// Wrap an image, make it resizeable
|
|
@ -24,7 +24,7 @@ using System.Collections.Generic;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of InterfaceUtils.
|
/// Description of InterfaceUtils.
|
|
@ -12,7 +12,7 @@ using System.Collections.Generic;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This parses a JSON response, a modified version of the code found at:
|
/// This parses a JSON response, a modified version of the code found at:
|
|
@ -25,11 +25,11 @@ using System.IO;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Xml;
|
using System.Xml;
|
||||||
using GreenshotPlugin.IniFile;
|
using Greenshot.Base.IniFile;
|
||||||
using log4net;
|
using log4net;
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This class supplies the GUI with translations, based upon keys.
|
/// This class supplies the GUI with translations, based upon keys.
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
public delegate void LanguageChangedHandler(object sender, EventArgs e);
|
public delegate void LanguageChangedHandler(object sender, EventArgs e);
|
||||||
}
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This class contains the information about a language file
|
/// This class contains the information about a language file
|
|
@ -19,18 +19,18 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
using Greenshot.Base.IniFile;
|
||||||
using log4net;
|
using log4net;
|
||||||
using log4net.Appender;
|
using log4net.Appender;
|
||||||
using log4net.Config;
|
using log4net.Config;
|
||||||
using log4net.Repository.Hierarchy;
|
using log4net.Repository.Hierarchy;
|
||||||
using System;
|
|
||||||
using GreenshotPlugin.IniFile;
|
|
||||||
using log4net.Util;
|
using log4net.Util;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initialize the logger
|
/// Initialize the logger
|
|
@ -19,7 +19,6 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using log4net;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
@ -28,11 +27,12 @@ using System.IO;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using GreenshotPlugin.IniFile;
|
using Greenshot.Base.IniFile;
|
||||||
using GreenshotPlugin.Interfaces;
|
using Greenshot.Base.Interfaces;
|
||||||
using GreenshotPlugin.Interfaces.Plugin;
|
using Greenshot.Base.Interfaces.Plugin;
|
||||||
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// HTTP Method to make sure we have the correct method
|
/// HTTP Method to make sure we have the correct method
|
|
@ -30,7 +30,7 @@ using System.Threading;
|
||||||
using log4net;
|
using log4net;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core.OAuth
|
namespace Greenshot.Base.Core.OAuth
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// OAuth 2.0 verification code receiver that runs a local server on a free port
|
/// OAuth 2.0 verification code receiver that runs a local server on a free port
|
|
@ -29,7 +29,7 @@ using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core.OAuth
|
namespace Greenshot.Base.Core.OAuth
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// OAuth 2.0 verification code receiver that runs a local server on a free port
|
/// OAuth 2.0 verification code receiver that runs a local server on a free port
|
|
@ -19,7 +19,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core.OAuth
|
namespace Greenshot.Base.Core.OAuth
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Specify the authorize mode that is used to get the token from the cloud service.
|
/// Specify the authorize mode that is used to get the token from the cloud service.
|
|
@ -23,9 +23,9 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using GreenshotPlugin.Controls;
|
using Greenshot.Base.Controls;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core.OAuth
|
namespace Greenshot.Base.Core.OAuth
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Code to simplify OAuth 2
|
/// Code to simplify OAuth 2
|
|
@ -23,7 +23,7 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core.OAuth
|
namespace Greenshot.Base.Core.OAuth
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Settings for the OAuth 2 protocol
|
/// Settings for the OAuth 2 protocol
|
|
@ -27,10 +27,10 @@ using System.Net;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using GreenshotPlugin.Controls;
|
using Greenshot.Base.Controls;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core.OAuth
|
namespace Greenshot.Base.Core.OAuth
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An OAuth 1 session object
|
/// An OAuth 1 session object
|
|
@ -19,7 +19,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core.OAuth
|
namespace Greenshot.Base.Core.OAuth
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides a predefined set of algorithms that are supported officially by the OAuth 1.x protocol
|
/// Provides a predefined set of algorithms that are supported officially by the OAuth 1.x protocol
|
|
@ -26,7 +26,7 @@ using System.Reflection;
|
||||||
using System.Runtime.Serialization;
|
using System.Runtime.Serialization;
|
||||||
using System.Runtime.Serialization.Formatters.Binary;
|
using System.Runtime.Serialization.Formatters.Binary;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods which work for objects
|
/// Extension methods which work for objects
|
|
@ -19,18 +19,18 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using GreenshotPlugin.UnmanagedHelpers;
|
|
||||||
using log4net;
|
|
||||||
using Microsoft.Win32;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using GreenshotPlugin.IniFile;
|
using Greenshot.Base.IniFile;
|
||||||
|
using Greenshot.Base.UnmanagedHelpers;
|
||||||
|
using log4net;
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of PluginUtils.
|
/// Description of PluginUtils.
|
|
@ -26,7 +26,7 @@ using System.Drawing;
|
||||||
using System.Drawing.Imaging;
|
using System.Drawing.Imaging;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
internal class WuColorCube
|
internal class WuColorCube
|
||||||
{
|
{
|
|
@ -22,7 +22,7 @@
|
||||||
using System;
|
using System;
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A helper class for accessing the registry
|
/// A helper class for accessing the registry
|
|
@ -1,9 +1,9 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using GreenshotPlugin.Interfaces;
|
using Greenshot.Base.Interfaces;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A really cheap and simple DI system
|
/// A really cheap and simple DI system
|
|
@ -20,14 +20,14 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using log4net;
|
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Collections.Generic;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
public static class StringExtensions
|
public static class StringExtensions
|
||||||
{
|
{
|
|
@ -24,7 +24,7 @@ using System.Drawing.Imaging;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Svg;
|
using Svg;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Create an image look like of the SVG
|
/// Create an image look like of the SVG
|
|
@ -19,8 +19,6 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using GreenshotPlugin.UnmanagedHelpers;
|
|
||||||
using log4net;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
@ -28,11 +26,13 @@ using System.Drawing;
|
||||||
using System.Drawing.Imaging;
|
using System.Drawing.Imaging;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using GreenshotPlugin.IniFile;
|
using Greenshot.Base.IniFile;
|
||||||
using GreenshotPlugin.Interfaces;
|
using Greenshot.Base.Interfaces;
|
||||||
using GreenshotPlugin.UnmanagedHelpers.Structs;
|
using Greenshot.Base.UnmanagedHelpers;
|
||||||
|
using Greenshot.Base.UnmanagedHelpers.Structs;
|
||||||
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The Window Capture code
|
/// The Window Capture code
|
|
@ -2,22 +2,20 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
|
||||||
using System.Drawing.Imaging;
|
using System.Drawing.Imaging;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using GreenshotPlugin.IniFile;
|
using Greenshot.Base.IniFile;
|
||||||
using GreenshotPlugin.Interfaces;
|
using Greenshot.Base.Interfaces;
|
||||||
using GreenshotPlugin.Interop;
|
using Greenshot.Base.Interop;
|
||||||
using GreenshotPlugin.UnmanagedHelpers;
|
using Greenshot.Base.UnmanagedHelpers;
|
||||||
using GreenshotPlugin.UnmanagedHelpers.Enums;
|
using Greenshot.Base.UnmanagedHelpers.Enums;
|
||||||
using GreenshotPlugin.UnmanagedHelpers.Structs;
|
using Greenshot.Base.UnmanagedHelpers.Structs;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Code for handling with "windows"
|
/// Code for handling with "windows"
|
|
@ -19,12 +19,12 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using GreenshotPlugin.UnmanagedHelpers;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using Greenshot.Base.UnmanagedHelpers;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// EnumWindows wrapper for .NET
|
/// EnumWindows wrapper for .NET
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods to test the windows version
|
/// Extension methods to test the windows version
|
|
@ -20,10 +20,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using GreenshotPlugin.UnmanagedHelpers.Enums;
|
using Greenshot.Base.UnmanagedHelpers.Enums;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Core
|
namespace Greenshot.Base.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This IMessageFilter filters out all WM_INPUTLANGCHANGEREQUEST messages which go to a handle which is >32 bits.
|
/// This IMessageFilter filters out all WM_INPUTLANGCHANGEREQUEST messages which go to a handle which is >32 bits.
|
|
@ -21,9 +21,9 @@
|
||||||
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using GreenshotPlugin.Core;
|
using Greenshot.Base.Core;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Effects
|
namespace Greenshot.Base.Effects
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// AdjustEffect
|
/// AdjustEffect
|
|
@ -21,9 +21,9 @@
|
||||||
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using GreenshotPlugin.Core;
|
using Greenshot.Base.Core;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Effects
|
namespace Greenshot.Base.Effects
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// BorderEffect
|
/// BorderEffect
|
|
@ -23,9 +23,9 @@ using System.ComponentModel;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using System.Drawing.Imaging;
|
using System.Drawing.Imaging;
|
||||||
using GreenshotPlugin.Core;
|
using Greenshot.Base.Core;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Effects
|
namespace Greenshot.Base.Effects
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// DropShadowEffect
|
/// DropShadowEffect
|
|
@ -21,9 +21,9 @@
|
||||||
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using GreenshotPlugin.Core;
|
using Greenshot.Base.Core;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Effects
|
namespace Greenshot.Base.Effects
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// GrayscaleEffect
|
/// GrayscaleEffect
|
|
@ -22,7 +22,7 @@
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Effects
|
namespace Greenshot.Base.Effects
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interface to describe an effect
|
/// Interface to describe an effect
|
|
@ -21,9 +21,9 @@
|
||||||
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using GreenshotPlugin.Core;
|
using Greenshot.Base.Core;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Effects
|
namespace Greenshot.Base.Effects
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InvertEffect
|
/// InvertEffect
|
|
@ -21,9 +21,9 @@
|
||||||
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using GreenshotPlugin.Core;
|
using Greenshot.Base.Core;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Effects
|
namespace Greenshot.Base.Effects
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// MonochromeEffect
|
/// MonochromeEffect
|
|
@ -22,10 +22,10 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using GreenshotPlugin.Core;
|
using Greenshot.Base.Core;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Effects
|
namespace Greenshot.Base.Effects
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ReduceColorsEffect
|
/// ReduceColorsEffect
|
|
@ -21,9 +21,9 @@
|
||||||
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using GreenshotPlugin.Core;
|
using Greenshot.Base.Core;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Effects
|
namespace Greenshot.Base.Effects
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ResizeCanvasEffect
|
/// ResizeCanvasEffect
|
|
@ -21,9 +21,9 @@
|
||||||
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using GreenshotPlugin.Core;
|
using Greenshot.Base.Core;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Effects
|
namespace Greenshot.Base.Effects
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ResizeEffect
|
/// ResizeEffect
|
|
@ -22,9 +22,9 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using GreenshotPlugin.Core;
|
using Greenshot.Base.Core;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Effects
|
namespace Greenshot.Base.Effects
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// RotateEffect
|
/// RotateEffect
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue