Refactoring the interop code to a separate project. Still need to add the interop DLL to the final exe... or maybe I want to use references inside the projects...

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1690 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-03-06 17:45:50 +00:00
commit 5f9deb2f06
67 changed files with 564 additions and 502 deletions

View file

@ -36,7 +36,7 @@ using Greenshot.Help;
using Greenshot.Helpers;
using Greenshot.Plugin;
using GreenshotPlugin.Core;
using IniFile;
using Greenshot.IniFile;
using System.Threading;
using System.Drawing.Imaging;
@ -412,6 +412,19 @@ namespace Greenshot {
updateUndoRedoSurfaceDependencies();
};
effectItem.DropDownItems.Add(effectSubItem);
effectSubItem = new ToolStripMenuItem("Rotate 90");
effectSubItem.Click += delegate {
surface.ApplyBitmapEffect(Effects.Rotate90);
updateUndoRedoSurfaceDependencies();
};
effectItem.DropDownItems.Add(effectSubItem);
effectSubItem = new ToolStripMenuItem("Rotate 270");
effectSubItem.Click += delegate {
surface.ApplyBitmapEffect(Effects.Rotate270);
updateUndoRedoSurfaceDependencies();
};
effectItem.DropDownItems.Add(effectSubItem);
}
this.editToolStripMenuItem.DropDownItems.Add(new ToolStripSeparator());
this.editToolStripMenuItem.DropDownItems.Add(insert_window_toolstripmenuitem);