Removed more dead code

This commit is contained in:
Robin Krom 2021-03-21 23:44:25 +01:00
commit 2bbaa4a9a7
No known key found for this signature in database
GPG key ID: BCC01364F1371490
38 changed files with 66 additions and 943 deletions

View file

@ -24,7 +24,6 @@ using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Windows.Forms;
using GreenshotPlugin.Interfaces.Drawing.Adorners;
@ -213,14 +212,4 @@ namespace GreenshotPlugin.Interfaces.Drawing
}
void Load(string filename);
}
public interface IMetafileContainer : IDrawableContainer
{
Metafile Metafile
{
get;
set;
}
void Load(string filename);
}
}

View file

@ -20,7 +20,6 @@
*/
using System.Drawing;
using System.Windows.Forms;
namespace GreenshotPlugin.Interfaces.Forms {
/// <summary>
@ -34,20 +33,8 @@ namespace GreenshotPlugin.Interfaces.Forms {
/// </summary>
/// <returns>Bitmap</returns>
Image GetImageForExport();
/// <summary>
/// Get the ToolStripMenuItem where plugins can place their Menu entrys
/// </summary>
/// <returns>ToolStripMenuItem</returns>
ToolStripMenuItem GetPluginMenuItem();
/// <summary>
/// Get the File ToolStripMenuItem
/// </summary>
/// <returns>ToolStripMenuItem</returns>
ToolStripMenuItem GetFileMenuItem();
/// <summary>
/// <summary>
/// Make the ICaptureDetails from the current Surface in the EditorForm available.
/// </summary>
ICaptureDetails CaptureDetails {

View file

@ -1,34 +0,0 @@
/*
* Greenshot - a free and open source screenshot tool
* Copyright (C) 2007-2021 Thomas Braun, Jens Klingen, Robin Krom
*
* For more information see: http://getgreenshot.org/
* The Greenshot project is hosted on GitHub https://github.com/greenshot/greenshot
*
* 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 1 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, see <http://www.gnu.org/licenses/>.
*/
namespace GreenshotPlugin.Interfaces
{
/// <summary>
/// Alignment Enums for positioning
/// </summary>
//public enum HorizontalAlignment {LEFT, CENTER, RIGHT};
public enum VerticalAlignment
{
TOP,
CENTER,
BOTTOM
};
}