mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 05:53:27 -07:00
A bit of refactoring to be able to find some issue...
This commit is contained in:
parent
bef29df3db
commit
42cd533862
308 changed files with 2705 additions and 2454 deletions
|
@ -18,11 +18,12 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
|
||||
namespace Greenshot.Plugin {
|
||||
namespace GreenshotPlugin.Interfaces {
|
||||
/// <summary>
|
||||
/// The capture mode for Greenshot
|
||||
/// </summary>
|
||||
|
|
|
@ -23,7 +23,7 @@ using System.Drawing;
|
|||
using System.Drawing.Drawing2D;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Greenshot.Plugin.Drawing.Adorners
|
||||
namespace GreenshotPlugin.Interfaces.Drawing.Adorners
|
||||
{
|
||||
public interface IAdorner
|
||||
{
|
||||
|
|
|
@ -18,17 +18,17 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Drawing.Imaging;
|
||||
using System.Windows.Forms;
|
||||
using System.ComponentModel;
|
||||
using System.Collections.Generic;
|
||||
using GreenshotPlugin.Interfaces.Drawing;
|
||||
using Greenshot.Plugin.Drawing.Adorners;
|
||||
using GreenshotPlugin.Interfaces.Drawing.Adorners;
|
||||
|
||||
namespace Greenshot.Plugin.Drawing
|
||||
namespace GreenshotPlugin.Interfaces.Drawing
|
||||
{
|
||||
public enum RenderMode { EDIT, EXPORT };
|
||||
public enum EditStatus { UNDRAWN, DRAWING, MOVING, RESIZING, IDLE };
|
||||
|
|
|
@ -18,9 +18,10 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System;
|
||||
|
||||
namespace Greenshot.Memento {
|
||||
namespace GreenshotPlugin.Interfaces.Drawing {
|
||||
/// <summary>
|
||||
/// Description of IMemento.
|
||||
/// </summary>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Greenshot.Plugin {
|
||||
namespace GreenshotPlugin.Interfaces.Forms {
|
||||
/// <summary>
|
||||
/// The IImageEditor is the Interface that the Greenshot ImageEditor has to implement
|
||||
/// </summary>
|
||||
|
|
|
@ -19,15 +19,14 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using Greenshot.Memento;
|
||||
using Greenshot.Plugin.Drawing;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
using GreenshotPlugin.Effects;
|
||||
using GreenshotPlugin.Interfaces.Drawing;
|
||||
|
||||
namespace Greenshot.Plugin
|
||||
namespace GreenshotPlugin.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Alignment Enums for possitioning
|
||||
|
|
|
@ -18,12 +18,13 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Greenshot.Plugin {
|
||||
namespace GreenshotPlugin.Interfaces {
|
||||
public class ExportInformation {
|
||||
public ExportInformation(string destinationDesignation, string destinationDescription) {
|
||||
DestinationDesignation = destinationDesignation;
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using Greenshot.Plugin;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Threading.Tasks;
|
||||
|
|
|
@ -18,9 +18,10 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System;
|
||||
|
||||
namespace Greenshot.Plugin {
|
||||
namespace GreenshotPlugin.Interfaces {
|
||||
/// <summary>
|
||||
/// Description of IProcessor.
|
||||
/// </summary>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Greenshot.Plugin
|
||||
namespace GreenshotPlugin.Interfaces.Plugin
|
||||
{
|
||||
public delegate void HotKeyHandler();
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
using System.Drawing;
|
||||
|
||||
namespace Greenshot.Plugin
|
||||
namespace GreenshotPlugin.Interfaces.Plugin
|
||||
{
|
||||
/// <summary>
|
||||
/// This interface is the GreenshotPluginHost, that which "Hosts" the plugin.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
|
||||
namespace Greenshot.Plugin
|
||||
namespace GreenshotPlugin.Interfaces.Plugin
|
||||
{
|
||||
/// <summary>
|
||||
/// This defines the plugin
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Greenshot.Plugin {
|
||||
namespace GreenshotPlugin.Interfaces.Plugin {
|
||||
[Serializable]
|
||||
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
|
||||
public sealed class PluginAttribute : Attribute, IComparable {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
using System.Collections.Generic;
|
||||
using Greenshot.IniFile;
|
||||
using GreenshotPlugin.Core;
|
||||
using GreenshotPlugin.Effects;
|
||||
using GreenshotPlugin.IniFile;
|
||||
|
||||
namespace Greenshot.Plugin
|
||||
namespace GreenshotPlugin.Interfaces.Plugin
|
||||
{
|
||||
public class SurfaceOutputSettings {
|
||||
private static readonly CoreConfiguration CoreConfig = IniConfig.GetIniSection<CoreConfiguration>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue