mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 05:53:27 -07:00
Small cleanups [skip ci]
This commit is contained in:
parent
02a06a12b0
commit
98e6be5eb6
171 changed files with 1607 additions and 1769 deletions
|
@ -18,12 +18,9 @@
|
|||
* 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.Drawing;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using GreenshotPlugin.Core;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Greenshot.Plugin {
|
||||
/// <summary>
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
*/
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Imaging;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using Greenshot.Plugin.Drawing;
|
||||
|
|
|
@ -25,14 +25,14 @@ using System.Windows.Forms;
|
|||
|
||||
namespace Greenshot.Plugin {
|
||||
public class ExportInformation {
|
||||
private string uri = null;
|
||||
private string filepath = null;
|
||||
private string uri;
|
||||
private string filepath;
|
||||
|
||||
private bool exportMade = false;
|
||||
private string destinationDesignation = null;
|
||||
private string destinationDescription = null;
|
||||
private bool exportMade;
|
||||
private readonly string destinationDesignation;
|
||||
private string destinationDescription;
|
||||
|
||||
private string errorMessage = null;
|
||||
private string errorMessage;
|
||||
|
||||
public ExportInformation(string destinationDesignation, string destinationDescription) {
|
||||
this.destinationDesignation = destinationDesignation;
|
||||
|
|
|
@ -19,9 +19,6 @@
|
|||
* 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 {
|
||||
/// <summary>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using GreenshotPlugin.Core;
|
||||
|
@ -76,10 +75,10 @@ namespace Greenshot.Plugin {
|
|||
public delegate void HotKeyHandler();
|
||||
|
||||
public class SurfaceOutputSettings {
|
||||
private static CoreConfiguration conf = IniConfig.GetIniSection<CoreConfiguration>();
|
||||
private static readonly CoreConfiguration conf = IniConfig.GetIniSection<CoreConfiguration>();
|
||||
private bool reduceColors;
|
||||
private bool disableReduceColors;
|
||||
private List<IEffect> effects = new List<IEffect>();
|
||||
private readonly List<IEffect> effects = new List<IEffect>();
|
||||
|
||||
public SurfaceOutputSettings() {
|
||||
disableReduceColors = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue