mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 05:23:24 -07:00
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:
parent
0aa8e43478
commit
5f9deb2f06
67 changed files with 564 additions and 502 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue